Dow Theory Indicator

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #122172 quote
    Nibor9001
    Participant
    Junior

    Hello Community!

    My first post in this forum.

    I am a complete code novice and have tried simple codes (moving averages etc). I don’t know any programming language and am just getting used to it.

    Recently I try to work on a project but I can’t find a beginning.
    I would like to bring the dow theory popular in Germany into an indicator.

    The indicator should show two trend sizes in one chart based on the Zig Zag indicator.
    The big trend and the small trend should be displayed.

    Ideally, the indicator should change color when the trend changes. A trend change takes place when the last low (in the upward trend) is fallen below or the last high (in the downward trend) is exceeded.

    I have seen a comparable indicator on another platform (see picture).

    About each suggestion or help I am grateful!

    Trend-iIndikator-1.png Trend-iIndikator-1.png
    #122174 quote
    robertogozzi
    Moderator
    Master

    Please do not double post.

    Once you have chosen a language you should use that language only.

    Thank you 🙂

    #122178 quote
    GraHal
    Participant
    Master

    Ah if only it were possible on a consistent basis to predict the highs and the lows?

    I’m sure you can see that the difficulty is in specifying in the code how many look back bars will show the last high and the last low etc.

    We may code the last  LL in an uptrend to be 50 bars ago and we may be correct 5 times out  100 or we may not be correct for another 12 months … get the idea?

    Have a look in the Library on this website at Fractals … Indicators and / or Systems

    #122185 quote
    Nibor9001
    Participant
    Junior

    Many thanks for the answer.

    However, I am not concerned with accuracy. Of course I am aware that the indicator cannot be 100% accurate.
    The default setting of the Zig Zag can be used, for example a percentage deviation.
    I am more concerned with the color change of the Zig zag indicator.
    Should mean:

    If we have rising highs and rising lows, Zig Zag is green (uptrend). If we fall below a low (trend break) the Zig Zag changes to red.

    If the Zig Zag shows falling lows and falling highs, the Zig Zag is red (downtrend). If a high is exceeded (trend break), the Zig Zag color changes to green.

    #122186 quote
    GraHal
    Participant
    Master

    How about this

    https://www.prorealcode.com/prorealtime-indicators/zigzag-average/

    Many more similar … in the Library

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

Dow Theory Indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Nibor9001 @nibor9001 Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by GraHal
5 years, 11 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/15/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...