My first Inidicator Markttechnik ZigZag based

Forums ProRealTime English forum ProBuilder support My first Inidicator Markttechnik ZigZag based

Viewing 6 posts - 1 through 6 (of 6 total)
  • #225574

    Hello,

    just a preview for my first prorealcode indicator. I’m still learning and coding is not perfect.
    I make it to take my trades with “Markttechnik” strategy. It is like  1-2-3 swing trading.

    best regard

    Guido

    #225727

    Real zigzag indicators actually do object retracement, which we do not do because it is unrealistic and cannot be used in real trading.

    #225731

    Yes, ZigZag, DPO and other indicators are the so-colled REPAINTING indicators and cannot be used for autotrading.

     

    #240838

    Roberto hi,  at some stage, there are some calculations done by this indicator to draw lines. Is the calculation unable to generate a signal we could convert to a trading signal and why ? best regards

    #240853

    It’s a repainting indicator, i.e. if it NOW detects a signal on a PAST candle, it goes back to that candle and plots the signal on it!

    This is visually acceptable, but CAN’T be used in trading, as you cannor enter a trade back in the past!

    I am attaching a custom version of DPO which returns the CURRENT value which CAN be used in automatic trading (BLACK line), it also plots the DPO as it is usually done, and as it is done by PRT (FUCHSIA line, which CAN’T be used in automatic trading).

    Pic Dpo1 shows the repainting signals circled in ORANGE, while the CURRENT signal is circled in RED.

    Pic Dpo2 shows where the REPAINTING signal is plotted and where it really is as CURRENT. There’s a 10-bar distance because the indicator was set with 10 periods., The more the periods, the bigger the gap, the less the periods the smaller the gap.

    This is the code:

     

     

     

    #240857

    Actually the gap is 6 bars, since the calculation is (Periods / 2) + 1, so 10/2 + 1 = 6.

Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login