Fibo based on yesterday high-low New comment timmytrade 2023.12.15 07:58 Hi guys, I'm trying to understand one of Mladen fibo indicator calculations and plots. So todays fibo lines are calculated by yesterday range in this simple way: if(Bars(_Symbol,_Period)<rates_total) return(-1); MqlRates dailyRates[]; int dailyRatesCopied=CopyRates(_Symbol,PERIOD_D1,0,inpPeriodsToDisplay+1,_dailyRates); for(int i=1; i<dailyRatesCopied && !_StopFlag; i++) { double _range = dailyRates[i-1].high-dailyRates[i-1].low; ObjectCreate(0,_name,OBJ_FIBO,0,_dailyRates[i].time,_dailyRates[i].open+_range,_dailyRates[i].time+PeriodSeconds(PERIOD_D1),_dailyRates[i].open); However, on the chart when I compare this calculation with manually drawn Fibo Retracement tool, I see different results: Measuring pips from any point to point Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes Need help indentifying indicator New comment
Hi guys,
I'm trying to understand one of Mladen fibo indicator calculations and plots.
So todays fibo lines are calculated by yesterday range in this simple way:
However, on the chart when I compare this calculation with manually drawn Fibo Retracement tool, I see different results:
