Topic: Bug report: Pivot Points mqh faulty
Problem is similar to Top Bottom Price indicator - indicator does not produce values for lower timeframes (M1 and M5), from M15 onwards it starts working.
Create and Test Forex Strategies
You are not logged in. Please login or register.
Forex Software → Technical Indicators → Bug report: Pivot Points mqh faulty
Problem is similar to Top Bottom Price indicator - indicator does not produce values for lower timeframes (M1 and M5), from M15 onwards it starts working.
Update: it starts working only in this case when I export the EA from M1 timeframe in FSB! If it is exported from higher TF, it will not work in MT.
Secondly, although it shows values, they are wrong! Screenshot attached.
I'll examine the case.
Thank you for the report!
I'll examine the case.
Thank you for the report!
Any update? Bug fixes?
Thanks!
Not fixed as far as I know. But if you have problems in live trading, then let me know. I have a crude fix, which should make it work.
Footon, please send me your fix.
I'll work this week on the FSBN Pro indicators. I'll apply all the fixes I did when working on the EA Studio / Express generator compatibility. The fixes are mostly on the first bar calculation.
My hack in Pivot Points mqh is in the following way, it is for custom PP I made, which can be set for bar, day, week and month:
int pr = (int) (PeriodSeconds() / 60);
int firstBar = 5;
// for last bar
if (ListParam[1].Index == 0) firstBar = 4;
// for last day
else if (ListParam[1].Index == 1) firstBar = 1440 / pr + 3;
// for last week
else if (ListParam[1].Index == 2) firstBar = 10080 / pr + 3;
// for last month
else if (ListParam[1].Index == 3) firstBar = 44640 / pr + 3;
But this doesn't solve the dependency of exported timeframe, there was a thing that if the EA is exported from daily in Pro, for instance, it wouldn't work on lowest timeframes in mt.
Not fixed as far as I know. But if you have problems in live trading, then let me know. I have a crude fix, which should make it work.
Thank footon, Will wait for Popov next update fix.
Footon, please send me your fix.
I'll work this week on the FSBN Pro indicators. I'll apply all the fixes I did when working on the EA Studio / Express generator compatibility. The fixes are mostly on the first bar calculation.
Any update? Thanks!
Footon, please send me your fix.
I'll work this week on the FSBN Pro indicators. I'll apply all the fixes I did when working on the EA Studio / Express generator compatibility. The fixes are mostly on the first bar calculation.
Just wondering issues been fixed? Thanks
Forex Software → Technical Indicators → Bug report: Pivot Points mqh faulty
Powered by PunBB, supported by Informer Technologies, Inc.