OPEN-SOURCE SCRIPT
Updated 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.
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.
Release Notes
- [* Potential LONG and SHORt entries (green and red circles)]
[* Signal line (blue)]
Release Notes
- Potential SHORT and LONG entriesSHORT = red circle
LONG = green circle
- Signal line (blue)
Release Notes
Removed unnecessary plots and variables.Release Notes
HMA added to bring more smoothness
Release Notes
HMA Offset addedRelease Notes
Entry points are clear now.Green - LONG
Red - SHORT
Release Notes
Added SMA length for pricecomparison n-bars backEMA set to 100
Offset set to 25
Release Notes
Minor bug fixedRelease Notes
Chart error fixedOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
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.