♥ 0 |
Hi Pete, I am trying to create a script that will find stocks that have been below the 50 Ema for at least 75 bars, but have crossed back over and have remained above the 50 EMA for at least 5 bars. I came across a scanner you had posted before to scan for stocks that were above the SMA for at least 3 bars and tried to mess with it, but ended up getting pretty stuck so I came here. Thanks for the help!
Marked as spam
|
Please log in to post questions.
Change the last line of the scan as follows:
plot scan = countBarsAbove[1] == barAbove and countBarsAbove > barAbove;