Hello
How can I make 2 conditions equal one another in mt4.
I have tried = and ==
I cant get this code functioning. How do you make these 2 doubles return equal
Here is the code:
thanks
How can I make 2 conditions equal one another in mt4.
I have tried = and ==
I cant get this code functioning. How do you make these 2 doubles return equal
Here is the code:
Inserted Code
bool IsSuperFlat(int i) { if(!UseSuperSlope) return (true); double p1_0 = iCustom(NULL, 1440, CustomIndicatorName_1, "Current time frame", 0, i); double p1_1 = iCustom(NULL, 1440, CustomIndicatorName_1, "Current time frame", 0, i+1); return (p1_0 == p1_1);
thanks