Hello
I would like to find the highest and lowest price of the day up until the "current point" with an user input that would either exclude or include pre-market price.
example:
Consider:
Ticker: /CL
Aggregation Type: time/ticker/range
(US) Market opens at 9 AM EST
I would like to plot a continuous line (sort of like MA lines) of the avg (or separate lines for both) of the highest high and lowest low from start of that day (from RTH start or from Pre start) to the current bar.
So for example, if I'm looking at 2D 2m time frame with RTH only selected as user input, then at 9:44 AM EST, I would like the current point of the line to represent the average of the highest high and lowest low between 9:00 to 9:44.
if I scroll left to to previous day's data and look at the bar @10:18 AM, then I would like the line's y axis value to represent the average of the highest high and lowest low between 9:00 to 10:18 of yesterday.
if I scroll a bit to the right on the previous day's data and look at the bar @12:56 PM, then it would be the avg of highest high and lowest low between yesterday's 9:00 to 12:56PM.
similar concept if pre-market hours were included, where starting point would be start of pre-hours instead of 9:00.
I would like to find the highest and lowest price of the day up until the "current point" with an user input that would either exclude or include pre-market price.
example:
Consider:
Ticker: /CL
Aggregation Type: time/ticker/range
(US) Market opens at 9 AM EST
I would like to plot a continuous line (sort of like MA lines) of the avg (or separate lines for both) of the highest high and lowest low from start of that day (from RTH start or from Pre start) to the current bar.
So for example, if I'm looking at 2D 2m time frame with RTH only selected as user input, then at 9:44 AM EST, I would like the current point of the line to represent the average of the highest high and lowest low between 9:00 to 9:44.
if I scroll left to to previous day's data and look at the bar @10:18 AM, then I would like the line's y axis value to represent the average of the highest high and lowest low between 9:00 to 10:18 of yesterday.
if I scroll a bit to the right on the previous day's data and look at the bar @12:56 PM, then it would be the avg of highest high and lowest low between yesterday's 9:00 to 12:56PM.
similar concept if pre-market hours were included, where starting point would be start of pre-hours instead of 9:00.