Macd regular divergence on Indicator – How to also show hidden divergence

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #93578 quote
    Frans Botha
    Participant
    Veteran

    Hi everyone

     

    I found this indicator that draws the divergence line on the indicator and price chart.

    It only draws the regular (reversal) divergence and not hidden(continuation) divergence.

    Tried to change the code to also show the hidden divergence but was unsuccessful

    If anyone knows how to do this successfully can you please share it, thanks.

     

    Link to original

    https://www.prorealcode.com/prorealtime-indicators/macd-divergences-on-price-and-indicator/

    #93621 quote
    Nicolas
    Keymaster
    Master

    Please define precisely the “hidden divergences” conditions (and with pictures), in your next post. Thanks in advance.

    #93629 quote
    Frans Botha
    Participant
    Veteran

    Thanks Nicolas

     

    Example: Market is in a Bull trend

    – Hidden (continuation) divergence

    • Price:  Higher  Lows   –    Macd:  Lower Lows

    – Regular (Reversal) divergence

    • Price:  Higher  Highs   –    Macd:  Lower Highs

     

    **The indicator is currently only showing Regular divergence

    see attachment

     

    • Hidden Divergence 001
    • Hidden Divergence 002
    • Macd Hidden Divergence 1 (Wrong-Ignore this)
    • Macd Hidden Divergence 2 (Wrong-Ignore this)
    Macd-Hidden-Divergence.jpg Macd-Hidden-Divergence.jpg Macd-Hidden-Divergence.png Macd-Hidden-Divergence.png Macd-Hidden-Divergence-1.png Macd-Hidden-Divergence-1.png Macd-Hidden-Divergence2.png Macd-Hidden-Divergence2.png
    #93634 quote
    Frans Botha
    Participant
    Veteran

    Sorry Jpegs    “Macd Hidden Divergence 1   &  Macd Hidden Divergence 2”   are wrong

     

    Hidden Divergence 001  &  Hidden Divergence 002  are correct

    #93654 quote
    Nicolas
    Keymaster
    Master

    What are the settings of your MACD please? Seems different than the default 12,26,9 periods.

    #93665 quote
    Frans Botha
    Participant
    Veteran

    Macd 3,10,5

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Macd regular divergence on Indicator – How to also show hidden divergence


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Frans Botha @francoisb Participant
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by Frans Botha
6 years, 11 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/14/2019
Status: Active
Attachments: 4 files
Logo Logo
Loading...