I would like to express the distance between a short-term MA and long-term MA as a number of ATR multiples. I have made a start below. I would really appreciate some help in refining things further.
1/ It would be great to have the stocks displayed in descending order (so the stocks where the gap is the biggest ATR multiple is shown first)
2/ I would like to see the ATR multiple if possible
3/ It is probably wise to also add a volume filter (I can probably tackle that bit but just thought of it as I was typing)
I’ve had a good look around to see if there is any code to repurpose. I can’t seem to find something applicable. Does anyone have any ideas/suggestions?
Thanks in advance, Zac.
Price extension expressed in terms of ATR
1
2
3
4
5
6
7
8
9
// Number of ATR multiples to cover distance between 10MA and 250MA
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue