I was wondering if someone could fix the code in this EA. It only works on default settings. If you change the inputs like TP, TS,or SL it still reverts to default.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
EA Modification Request
I was wondering if someone could fix the code in this EA. It only works on default settings. If you change the inputs like TP, TS,or SL it still reverts to default.
Thanks in advance.
Besides we are having two threads about this EA:
- one thread with modified EA for elite section by Igorad (I did not test it yet).
- the other one is public thread.
Check this post in files thread.
I looked at this EA now and I see that the settings are written inside the code.
Open this EA in MetaEditor and you will see:
if (!IsTesting()){
if (Symbol()=="EURUSD"){
Start1=10;
Start2=14;
Length=4;
EOD=24;
Pips=5;
StopLoss=50;
BreakEven=30;
TakeProfit=80;
}
else if (Symbol()=="GBPUSD"){
Start1=10;
Start2=14;
Length=4;
EOD=24;
Pips=5;
StopLoss=70;
BreakEven=40;
TakeProfit=120;
}
else {
Start1=10;
Start2=14;
Length=4;
EOD=24;
Pips=5;
StopLoss=50;
BreakEven=30;
TakeProfit=80;
}
}It means that it is written the setting for EURUSD, for GBPUSD and for other pairs (else).
Change the setting inside the code to your settings and compile EA once again (in MetaEditor).
I just merged this thread with Hans123 EAs thread inside elite section.
Thanks newdigital,
I will try them both. This one has shown promise forward testing!
indicators
do we need indicators to get this ea working/
do we need indicators to get this ea working/
No extra indicators just the EA file.