♥ 0 |
Hi Pete, I found the below from another post (How to add a time filter to scan) and I just wanted to confirm that if I only wanted to receive an alert if the condition is reached during the first hour the market is open, would I delete the “and newDay[1]”? Thank you. plot scan = newDay and newDay[1];
Marked as spam
|
Private answer
That depends on what time frame you have the study filter set to. If it is set to hourly (and extended hours is unchecked), then modifying the statement to read…. plot scan = newDay; ….would return true for the first hourly bar of each trading day. Since you did not provide those other details I figured I would spell it out. Also, whenever you are referencing some material from another post it’s always best practice to provide a link so folks don’t have to spend an hour searching for it. https://www.hahn-tech.com/ans/how-to-add-a-time-filter-to-scan/ Without the context provided in that link, this entire conversation has absolutely no value to the rest of our viewing audience. Marked as spam
|
Please log in to post questions.
Hi Pete,
Thanks. Yes, that’s exactly what I was looking for.
Thank you.