Can you please help for a code which can display a label displaying pivot( (H+L+C)/3 ) for the period of 9 to 11:30 AM EST and 9:30 to 11:30 AM est.
Marked as spam
So you want the code to determine the highest high and the lowest low that appears between 9 am and 11:29:59 am? Then get the closing value of the bar just before 11:30 am? Then from those values you want to compute the (H + L + C) / 3 pivot and plot that for the rest of the trading day? I don't understand why you listed the time spans twice: "for the period of 9 to 11:30 AM EST and 9:30 to 11:30 AM est." Once we clear up these details I should be able to provide a solution.
Hi Pete, Yes please. It is exactly the same what you understood. Two different time spans are due to the Nymex open and Indices open time difference. Can the previous day’s computed pivot line plot stay on next day as well, if so that would be good.
Please log in to post questions.