PROTECTED SOURCE SCRIPT

Slope Based Divergences

185
This is an interesting take on divergences.

Most divergence indicators identify divergences by identifying two points within some look back period on an oscillator and two points on the price chart and if the slope of those two points are going in opposing directions than a divergence is identified

This take a different approach. This looks at the slope of the price and the oscillator over multiple points within the look back period and averages those slopes to get a more comprehensive value. A divergence isn't just two points, it is also everything that happened in-between those two points.

From there is compares the averages of the oscillator slope and the price slope and looks for extremes.

The default value for the extremes are 90 and 10 but some oscillators might need to be 99.99 and 0.01 or maybe 70 30. the smoothening of the oscillator you decide those values.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。