- The fractal dimension (FD) is calculated using the ATR (Average True Range) over a defined period.
- FD values dynamically adjust the Stochastic lookback period between a minimum and maximum range.
- This results in a faster response in high-volatility conditions and smoother signals during low volatility.
Bullish Divergence Setup:
- Identify price making a lower low while Stochastic %K makes a higher low.
- Enter a long trade when Stochastic confirms upward momentum.
Bearish Divergence Setup:
- Identify price making a higher high while Stochastic %K makes a lower high.
- Enter a short trade when Stochastic confirms downward momentum.
✅Stochastic %K crosses above 90 → Buy signal.
✅A bullish trailing stop is placed at low - ATR × Multiplier.
✅Exit if the price crosses below the stop.
✅Stochastic %K crosses below 10 → Sell signal.
✅A bearish trailing stop is placed at high + ATR × Multiplier.
✅Exit if the price crosses above the stop.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.
For quick access on a chart, add this script to your favorites — learn more here.