Conversion (more or less...) from Pinescript's work of coder Loxx
https://in.tradingview.com/script/GrMpl ... mple-Loxx/
Just some tips about the inputs:
- Original=true, TrendFollow=true: Moderately reactive indicator that becomes smoother during strong trends. Good for trend following with moderate sensitivity to changes in direction.
- Original=false, TrendFollow=true: The smoothest and least reactive combination. Good for identifying long-term trends, ignoring small fluctuations.
- Original=true, TrendFollow=false: Very reactive during strong trends, can help capture exit points when a trend is mature.
- Original=false, TrendFollow=false: Balance between smoothness and reactivity that varies based on the trend's strength.