it's not what I'm saying
It says in the documentation Read again
values of StopLoss, TakeProfit, and values of open prices for pending
orders must be normalized with the accuracy, the value of which can be
obtained by Digits().
Yes the return/ result is incorrect when it should be True it is False?
what's the problem?
As I already said . . .
Perhaps you didn't notice the change to the Precedence rules ? especially regarding && and ||
There is no && || precedence in the posted code, it only has one && in it.
my advice is dont use && at all. Change it to:
double bands = iBands(NULL,15,20,2,0,PRICE_WEIGHTED,MODE_UPPER,0;
double ma = iMA(NULL,15,1,0,MODE_EMA,PRICE_TYPICAL,0);
if(Bid > bands)
if(ma > bands) Print("conditions true");
How do you think the OP is doing this ?
. . . . but when I put several requirements together the result is true when the correct answer is false?
To add comments, please log in or register