fx2013:
Read this ? Can price != price ?
Hello
When i am making a EA and back tested i found some times the condition not executed .
example
let us make simple EA
So, when i backtested with Insta broker from 1/1/2013 until July 2013the Ask price passed the 1.3097 and did not show the message.
but with any price like(1.3000) the condition achieved but at that price not achieved. i dont know what is the problem and why? is it because the server it self?
Maybe Ask was never exactly equal to 1.3097 it may have been 1.30971 one tick and 1.30969 the next?
As you say that condition was met when Ask passed below 1.30971, then I think that you intend <=, not ==
if(Ask<=1.3097) { Comment("The Ask got the price"); }
GumRai:
It was probably never exactly 1.3097 even when it was 1.3097 Maybe Ask was never exactly equal to 1.3097

GumRai
The platform is 4 Digits not 5, and NordFX broker achieved the condition but with instaforex did not.
RaptorUK
if never exactly. Why if i use oredersend @ TP=1.3097 as example is executed, but at the same time with the same price 1.3097 did not ?
fx2013:
GumRai The platform is 4 Digits not 5, and NordFX broker achieved the condition but with instaforex did not. RaptorUK if never exactly. Why if i use oredersend @ TP=1.3097 as example is executed, but at the same time with the same price 1.3097 did not ?
Did you read and understand this ? Can price != price ?
GumRai The platform is 4 Digits not 5, and NordFX broker achieved the condition but with instaforex did not. RaptorUK if never exactly. Why if i use oredersend @ TP=1.3097 as example is executed, but at the same time with the same price 1.3097 did not ?
not yet

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
Hello
When i am making a EA and back tested i found some times the condition not executed .
example
let us make simple EA
So, when i backtested with Insta broker from 1/1/2013 until July 2013the Ask price passed the 1.3097 and did not show the message.
but with any price like(1.3000) the condition achieved but at that price not achieved. i dont know what is the problem and why? is it because the server it self?