Hi friends,
I have a problem a create to condition, I wanna create a conditions like below
1-condtion
if (High_1_1 > MA_1_1) gReferansHigh_1 = High_1_1; this condition is okey. %(#8000BF)[iHigh(NULL,1,1) >iMA(NULL, 1,5, 0, MODE_SMA, PRICE_CLOSE, 1);]**
2-condition**
if (Low_1_1 < MA_1_1) gReferansLow_1 = Low_1_1; this condition is okey. %(#BF00BF)[iLow(NULL,1,1) <iMA(NULL, 1,5, 0, MODE_SMA, PRICE_CLOSE, 1)]**
3-condition**
if (MA_1_0 > MA_1_1 && Close_1_0 > gReferansHigh_1) { this condition is Problem.
My problem is for %(#BF0080)[gReferansHigh_1] ,How can i formule it.
Regards..