Trend Direction Helper (ZigZag and S/R and HH/LL labels)
Published on MillionChart by ZeroEmotion.
Trend Direction Helper combines three things in one script: classic horizontal pivot support and resistance lines, zigzag lines, and higher-high / lower-low labels. Its goal is to help you decide on a trend direction. An UP label suggests price may rise, and a DOWN label the opposite.
How it works:
- Connecting higher highs and lower lows produces zigzag lines, which is the basis of the method. The zigzag logic comes from Ricardo Santos' RS ZigZag Percent Reversal script.
- The horizontal pivot support and resistance part comes from the Backtest Rookies support and resistance indicator. Both are credited by the author as inspiration.
- For extra confirmation the author suggests waiting for a pullback to a moving average after a signal.
Important notes:
- The default inputs cannot be generic for every asset and timeframe. Adjust them until the signals make sense on the instrument you trade, and revisit them as the market changes.
- Check that a setting worked in the past on that chart, and try it on a demo account before using real money.
- Repaint: the pivots and zigzag lines are recalculated when new highs or lows form, so they can change. The trend direction logic uses candle closes and should not repaint.
The author includes a standard risk disclaimer: this is not financial advice and trading can lead to losses.