♥ 0 |
Hello can you please help me with the script for watchlist. actually i am looking to scan the stock if the time in between 0930 to 1130 volume should me more than 1 million and after the time 1130 to 1600 volume should be more than 5 million. Thanks
Marked as spam
|
Private answer
The bulk of your request has already been provided previously in the form of a chart study: https://www.hahn-tech.com/ans/volume-for-specific-time-frame/ We can take the code from that previous post and make two minor changes to make it work as a scan:
The endTime input is currently set for a 1 min time frame. If you apply this to another time frame you will need to adjust the endTime input so that is matches the time stamped on the last bar of the chart you want to include in the volume. Failing to make this adjustment will cause the code to fail. This is all I have time to complete. In order to cover both time frames you will add a second Study Filter your scan, paste this very same code, and adjust the volumeLimit, startTime and endTime accordingly. Marked as spam
|
Please log in to post questions.