PROTECTED SOURCE SCRIPT

Slope Based Divergences

504
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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。