OPEN-SOURCE SCRIPT

Price movement indicator

已更新
This indicator shows us if the price is moving up or down based on the ratio of current price vs previous bar.
If this ratio is above 1 then this indicates that the price is increasing, while if the ratio is below 1 the price is decreasing.


HOW TO USE:
Set the desired EMA length, number of previous bars to compare with and offset.

Markets:
It can be used to all markets.
版本注释
  • [* Potential LONG and SHORt entries (green and red circles)]
    [* Signal line (blue)]
版本注释
- Potential SHORT and LONG entries
SHORT = red circle
LONG = green circle
- Signal line (blue)
版本注释
Removed unnecessary plots and variables.
版本注释

HMA added to bring more smoothness
版本注释
HMA Offset added
版本注释
Entry points are clear now.
Green - LONG
Red - SHORT
版本注释
Added SMA length for pricecomparison n-bars back
EMA set to 100
Offset set to 25
版本注释
Minor bug fixed
版本注释
Chart error fixed
pricemovementsTrend Analysistrendstrength

开源脚本

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

想在图表上使用此脚本?

免责声明