- Search Energy EXCH
-
RaptorUK replied Sep 3, 2011No you didn't really . . my question was really about all the info you have in GlobalVariables . . . that info is stored by the MT4 terminal, if you HDD goes down it's lost . . unless you are keeping it somewhere else ?
Make EA get custom magic number...will this work?
-
RaptorUK replied Sep 2, 2011Looks like it's back up now . . .
Metaquotes site and server down 24 hours
-
RaptorUK replied Sep 2, 2011My code works . . . just add it in the init() section and declare the MagicNo variable globally . .
Make EA get custom magic number...will this work?
-
RaptorUK replied Sep 2, 2011You could code an Indicator to go through find all the arrows whose name starts with a # and change their properties to make them bigger . . nice little project.
How do you MT4 order arrows larger?
-
RaptorUK replied Sep 2, 2011Did you change it from SetIndexStyle (0, DRAW_ARROW ); to SetIndexStyle (0, Draw_Arrow ); ?? SetIndexStyle (0, DRAW_ARROW ); is correct.
I will code your EAs and Indicators for no charge
-
RaptorUK replied Sep 2, 2011You are most welcome . . . one other thing that catches people out, if you want an EA to trade for you then you need to allow it to do so . . . in MT4 and in the EA Properties
Break even 'EA'?
-
RaptorUK replied Sep 2, 2011It's called learning . . . . you are only an idiot if you don't ask the question.
Break even 'EA'?
-
RaptorUK replied Sep 2, 2011Post your code, tell us what errors you get . ..
I will code your EAs and Indicators for no charge
-
RaptorUK replied Sep 2, 2011If you don't have a line that starts . . SetIndexArrow( . . . . then you need to add one . . such as . . SetIndexArrow( 0, 108); Add it under the line you have posted above . .
I will code your EAs and Indicators for no charge
-
RaptorUK replied Sep 2, 2011Did you copy it to the experts/ folder (not experts/indicators or experts/scripts ) then attach it as an EA ? Did you click the Expert Advisors icon so you get a green arrow instead of a red x ?
Break even 'EA'?
-
RaptorUK replied Sep 2, 2011Does it have a Smiley face, Sad face or X in the top right corner of the chart ?
Break even 'EA'?
-
RaptorUK replied Sep 2, 2011Does it use SetIndexArrow( int index, int code) ?
I will code your EAs and Indicators for no charge
-
RaptorUK replied Sep 2, 2011I think I see what you are doing . . . a question. Imagine your PC's HDD died how would you get your account up and running on a new PC and be able to manage any orders currently open ?
Make EA get custom magic number...will this work?
-
RaptorUK replied Sep 1, 2011How do you determine which orders were placed by which EA ? imagine I have an EA on GBPUSD H4 and another on GBPUSD H1 and a third on USDJPY H1 . . how do I tell which open orders were placed by which EA ?
Make EA get custom magic number...will this work?
-
RaptorUK replied Sep 1, 2011You don't need each pair to have it's own Magic number, you can isolate which pair a trade is from by Doing an OrderSelect() and then checking OrderSymbol(). If you want a simple scheme to generate a Mgic Number per symbol you can use this . . . ...
Make EA get custom magic number...will this work?
-
RaptorUK replied Sep 1, 2011"OrderSend failed with error #134" is because you don't have enough margin for the trade you are trying to place . . do you check for the margin requirement before you try to place the trade ?
Code to work out lot size based on risk
-
RaptorUK replied Sep 1, 2011You are comparing the position size calculated for AUDUSD against USDCZK . . . they WILL be different . . . Run your EA on AUDUSD or run the script on USDCZK
Code to work out lot size based on risk
-
RaptorUK replied Sep 1, 2011I get 1.3825 worked out on a calculator

Code to work out lot size based on risk
-
RaptorUK replied Sep 1, 2011Might help if you said what pair it was for . . . it makes a difference.
Code to work out lot size based on risk
-
RaptorUK replied Sep 1, 2011If you look in the Toolbox of MetaEditor under help you can find all the MQL4 syntax and error messages there . . MQL4 Reference - Standard constants - Error codes
How does expiration on pending order works?