OPEN-SOURCE SCRIPT
Scalping London New York Indicator

Scalping London New York SMA Signal Indicator is a short-term trend-following signal indicator designed for active forex chart analysis, especially on M1 and M5 charts.
The script uses a fast and slow Simple Moving Average to identify the market direction. A buy signal is displayed when the previous confirmed candle is bullish and the fast SMA is above the slow SMA. A sell signal is displayed when the previous confirmed candle is bearish and the fast SMA is below the slow SMA.
The indicator includes a session-style time filter, an optional long-only mode, trend background coloring, and alert conditions for both buy and sell signals. On a 5-minute chart, the moving average periods are automatically adjusted to approximate the original lower-timeframe settings.
Default settings:
Fast SMA: 60
Slow SMA: 280
Time Filter: Enabled
Start Hour: 7
End Hour: 17
Only Long: Disabled
Recommended timeframes: M1 and M5
Recommended market: Forex, especially JPY pairs such as USDJPY
This indicator is intended for chart analysis and signal monitoring only. It does not place trades or perform backtesting.
This script is intended for chart analysis, backtesting support, research, and educational purposes only.
It does not guarantee future performance and should not be considered financial advice.
Please test carefully before using it in any trading decision.
The script uses a fast and slow Simple Moving Average to identify the market direction. A buy signal is displayed when the previous confirmed candle is bullish and the fast SMA is above the slow SMA. A sell signal is displayed when the previous confirmed candle is bearish and the fast SMA is below the slow SMA.
The indicator includes a session-style time filter, an optional long-only mode, trend background coloring, and alert conditions for both buy and sell signals. On a 5-minute chart, the moving average periods are automatically adjusted to approximate the original lower-timeframe settings.
Default settings:
Fast SMA: 60
Slow SMA: 280
Time Filter: Enabled
Start Hour: 7
End Hour: 17
Only Long: Disabled
Recommended timeframes: M1 and M5
Recommended market: Forex, especially JPY pairs such as USDJPY
This indicator is intended for chart analysis and signal monitoring only. It does not place trades or perform backtesting.
This script is intended for chart analysis, backtesting support, research, and educational purposes only.
It does not guarantee future performance and should not be considered financial advice.
Please test carefully before using it in any trading decision.
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.