How to plot the blue line straight
- Help on Stochastic mql4 code
- Indicator to plot account balance and equity
- Indicator not plotting on strategy tester
Decompose this line:
PMAXBuffer[i] = (PMAXBuffer[i-1] == FUB[i-1] && MABuffer[i]<FUB[i] ) ? FLB[i] : (PMAXBuffer[i-1] == FUB[i-1] && MABuffer[i]>FUB[i]) ? FLB[i] : (PMAXBuffer[i-1] == FLB[i-1] && MABuffer[i]<FLB[i] ) ? FUB[i] : FUB[i] ;
into a couple of ifs in several lines and go through it with the debugger! Here you assign always FLB[i] in every branch of ? and :?
Decompose this line:
into a couple of ifs in several lines and go through it with the debugger! Here you assign always FLB[i] in every branch of ? and :?
Thank you for the spot that you made me see. Wrong part has been corrected and I realized 1 more line that I didn't write. Now its working. Best regards.