Does anyone have some suggestions for the best way to alter the start time of an indior so that one can have Pips to Open from a particular start time and Hi to Lo for a particular period?

I've seen it done with a couple pivot indiors but found it confusing.


Dual low0 = iLow(NULL,PERIOD_D1,0);
double high0 = iHigh(NULL,PERIOD_D1,0);
double OPEN = iOpen(NULL,1440,0);
double CLOSE = iClose(NULL,1440,0);

PIPS = DoubleToStr(((CLOSE-OPEN)/xecn)/Point,0);
HILO = DoubleToStr(((High_Today-Low_Today)/xecn)/Point,0);
https://www.nigeriaforextrading.com/...2031823838.mq4