Pivot points on pre-market


Category:
0
0

Hello Mr. Hahn,

During a given day’s pre-market session, if I write a script for the pivot point as, ” PP = HCl3[1]” on a daily aggregation, will it consider the previous day’s data or, one day before the previous day’s data?

 

Thanks

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on December 19, 2022 9:48 pm
159 views
0
Private answer

You can simply plot the code on a chart to see how it will behave.

plot data = hlc3[1];

You posted this question in the Stock Scanners topic. So I assume you are trying to build a scan. Therefor the Study Filter of your scan is set to daily time frame. Premarket data is not available on a daily time frame, period.

So the answer to your question is this:

During premarket, the code is going to give you the same results as if you had run the scan at the close of the previous day's trading session. Because on the daily time frame, "today" does not exist during premarket hours. "Today" only begins to exist once today's regular session opens.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on December 20, 2022 10:07 am