I was watching a YT video of a methodology that seems logical, and I am especially intrigued with it's simplicity, I would like to create a scan to find these setups, but I'm not really sure how to go about it and how to code it. Any help would be appreciated. The basics are as follows- draw a horizontal line at the high and low of the previous weekly bar. The video uses a 1 hr chart with the weekly H/L marked. When prices closes above or below the H/L then returns back under and closes. In the video they use the 1 hr time frame. They put stops at the pivot and shoot for a 2:1 trade return.
I'm not sure what a scan would look like and how to code it. Here is the YT Video- YT Video
I'm not sure what a scan would look like and how to code it. Here is the YT Video- YT Video