♥ 0 |
Hello Pete I have a watch list that shows the color change when the 8 ema crosses the 34 ema but I would like it to show the number of candles showing when it happened. Thank you Dan
Marked as spam
|
Private answer
We are going to borrow some code from a previous post that counts the number of bars since the close crossed above or below the Hull Moving average. Link to that previous post is here: https://www.hahn-tech.com/ans/display-bars-since-cross-above-hma/ Here is the code from that post, modified to apply two moving averages crossing:
Marked as spam
|
Please log in to post questions.