Forum

PLEASE someone knowledgable needed, I tried everything! - hours in script not working - pivots

So I've tried editing this script, Hourly Pivot Points with Color Filling https://www.mql5.com/en/code/20614 almost got it working but there is something wrong in the code when I change it. I tried changing from hourly to more hours than just one, I managed to get adding just one more hour to work a

Can't get hours to work in pivot script

//+------------------------------------------------------------------+ //| PivotPointUniversal.mq5 | //| Copyright VDV Soft | //| vdv_2001@mail.ru |