♥ 0 |
Hello, I already have a scanner (code below) provided by Pete but I would like to enhance it adding two scenarios below. Scenario 1: Output only those symbols that close of current 5 min bar crosses above yesterday’s close for the first time. Scenario 2: Output results where today’s high never crossed above previous day close yet within previous 5 min bar and crossover happens at the next 5 min bar. Please see screenshot for details.
def newDay = GetDay() <> GetDay()[1];
Marked as spam
|
Private answer
Whenever referencing code from a previous source it’s always best to include a link to that source. Even when it is a post in our Q&A forum. This helps the rest of our audience to have access to the full context of the code you are presenting. https://www.hahn-tech.com/ans/scan-close-of-5-min-bar-crosses-above-yesterdays-close-or-high/ The following contains a couple of extra lines that should account for the additional specifications. I have not tested this.
Marked as spam
|
Please log in to post questions.