The EA I wrote three months ago can not pass the strategy testing now, but it used working well two or three months ago!! - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Show your code, so we can say you where to add this line.
Bonsoir Angevoyageur,
Here is my code. The two part are separated in the onTick section.
Thank you
Vivaldie
Bonsoir Angevoyageur,
Here is my code. The two part are separated in the onTick section.
Thank you
Vivaldie
I didn't saw messages in the log and it says problem came from stop loss.
With value of 0 it works great : )
I didn't saw messages in the log and it says problem came from stop loss.
With value of 0 it works great : )
Ange I get it working now :) problem came from the STP variable.
Need to change the declaration with type double (instead of int) to please mr. NormalizeDouble.
Thanks
double STP, TKP;
I mistaken and changing the variable declaration didn't solve the error message. Problem come from STP and TKP variable that are 0 making sl = tp.
Is the necessity to add
ZeroMemory(request);
a bug in build 975 (x86)?
I recently encountered the error 4756 during a strategy test and adding the line above fixed it.
Is the necessity to add
a bug in build 975 (x86)?
I recently encountered the error 4756 during a strategy test and adding the line above fixed it.
hi
send order work in demo account but in real account don't work(2014.11.30 18:21:00.062 55 (اخابر,D1) BuyA: error 4756, retcode = 10006)