glst0rm

ZenTrend Price Cycles

glst0rm Updated   
ZenTrend attempts to plot the cycles that occur as the price cycles between the top and bottom of long- and short-term price linear regression channels.

The indicator observes a fast (35-period) and a slow (100-period) linear regression channel and plots their slopes on an oscillator. When the slope of the fast channel crosses above or below the slope of the slow channel, a signal is plotted.

  • The red line is the slope of the fast channel; blue is the slope of the slow channel
  • A green dot and background indicates the slope of recent price action has crossed above the slope of long-term price action.
  • A red dot and background indicates the slope of recent price action has crossed below the slope of long-term price action.
  • A gray dot indicates the slope of recent price action is slowing. The difference between the long- and short-term slopes is narrowing.

Here are things I look for when observing price cycles
  • Where does the cross occur? Crosses high above or below the 'zero line' indicate a more extreme change in price channel slopes.
  • Flat line: crosses that occur while the lines are flat often indicate chop.
  • "Curve" of the line - a cross that occurs as the slope lines are starting to curve up/down indicates a sharper and more extreme change in price channel slope.
Release Notes:
Updated chart and parameter names
Release Notes:
Added optional display of LRSI crosses
Release Notes:
Bull/bear background color is now based on indicator slope. I'm finding this to be more accurate than basic crosses.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?