OPEN-SOURCE SCRIPT
Updated baguette by multigrain

Rationale
The rationale behind this indicator is that: when the price of an asset reaches an extreme, regardless of the trend, there is a (maybe not equal but) opposite reaction.
Settings
The default settings will not be the best for whatever timeframe you choose. I personally believe a longer than 'normal' JMA Length is best.
Credits
The rationale behind this indicator is that: when the price of an asset reaches an extreme, regardless of the trend, there is a (maybe not equal but) opposite reaction.
Settings
The default settings will not be the best for whatever timeframe you choose. I personally believe a longer than 'normal' JMA Length is best.
- JMA Source: The source in which the Jurik Moving Average calculations are based off of.
- JMA Length: Controls the length of the Jurik Moving Average.
- JMA Phase: A lag controller of sorts. Increasing the phase increases overshoots but reduces lag, decreasing the phase decreases overshoots but increases lag.
- ATR Length: The length in which an average true range value will be calculated with.
- ATR Multiplier: This multiplier controls the 'width' of our envelope or our extreme bands.
Credits
- gorx1 for the improved and more accurate (?) Jurik Moving Average calculations.
- RedKTrader for the ATR envelope calculations.
Release Notes
- included alerts for long and short indications.
Release Notes
- realigned input code.
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.
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.