Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MACD Divergence Strategy Builder

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MACD Divergence Strategy Builder

    Hi,

    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
    Attached Files
    Last edited by Tradwell385; 07-28-2020, 05:45 PM.

    #2
    Hello Tradwell385,

    Thanks for your post.

    I do not think it would be possible within the confines of the strategy builder due to the limitations of the strategy builder itself. It would be possible with a Ninjascript created strategy where there are no limitations. The swing indicator could be used on both price and indicator to provide the Swing High/low points. You may want to apply the swing indicator to your chart for both price and the MACD (as input to Swing) and observe if that would provide what you need.

    Alternatively, if you can find a divergence based indicator, you may be able to use that (in the strategy builder or a Ninjascript strategy).

    Alternatively, if you would like a strategy created for you, we can provide a link to 3rd party programmers.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X