OPEN-SOURCE SCRIPT
已更新

Price movement indicator

5 073
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

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。