OPEN-SOURCE SCRIPT
已更新

Price movement indicator

4 982
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

免责声明

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.