
Pinescriptlabs Store indicators: Pinescriptlabs Store cBots : (cBot) Gold & BTC BreakoutSession Pivots(new)
Prediction Based on Linreg & ATR
SmartTrend Support &
Resistance
Lines
Dynamic
Market Structure
Analysis
of
Turning
Points
Fibonacci
Linear
Regression
Multi-timeframe
Auto
Support and
Resistance
Trend
Lines
All
Support and
Resistance
Levels
_____________________________________________________________________________________________________
Trailing Smart Algorithm
Incorporates mathematical algorithms π§ specifically designed to consistently track price in any market condition π.
Its calculation structure ensures the trendline always stays synchronized with price movements, avoiding the typical lag of traditional indicators β³.
Unlike conventional algorithms, this system uses precise volatility measurements π and applies automatic adjustments βοΈ that guarantee optimal tracking. Its internal calculations are built to deliver an accurate representation of market direction, maintaining precision during both rapid moves β‘ and gradual trend development ποΈ.
π‘ How Does It Work?
The indicator operates using an adaptive step system that moves in the direction of the dominant trend.
It is based on three main components:
1οΈβ£ Trend Change Detection
The system continuously monitors price to detect significant movements exceeding a specific threshold (Impulse Trigger π―).
When the price moves far enough from the current trendline, the indicator recognizes a potential direction change and repositions its main line.
2οΈβ£ Dynamic Trailing
Once direction is set, the trendline moves step by step πͺ in the same direction as the market.
Each step is calculated based on current volatility (ATR π):
β’ In more volatile markets, steps are larger π
β’ In quieter markets, steps are smaller πΏ
3οΈβ£ Volatility Channel
A channel forms around the main line (upper and lower bands) representing the normal volatility zone ππ.
This channel helps identify whether price is behaving within normal parameters or making extreme moves π¨.
π Volatility Channel
β’ Upper Band: Upper limit of the volatility channel
β’ Lower Band: Lower limit of the volatility channel
β¨ Retest Signals
β’ Cyan Stars π: Price touches or crosses the lower band during an uptrend
β’ Magenta Stars β: Price touches or crosses the upper band during a downtrend
βοΈ Parameter Settings
πΉ Main Parameters
Impulse Trigger (default value: 4)
What does it do?
Determines the sensitivity to detect trend changes. Itβs the ATR multiplier defining how much price must move to trigger a direction change.
Impact when modified:
β’ Higher values (5β8):
- More resistant to trend changes π‘οΈ
- Fewer false signals
- Slower response to real shifts
β’ Lower values (2β3):
- Higher sensitivity π―
- Faster reaction
- More likely to produce false signals in sideways markets
Maximum Step (default value: -0.044)
What does it do?
Limits the maximum size of each step the trendline can take. Itβs a negative value acting as a cap.
Impact when modified:
β’ Less negative (-0.020 to -0.030):
- Larger steps π
- More aggressive trend tracking
β’ More negative (-0.050 to -0.080):
- Smaller, more gradual steps π±
- More conservative following
Channel Width (default value: 2)
What does it do?
Defines the width of the volatility channel around the main line.
Impact when modified:
β’ Higher values (3β4):
- Wider channel π’
- Fewer retest signals
- Greater tolerance to volatility
β’ Lower values (1β1.5):
- Narrower channel π΄
- More retest signals
- More sensitivity to noise
π¨ Visual Parameters
Bullish Color / Bearish Color
Define the colors for uptrends and downtrends respectively.
Show Channel Fill
Enable or disable the visual fill of the volatility channel π.
π Retest Settings
Enable Retest Alerts
Toggle retest signals when price touches the channel bands.
Filter By Direction
When enabled, only shows retest signals matching the current trend:
β’ In an uptrend: Only signals on the lower band
β’ In a downtrend: Only signals on the upper band
π Retest Signals Recap
β’ Cyan Star on Lower Band: Potential bullish bounce from dynamic support β
β’ Magenta Star on Upper Band: Potential bearish bounce from dynamic resistance β