I am trying to create a strategy that plots an arrow when a divergence occurs between the MACD and price. For instance, if price continues to make higher highs, but the faster MACD value does not make a higher high. Likewise if price makes lower lows but the fast MACD does not make a lower low. I use the following MACD settings: Fast = 5; Slow = 20; Smoothing = 30. Is there a way to create this in the strategy builder? I have attached a picture to depict the kind of divergence that I'm talking about. The divergence is in the highlighted boxes. Price made a lower low, but The fast MACD was climbing higher.
Thanks
Comment