OPEN-SOURCE SCRIPT
Linda Raschke Scalping - Box Signal

Strategy Description (Short & Sharp)
Linda Raschke Scalping is a mean-reversion scalping strategy that combines EMA 20 cross with MACD zero-line crossover, waiting for confirmation from the second event within a maximum of 5 bars.
Core Logic:
Setup: Price crosses EMA 20 (with bullish/bearish candle) OR MACD crosses zero line
Entry: Second event must occur within 5 bars to confirm the signal
Direction: Both price and MACD must align in the same direction
Filters Applied:
MACD Noise Filter – Ignores tiny crossovers below a minimum threshold to avoid whipsaws
Time Filter – Limits trading to specific sessions (e.g., high-liquidity hours)
Best Suited For:
Instruments: Liquid forex pairs (EUR/USD, GBP/USD, USD/JPY), index futures (ES, NQ)
Timeframes: 1-min to 5-min charts (true scalping)
Session: High-volume periods (London open, NY open, London-NY overlap)
Signal Types:
🟢 LONG: Price crosses above EMA 20 → wait for MACD above zero | OR MACD crosses above zero → wait for price above EMA 20
🔴 SHORT: Price crosses below EMA 20 → wait for MACD below zero | OR MACD crosses below zero → wait for price below EMA 20
Key Advantage:
Reduces false signals by requiring dual confirmation from both momentum (MACD) and trend (EMA), plus noise filtering for choppy markets.
Linda Raschke Scalping is a mean-reversion scalping strategy that combines EMA 20 cross with MACD zero-line crossover, waiting for confirmation from the second event within a maximum of 5 bars.
Core Logic:
Setup: Price crosses EMA 20 (with bullish/bearish candle) OR MACD crosses zero line
Entry: Second event must occur within 5 bars to confirm the signal
Direction: Both price and MACD must align in the same direction
Filters Applied:
MACD Noise Filter – Ignores tiny crossovers below a minimum threshold to avoid whipsaws
Time Filter – Limits trading to specific sessions (e.g., high-liquidity hours)
Best Suited For:
Instruments: Liquid forex pairs (EUR/USD, GBP/USD, USD/JPY), index futures (ES, NQ)
Timeframes: 1-min to 5-min charts (true scalping)
Session: High-volume periods (London open, NY open, London-NY overlap)
Signal Types:
🟢 LONG: Price crosses above EMA 20 → wait for MACD above zero | OR MACD crosses above zero → wait for price above EMA 20
🔴 SHORT: Price crosses below EMA 20 → wait for MACD below zero | OR MACD crosses below zero → wait for price below EMA 20
Key Advantage:
Reduces false signals by requiring dual confirmation from both momentum (MACD) and trend (EMA), plus noise filtering for choppy markets.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.