OPEN-SOURCE SCRIPT
已更新

Price movement indicator

4 762
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。