INVITE-ONLY SCRIPT
V1 Long Trade EMA Elasticity Signal + Backtest

🎯 Concept
This strategy exploits the elastic behavior between two EMAs (fast & slow). When price stretches too far below the slow EMA (like a rubber band), it tends to snap back — creating a high-probability long entry. When price stretches too far above, positions are closed for profit.
🔧 How It Works
Entry Logic (Long Only)
A buy signal triggers when the fast EMA (default: 3) drops below the slow EMA (default: 90) by a percentage threshold. This "elasticity gap" indicates an oversold stretch likely to revert.
Exit Logic — Profit-Guaranteed Close
Positions are only closed when:
The fast EMA crosses back above the slow EMA by the sell threshold
AND the candle's LOW is above entry price + a safety margin — ensuring real profit even with slippage
Adaptive ATR Filter
The entry/exit thresholds dynamically adjust to market volatility using ATR, preventing false signals in choppy markets and catching bigger moves in trending ones.
📊 Features
EMA Fan (Ribbon): Visual spread of intermediate EMAs between fast & slow — yellow = bullish, red = bearish
Multi-position pyramiding: Up to 50 simultaneous long entries, each independently tracked with unique IDs
Real-time info panel: Displays EMA values, elasticity gap %, open positions, ready/locked status, PnL, and win rate
Built-in filters (optional): EMA 200 trend filter, RSI oversold confirmation, volume filter, time-of-day filter
Color-coded zones: Green background = buy zone, red background = exit zone
⚙️ Key Parameters
ParameterDefaultDescriptionFast EMA3Reactive EMA for signal detectionSlow EMA90Anchor EMA for mean reversionBuy Threshold0.5%Min gap to trigger entrySell Threshold0.5%Min gap to trigger exitATR AdaptiveONAuto-adjusts thresholds to volatilityProfit Margin0.5%Safety buffer above entry price for exitsPosition Size5% equityPer-signal allocationMax Positions20Simultaneous open longs
💡 Best Use Cases
Crypto (BTC, ETH, altcoins) — high volatility = strong elastic snaps
Indices & Stocks — works on trending assets with regular pullbacks
Multiple timeframes — tested on 15m to Daily
⚠️ Notes
Long only — no short signals
Commission set at 0.04% (exchange-realistic for crypto)
Slippage: 1 tick
The profit margin check uses the candle LOW (worst case) to avoid paper profits that vanish on execution
All filters are OFF by default for maximum signal generation — enable them to increase selectivity
This strategy exploits the elastic behavior between two EMAs (fast & slow). When price stretches too far below the slow EMA (like a rubber band), it tends to snap back — creating a high-probability long entry. When price stretches too far above, positions are closed for profit.
🔧 How It Works
Entry Logic (Long Only)
A buy signal triggers when the fast EMA (default: 3) drops below the slow EMA (default: 90) by a percentage threshold. This "elasticity gap" indicates an oversold stretch likely to revert.
Exit Logic — Profit-Guaranteed Close
Positions are only closed when:
The fast EMA crosses back above the slow EMA by the sell threshold
AND the candle's LOW is above entry price + a safety margin — ensuring real profit even with slippage
Adaptive ATR Filter
The entry/exit thresholds dynamically adjust to market volatility using ATR, preventing false signals in choppy markets and catching bigger moves in trending ones.
📊 Features
EMA Fan (Ribbon): Visual spread of intermediate EMAs between fast & slow — yellow = bullish, red = bearish
Multi-position pyramiding: Up to 50 simultaneous long entries, each independently tracked with unique IDs
Real-time info panel: Displays EMA values, elasticity gap %, open positions, ready/locked status, PnL, and win rate
Built-in filters (optional): EMA 200 trend filter, RSI oversold confirmation, volume filter, time-of-day filter
Color-coded zones: Green background = buy zone, red background = exit zone
⚙️ Key Parameters
ParameterDefaultDescriptionFast EMA3Reactive EMA for signal detectionSlow EMA90Anchor EMA for mean reversionBuy Threshold0.5%Min gap to trigger entrySell Threshold0.5%Min gap to trigger exitATR AdaptiveONAuto-adjusts thresholds to volatilityProfit Margin0.5%Safety buffer above entry price for exitsPosition Size5% equityPer-signal allocationMax Positions20Simultaneous open longs
💡 Best Use Cases
Crypto (BTC, ETH, altcoins) — high volatility = strong elastic snaps
Indices & Stocks — works on trending assets with regular pullbacks
Multiple timeframes — tested on 15m to Daily
⚠️ Notes
Long only — no short signals
Commission set at 0.04% (exchange-realistic for crypto)
Slippage: 1 tick
The profit margin check uses the candle LOW (worst case) to avoid paper profits that vanish on execution
All filters are OFF by default for maximum signal generation — enable them to increase selectivity
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 MustangAlgo에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
Pour moi
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 MustangAlgo에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
Pour moi
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.