Try to use this way:
if (indicator_1-indicator_2>Point)
result="buy";
else if (indicator_1-indicator_2<-Point)
result="sell";
else result="calm";
return(result);
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
I wrote a very simple EA using one Indicator,
i compare like this....
if (indicator_1>indicator_2)
result="buy";
if (indicator_1<indicator_2)
result="sell";
return(result);
then I get this straight linear down slope with plenty of trades.
So i reversed the decision (> for <) and was expecting a slope in the other direction,
but I get relatively the same slope (mostly).
I was thinking that it might have something to do with spread,
so I tried other currencies with large spread but I get OrderClose Requotes on all of them.
Anyone has an explanation for this?
Thanks in advance
RD