ron22 255 posts msg #151935 - Ignore ron22 |
4/27/2020 6:56:40 PM
Is it possible to track the number of consecutive days A) closing price is above and below the upper ATR line and B) closing price is above and below MA14? I would greatly appreciate it if someone would please add these 4 counts to this filter. Thank you very much. Ron
|
Mactheriverrat 3,157 posts msg #151937 - Ignore Mactheriverrat |
4/27/2020 7:21:43 PM
Interesting code there .
|
Cheese 1,374 posts msg #151938 - Ignore Cheese modified |
4/27/2020 8:11:54 PM
@ron22,
Is this what you are looking for?
|
ron22 255 posts msg #151940 - Ignore ron22 |
4/27/2020 10:25:20 PM
@Cheese, That is exactly what I was looking for. Thank you very much and Good Trading! Ron
|
xarlor 587 posts msg #151942 - Ignore xarlor |
4/28/2020 9:29:31 AM
Nice filter ron22! Trying to identify possible trading strategies and came up with a quick swing trade. I wish SF still had the backtesting function.
|
ron22 255 posts msg #151945 - Ignore ron22 |
4/28/2020 6:23:04 PM
@xarlor, I hope that the swing trade strategy works out for you. Using the lower line for an exit is smart. The lower line can act as support.
|