OPEN-SOURCE SCRIPT

ZenTrend Price Cycles

Mis à jour
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.
Notes de version
Updated chart and parameter names
Notes de version
Added optional display of LRSI crosses
Notes de version
Bull/bear background color is now based on indicator slope. I'm finding this to be more accurate than basic crosses.
Notes de version
- New option to show ZenTrend plot from a higher timeframe (look for alignment)
- Option to show standard deviation bands. Crosses above/below deviation indicate a strong trend. ZenTrend within the standard deviation indicate flat price action.
- Option to show Laguerre RSI crosses - look for confluence with ZenTrend and LRSI
Notes de version
  • Added red/green color to line based on slope
  • Added ability to hide 'slow' plot
Bands and ChannelsChart patternsCycles

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité