Hello Mastermind ,
is there any way ,to divide market hours into 4 or 5 equal parts ,
Thank you
Casoni
Yes!,
For example, consider NSE 9:15 AM to 3:30 PM. lets assume we want to visual separators at 10AM, 12PM and 2pm.
tn = int(TimeNum() / 10000);
marker = (tn != Ref(tn, -1)) AND ((tn % 2) == 0);
Plot(marker,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
If you wanted to visually carve out every new hour, it would be.
th = int(TimeNum() / 10000);
marker = (th != Ref(th, -1));
Plot(Marker,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Granularity of data in tn will change based on your plotted timeframe ...