beginner
pipoubibou: I start in programming mode under mql5. I look at the following code ASCtrend and I look for the line number where the program draws the blue or pink point in the function int OnCalculate(const int...
It is unclear what you are asking. If you have difficulty with English, please consider using the French forum instead.
The pink and blue are the results of the SellBuffer and BuyBuffer array variables.
... SellBuffer[bar]=0; BuyBuffer[bar]=0; value3=0; if(value2<x2) { iii=1; while(bar+iii<rates_total) { if(CopyBuffer(WPR_Handle[value11],0,bar+iii,1,WPR)<=0) return(RESET); Vel=100-MathAbs(WPR[0]); if(Vel>=x2 && Vel<=x1) iii++; else break; } if(Vel>x1) { value3=high[bar]+Range*0.5; SellBuffer[bar]=value3; } } if(value2>x1) { iii=1; while(bar+iii<rates_total) { if(CopyBuffer(WPR_Handle[value11],0,bar+iii,1,WPR)<=0) return(RESET); Vel=100-MathAbs(WPR[0]); if(Vel>=x2 && Vel<=x1) iii++; else break; } if(Vel<x2) { value3=low[bar]-Range*0.5; BuyBuffer[bar]=value3; } } ...
Forum MQL5
- www.mql5.com
MQL5 : Forum sur les systèmes de trading automatisé et les tests de stratégie
thank you, you have answered my question
I start in programming mode under mql5
I look at the following code https://www.mql5.com/en/code/491
and I look for the line number where the program draws the blue or pink point in the function int OnCalculate(const int...
thanks