PROTECTED SOURCE SCRIPT
Lavender Multi-Signal Momentum Strategy

Overview
The Lavender strategy is a sophisticated momentum-based trading system specifically optimized for Tesla (TSLA) on the 15-minute timeframe. It combines multiple technical signals to identify high-probability long entries during strong trending conditions.
Key Features
🎯 Multi-Signal Entry System
The strategy uses 4 distinct signal types that can be enabled/disabled individually:
Supertrend Pullback (Default: ON)
Identifies pullbacks in uptrends using Supertrend (ATR: 9, Factor: 0.5)
Enters when price retests EMA9-20 zone during bullish Supertrend
Donchian Breakout + Z-Score Momentum (Default: ON)
53-period Donchian channel breakouts
Combined with 35-period Z-Score momentum filter
Only triggers with positive momentum confirmation
Keltner Squeeze Expansion (Default: OFF)
Detects volatility squeeze conditions
Enters on breakout above Keltner Channel after compression
Opening Range Breakout (ORB) (Default: ON)
Tracks first hour range (9:30-10:30 AM)
Triggers on breakout above opening range high
🧭 Trend Regime Filter
EMA Trend Filter: 20 EMA > 100 EMA (Default: ON)
ADX Strength Filter: ADX > 22 with 15/13 smoothing (Default: ON)
Only trades when both trend conditions align
💵 Advanced Risk Management
Risk per Trade: 2.0% of capital (Default)
ATR-Based Stop Loss: 15-period ATR × 1.6 multiplier
Risk/Reward Ratio: 4:1 (Default)
Position Sizing: Automatic based on stop distance
Capital Options: Dynamic equity or fixed capital ($200,000 default)
⚙️ Execution Control
Candle Close Entries: Prevents intrabar noise (Default: ON)
Candle Close Exits: Stop loss and take profit only at bar close (Default: ON)
Trading Session: 9:00 AM - 4:00 PM (Default)
Trading Days: Monday-Saturday (Default: 123456)
Default Settings Summary
ParameterDefault ValuePurposeRisk per Trade2.0%Capital risk percentageATR Length15Stop loss calculationATR Multiplier1.6Stop distance factorRisk/Reward4.0Take profit multiplierEMA Fast20Short-term trendEMA Slow100Long-term trendADX Threshold22Minimum trend strengthMin Signals Required1Entry trigger thresholdInitial Capital$200,000Backtesting capital
How It Works
Trend Confirmation: Checks EMA alignment and ADX strength
Signal Generation: Scans for active momentum signals
Entry Execution: Enters when minimum signal threshold is met
Risk Management: Calculates position size based on ATR stop
Exit Management: Manages trades with 4:1 risk/reward ratio
Best Use Cases
Tesla (TSLA) on 15-minute charts
Trending market conditions
Intraday momentum trading
Markets with clear directional bias
Visual Indicators
Blue Line: 100-period EMA (trend filter)
Green/Red Line: Supertrend indicator
Teal Line: Donchian channel high
Purple Triangles: Keltner breakout signals
Orange Arrows: Opening range breakouts
Green Dots: Combined entry signals
Red/Green Lines: Active stop loss and take profit levels
Risk Disclaimer
This strategy is optimized for Tesla's specific price behavior on 15-minute timeframes. Past performance does not guarantee future results. Always test thoroughly and manage risk appropriately.
Created by kevloewe - Specialized for TSLA 15M momentum trading
The Lavender strategy is a sophisticated momentum-based trading system specifically optimized for Tesla (TSLA) on the 15-minute timeframe. It combines multiple technical signals to identify high-probability long entries during strong trending conditions.
Key Features
🎯 Multi-Signal Entry System
The strategy uses 4 distinct signal types that can be enabled/disabled individually:
Supertrend Pullback (Default: ON)
Identifies pullbacks in uptrends using Supertrend (ATR: 9, Factor: 0.5)
Enters when price retests EMA9-20 zone during bullish Supertrend
Donchian Breakout + Z-Score Momentum (Default: ON)
53-period Donchian channel breakouts
Combined with 35-period Z-Score momentum filter
Only triggers with positive momentum confirmation
Keltner Squeeze Expansion (Default: OFF)
Detects volatility squeeze conditions
Enters on breakout above Keltner Channel after compression
Opening Range Breakout (ORB) (Default: ON)
Tracks first hour range (9:30-10:30 AM)
Triggers on breakout above opening range high
🧭 Trend Regime Filter
EMA Trend Filter: 20 EMA > 100 EMA (Default: ON)
ADX Strength Filter: ADX > 22 with 15/13 smoothing (Default: ON)
Only trades when both trend conditions align
💵 Advanced Risk Management
Risk per Trade: 2.0% of capital (Default)
ATR-Based Stop Loss: 15-period ATR × 1.6 multiplier
Risk/Reward Ratio: 4:1 (Default)
Position Sizing: Automatic based on stop distance
Capital Options: Dynamic equity or fixed capital ($200,000 default)
⚙️ Execution Control
Candle Close Entries: Prevents intrabar noise (Default: ON)
Candle Close Exits: Stop loss and take profit only at bar close (Default: ON)
Trading Session: 9:00 AM - 4:00 PM (Default)
Trading Days: Monday-Saturday (Default: 123456)
Default Settings Summary
ParameterDefault ValuePurposeRisk per Trade2.0%Capital risk percentageATR Length15Stop loss calculationATR Multiplier1.6Stop distance factorRisk/Reward4.0Take profit multiplierEMA Fast20Short-term trendEMA Slow100Long-term trendADX Threshold22Minimum trend strengthMin Signals Required1Entry trigger thresholdInitial Capital$200,000Backtesting capital
How It Works
Trend Confirmation: Checks EMA alignment and ADX strength
Signal Generation: Scans for active momentum signals
Entry Execution: Enters when minimum signal threshold is met
Risk Management: Calculates position size based on ATR stop
Exit Management: Manages trades with 4:1 risk/reward ratio
Best Use Cases
Tesla (TSLA) on 15-minute charts
Trending market conditions
Intraday momentum trading
Markets with clear directional bias
Visual Indicators
Blue Line: 100-period EMA (trend filter)
Green/Red Line: Supertrend indicator
Teal Line: Donchian channel high
Purple Triangles: Keltner breakout signals
Orange Arrows: Opening range breakouts
Green Dots: Combined entry signals
Red/Green Lines: Active stop loss and take profit levels
Risk Disclaimer
This strategy is optimized for Tesla's specific price behavior on 15-minute timeframes. Past performance does not guarantee future results. Always test thoroughly and manage risk appropriately.
Created by kevloewe - Specialized for TSLA 15M momentum trading
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.