OPEN-SOURCE SCRIPT

Trend Slope Meter - Kaspricci

已更新
Trend Slope Meter
This indicator measures the slope of the trend defined by a moving average or an external source. The slope is calculated by the change of price in ticks for a defined number of bars divided by the number of bars.

Settings
  • Source - Default: close price. Used to calculate the moving average as basis for slope measurement. Can be an external source of a different indicator as well. In case you select an external source, you can disable the moving average calculation.
    Moving Average Settings
  • Type - Default: EMA. Type of moving average calculation. All provided out of the box by TradingView.
  • Length - Default: 50. Length used to calculate moving average.
    Slope Settings
  • Length - Default: 50. Length used to calculate slope.
版本注释
Update of chart only. For better illustration I used the default EMA provided by Trading View and applied the Trend Slope Meter for this plot.
HMAmoving_averageMoving AveragesslopesmaSWMATrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明