WEIRD WEIRD Results ???

 

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

 
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);

Reason: