PROTECTED SOURCE SCRIPT
Aggiornato Dynamic DCA Envelope – Beta V1.1

Dynamic DCA Envelope-Beta V1.1 is a preview version of a Dollar-Cost Averaging (DCA) strategy designed for trending or volatile markets.
-Long Positions Only
-Intended for Cryptocurrency, but can be used in any market
-1 and 4 hour timeframe
-Average Commissions 0.1%-0.3% per trade (Cryptocurrency)
What it does:
This strategy identifies buying opportunities when price closes below a dynamic envelope (based on EMA). After 3 consecutive closes below the lower envelope, the system arms a buy condition. A DCA buy-in is triggered when price bounces by a configurable percentage from the trailing low. The strategy supports up to 3 buy-ins, each equally sized, and closes the entire position at a fixed take profit or stop loss.
How it works:
-Entry logic is based on price deviation from an EMA envelope
-Waits for 3 closes below the envelope to detect weakness
-Uses bounce percentage from the lowest point to trigger each buy
-Includes cooldown logic between buys to avoid clustering
-All positions are closed when TP or SL is hit
How to use it:
-Use on trending assets with volatility (e.g., crypto, tech stocks)
-Adjust inputs to match asset behavior:
-EMA Length
-Envelope Offset %
-Bounce % (Trailing DCA)
-Take Profit / Stop Loss
-View strategy performance in the Strategy Tester tab
What’s unique:
Unlike most DCA scripts that immediately average down, this version includes:
-Trigger logic requiring multiple closes below trend
-Bounce-based entry to avoid catching a falling knife
-Cooldown resets to prevent overtrading
-A true entry–wait–buy–reset loop mimicking disciplined execution
*This is a beta version intended as a preview. A full Pro version is in development, which includes:
-SmartScaling logic
-Trailing take profit
-Multi-symbol scanning
-Backtest range limits
-Risk-adjusted filtering
-Long Positions Only
-Intended for Cryptocurrency, but can be used in any market
-1 and 4 hour timeframe
-Average Commissions 0.1%-0.3% per trade (Cryptocurrency)
What it does:
This strategy identifies buying opportunities when price closes below a dynamic envelope (based on EMA). After 3 consecutive closes below the lower envelope, the system arms a buy condition. A DCA buy-in is triggered when price bounces by a configurable percentage from the trailing low. The strategy supports up to 3 buy-ins, each equally sized, and closes the entire position at a fixed take profit or stop loss.
How it works:
-Entry logic is based on price deviation from an EMA envelope
-Waits for 3 closes below the envelope to detect weakness
-Uses bounce percentage from the lowest point to trigger each buy
-Includes cooldown logic between buys to avoid clustering
-All positions are closed when TP or SL is hit
How to use it:
-Use on trending assets with volatility (e.g., crypto, tech stocks)
-Adjust inputs to match asset behavior:
-EMA Length
-Envelope Offset %
-Bounce % (Trailing DCA)
-Take Profit / Stop Loss
-View strategy performance in the Strategy Tester tab
What’s unique:
Unlike most DCA scripts that immediately average down, this version includes:
-Trigger logic requiring multiple closes below trend
-Bounce-based entry to avoid catching a falling knife
-Cooldown resets to prevent overtrading
-A true entry–wait–buy–reset loop mimicking disciplined execution
*This is a beta version intended as a preview. A full Pro version is in development, which includes:
-SmartScaling logic
-Trailing take profit
-Multi-symbol scanning
-Backtest range limits
-Risk-adjusted filtering
Note di rilascio
Dynamic DCA Envelope-Beta V1.1 is a preview version of a Dollar-Cost Averaging (DCA) strategy designed for trending or volatile markets.-Long Positions Only
-Intended for Cryptocurrency, but can be used in any market
-1 and 4 hour timeframe
-Average Commissions 0.1%-0.3% per trade (Cryptocurrency)
What it does:
This strategy identifies buying opportunities when price closes below a dynamic envelope (based on EMA). After 3 consecutive closes below the lower envelope, the system arms a buy condition. A DCA buy-in is triggered when price bounces by a configurable percentage from the trailing low. The strategy supports up to 3 buy-ins, each equally sized, and closes the entire position at a fixed take profit or stop loss.
How it works:
-Entry logic is based on price deviation from an EMA envelope
-Waits for 3 closes below the envelope to detect weakness
-Uses bounce percentage from the lowest point to trigger each buy
-Includes cooldown logic between buys to avoid clustering
-All positions are closed when TP or SL is hit
How to use it:
-Use on trending assets with volatility (e.g., crypto, tech stocks)
-Adjust inputs to match asset behavior:
-EMA Length
-Envelope Offset %
-Bounce % (Trailing DCA)
-Take Profit / Stop Loss
-View strategy performance in the Strategy Tester tab
What’s unique:
Unlike most DCA scripts that immediately average down, this version includes:
-Trigger logic requiring multiple closes below trend
-Bounce-based entry to avoid catching a falling knife
-Cooldown resets to prevent overtrading
-A true entry–wait–buy–reset loop mimicking disciplined execution
*This is a beta version intended as a preview. A full Pro version is in development, which includes:
-SmartScaling logic
-Trailing take profit
-Multi-symbol scanning
-Backtest range limits
-Risk-adjusted filtering
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.