๐ PineScriptLabs Smart Signals CDRC [Auto TP/SL]
โ What is this indicator?
The Dynamic Close Range Channels (CDRC) system is an indicator developed under PineScriptLabs theory that uses two independent channels to generate buy/sell signals ๐ and automatically calculate dynamic profit targets (TP) and stop loss (SL) ๐ฏ that are never the same.
๐ฏ Special Dynamic TP/SL Algorithm โก
Unlike systems using fixed levels or ATR, this algorithm calculates TP and SL based on the actual price movement from the last signal:
โข For LONG ๐: Measures the distance from the lowest recorded price to entry, calculates the percentage of that movement, and projects that same percentage upward to establish targets
โข For SHORT ๐: Measures the distance from the highest recorded price to entry, and projects that percentage downward
๐ฏ This means each trade has unique levels adapted to the specific market context at that moment, reflecting the real momentum before the signal ๐ก
๐ The CDRC Theory: Channel Construction ๐๏ธ
Technical Foundation ๐
The CDRC theory builds channels based exclusively on closing price ranges, not on volatility or standard deviation. Closings represent the real market consensus and eliminate wick noise ๐ฏ
Construction Process โ๏ธ
- Average Price: Average of all period closings
- Range: Difference between highest and lowest closing of the period
- Amplitude: Range ร Multiplier รท 2
- Bands:
o Upper = Average Price + Amplitude โ๏ธ
o Lower = Average Price - Amplitude โ๏ธ
๐ Channels are recalculated on each bar, constantly adapting to the market
โ๏ธ How does it work?
Two Simultaneous Channels ๐๐
โข Channel 1 (Fast - 111 bars): Reacts fast to changes, multiplier 0.14 โก
โข Channel 2 (Slow - 388 bars): Long-term vision, multiplier 0.11 ๐ข
Signal Generation ๐ฏ
โข LONG โ
: Price closes above upper band of BOTH channels for 2 consecutive bars ๐ข
โข SHORT โ
: Price closes below lower band of BOTH channels for 2 consecutive bars ๐ด
๐ก๏ธ Dual confirmation filters false signals
๐ค Automatic TP/SL Calculation (Algorithm Detail)
For LONG ๐:
- System continuously records the lowest price since last signal
- When generating buy signal, calculates: Percentage = (Entry - Minimum) / Entry ร 100
- Projects that percentage upward from entry to establish TP3
- Divides range into three zones: TP1 (33%), TP2 (66%), TP3 (100%)
- SL = Entry - (Entry ร Percentage ร Stop Loss Ratio / 100)
For SHORT ๐:
- System continuously records the highest price since last signal
- When generating sell signal, calculates: Percentage = (Maximum - Entry) / Entry ร 100
- Projects that percentage downward from entry to establish TP3
- Divides range into three progressive zones
- SL = Entry + (Entry ร Percentage ร Stop Loss Ratio / 100)
๐ฏ Result: Each trade has unique levels calculated according to the specific market momentum at that moment
๐ Visualization ๐จ
โข Points: Bands of both channels
โข Dynamic fill: Channels change color when penetrated
โข Boxes: Entry zone (SL-Entry) and three target zones (progressive transparencies)
โข Labels: SL, TP1, TP2, TP3 with exact prices ๐ท๏ธ
โข Arrows: Green (buy) ๐ข / Red (sell) ๐ด
โข Table: Current position, Entry price, Current P/L %, Time in trade, Last closed trade ๐
๐ฏ What is it for?
- High probability entries with dual timeframe confirmation โ
- Adaptive automatic risk management based on actual market movement ๐ค
- Unique staggered targets for each trade according to previous momentum ๐ฏ
- Dynamic adaptation to recent price behavior ๐
- Real-time monitoring of position performance ๐
๐ ๏ธ How to use it?
Entry ๐: Enter at closing of bar when arrow appears
Management ๐ผ:
โข TP1: 33% of projected movement (partial profits) ๐ฐ
โข TP2: 66% of movement (more profits) ๐ฐ๐ฐ
โข TP3: 100% of movement (final target) ๐ฏ
โข SL: Always respect automatic stop loss โ
Monitoring ๐: Table shows current P/L in real time. System automatically detects when TP3 or SL is reached. Only one active signal at a time โ ๏ธ
โ๏ธ Parameters and Impact
Channel 1 Period (111):
โข โ More bars = Fewer signals, more reliable, slower ๐ข
โข โ Fewer bars = More signals, faster, more sensitive โก
Channel 1 Multiplier (0.14):
โข โ Higher = Wide bands, fewer signals, only strong movements ๐ช
โข โ Lower = Narrow bands, more signals, greater sensitivity ๐ฏ
Channel 2 Period (388):
โข โ Higher = Strict confirmation, fewer signals ๐ก๏ธ
โข โ Lower = More signals, less filtering ๐
Channel 2 Multiplier (0.11):
โข โ Higher = Strict filtering, conservative ๐ฏ
โข โ Lower = Higher sensitivity, more trades โก
Stop Loss Ratio (50%):
โข 50% = 1:2 ratio (professional balance: risk 1, profit 2) โ๏ธ
โข โ Towards 100% = Wide SL, more risk, fewer stop outs, worse R:R ๐
โข โ Towards 1% = Tight SL, less risk, better R:R, more stop outs ๐
๐ Key Considerations
โข Market memory ๐ง : Records price extremes from last signal for realistic and unique projections
โข TP/SL never equal โ๏ธ: Each trade has levels calculated according to its specific context
โข Mandatory dual confirmation for 2 consecutive bars โ
โ
โข Only one active signal at a time โ ๏ธ
โข Channels constantly recalculate adapting to market ๐
โข Boxes extend visually to maintain visibility ๐
๐ 10,000+ traders already use our TOP indicators๐
๐ Get all our TOP systems here:
_______________________________________________
๐ Market Structure Indicators
ยท โ AdvancedMarket Structure: Bos, Choch, SwinLevels, Order Blocks, Market Structure& Liquidity Finder
ยท ๐ Dynamic Market StructureAnalysis of Turning Points
ยท ๐งฑ Order Block
ยท โ๏ธ Market Imbalance
ยท โ๏ธ BOS & CHOCH
ยท ๐ง ICT Power of 3
ยท ๐ Market Polarity Zones
_______________________________________________
๐ Smart Exit Systems
ยท ๐ Trailing Smart Algorithm
_______________________________________________
๐ ZigZag Indicators
ยท ๐ ZigZag Price LiquidityProjection
ยท ๐งญ S&R Structural ZigZag
ยท โ ZigZag
ยท ๐ฏ Zig-Zag Extremity Tracker
_______________________________________________
๐งฑ Support & Resistance Indicators
ยท ๐ฉ SmartTrend Support &Resistance Lines
ยท ๐งฑ All Support and ResistanceLevels
_______________________________________________
๐ Trend & Channel Indicators
ยท ๐ Auto-Trend Channel
ยท ๐ Supertrend
ยท โกMomentum Trend Analyzer
ยท ๐ง Adaptive Trend Channel
ยท ๐ฅ Channel Breakout System
ยท ๐ Dynamic Trend Gradient
ยท โญ PREMIUM SSL CHANNEL
ยท ๐ Reactive Moving Average
_______________________________________________
๐ง Volume & Liquidity Tools
ยท ๐ฅ Volume POC Heatmap
ยท ๐ Leverage Liquidation Map
ยท ๐ Momentum Fair Value Gap
ยท ๐ Fair Value Gap Sessions
_______________________________________________
โก Momentum & RSI Indicators
ยท ๐ RSI Trend Trigger
ยท ๐ Dynamic Range Momentum
ยท ๐ Multi-Level Candle Bias
Tracker
_______________________________________________
๐ฎ Prediction & Projection Tools
ยท ๐ Prediction Based on Linreg& ATR
ยท ๐ Fibonacci Linear RegressionMulti-timeframe
ยท ๐ Volume-Powered Market Flow Projector
5 | 100 % | |
4 | 0 % | |
3 | 0 % | |
2 | 0 % | |
1 | 0 % |