Australian (ASX) Stock Market Forum

Reply to thread

With a standard zz, I use a period of say 0.0001.  The low period means it's just the same as ROC(C,1).  If 5min is too choppy, just go up one or more timeframes.  The advantage over ROC(C,1) is that it's easier to compare peaks and troughs for pattern ID, but always SetTradeDelay to (1,1,0,0) if you want to buy troughs and sell peaks.  Backtesting is no problem this way.


Or use a custom zig zag that does not re-paint like  https://www.tradingview.com/script/gY4ilk5N-Momentum-based-ZigZag-incl-QQE-NON-REPAINTING/


Easy way to assess if there's problems is to use 'bar replay' or AB's code check.


Top