OPEN-SOURCE SCRIPT
ICT A+ Setup MNQ Scalper

This script is an ICT-inspired scalping indicator designed mainly for Micro NASDAQ Futures (MNQ) on the 1-minute and 5-minute charts.
It tries to identify high-probability (“A+”) setups using three main ICT concepts together:
Market Structure Shift (MSS)
Liquidity Sweeps
Fair Value Gaps (FVG)
When all conditions align, it gives:
Buy/Sell signal
Stop Loss (SL)
Take Profit 1 (TP1)
Take Profit 2 (TP2)
⸻
How the Indicator Works
1. Market Structure Shift (MSS)
The script first detects swing highs and swing lows.
It checks whether price breaks:
Above previous swing high → bullish MSS
Below previous swing low → bearish MSS
This is the trend confirmation part.
Bullish MSS
Price closes above previous structure high.
Bearish MSS
Price closes below previous structure low.
This helps avoid random entries against momentum.
⸻
2. Liquidity Sweep Detection
The script looks for stop hunts.
Buy-side sweep
Price sweeps below recent lows and then closes bullish.
Sell-side sweep
Price sweeps above recent highs and then closes bearish.
This is a classic ICT liquidity grab concept.
The indicator assumes smart money takes liquidity before reversing.
⸻
3. Fair Value Gap (FVG)
The script detects imbalance zones.
Bullish FVG
Current candle low is above the high from 2 candles ago.
Bearish FVG
Current candle high is below the low from 2 candles ago.
These gaps show displacement/momentum.
The script draws them automatically as colored boxes:
Green = bullish FVG
Red = bearish FVG
⸻
A+ Setup Logic
The script only gives a signal when ALL 3 conditions align.
BUY Signal
Requires:
Bullish MSS
Buy-side liquidity sweep
Bullish FVG
SELL Signal
Requires:
Bearish MSS
Sell-side liquidity sweep
Bearish FVG
This filtering removes many weak setups.
⸻
Stop Loss (SL)
The script uses ATR (Average True Range).
ATR measures volatility.
Long SL
Placed below the candle low.
Short SL
Placed above the candle high.
This creates dynamic stop losses based on market volatility.
⸻
Take Profits
The script uses Risk:Reward ratios.
Default:
TP1 = 1.5R
TP2 = 3R
Example:
If your stop is 20 points:
TP1 = 30 points
TP2 = 60 points
⸻
Visual Elements
Green “A+ BUY”
Shows bullish entry.
Red “A+ SELL”
Shows bearish entry.
Small circles
Show Market Structure Shifts.
Small triangles
Show liquidity sweeps.
Colored boxes
Show Fair Value Gaps.
⸻
Alerts
The script includes TradingView alerts.
You can create:
Buy alerts
Sell alerts
Webhook alerts for Telegram
Mobile notifications
⸻
Best Use Cases
Works best during:
NY Open
High volatility sessions
Trend continuation days
Especially good for:
MNQ
NQ
XAUUSD
NASDAQ CFDs
⸻
Strengths
Good Confluence
Combines multiple ICT concepts together.
Cleaner Entries
Avoids many random signals.
Dynamic Risk Management
Uses ATR-based SL.
Beginner Friendly
Easy visual signals.
Mobile Friendly
Works well on TradingView mobile.
⸻
Weaknesses
Not Holy Grail
No indicator is 100% accurate.
Can Lag
MSS confirmation requires candle closes.
False Signals During Chop
Sideways markets can still trigger setups.
Needs Session Filtering
Best results come during killzones.
⸻
Expected Accuracy
With:
Proper session filtering
HTF bias
Risk management
News avoidance
You may realistically achieve:
55%–75% win rate
The high RR can still make it profitable even with losses.
It tries to identify high-probability (“A+”) setups using three main ICT concepts together:
Market Structure Shift (MSS)
Liquidity Sweeps
Fair Value Gaps (FVG)
When all conditions align, it gives:
Buy/Sell signal
Stop Loss (SL)
Take Profit 1 (TP1)
Take Profit 2 (TP2)
⸻
How the Indicator Works
1. Market Structure Shift (MSS)
The script first detects swing highs and swing lows.
It checks whether price breaks:
Above previous swing high → bullish MSS
Below previous swing low → bearish MSS
This is the trend confirmation part.
Bullish MSS
Price closes above previous structure high.
Bearish MSS
Price closes below previous structure low.
This helps avoid random entries against momentum.
⸻
2. Liquidity Sweep Detection
The script looks for stop hunts.
Buy-side sweep
Price sweeps below recent lows and then closes bullish.
Sell-side sweep
Price sweeps above recent highs and then closes bearish.
This is a classic ICT liquidity grab concept.
The indicator assumes smart money takes liquidity before reversing.
⸻
3. Fair Value Gap (FVG)
The script detects imbalance zones.
Bullish FVG
Current candle low is above the high from 2 candles ago.
Bearish FVG
Current candle high is below the low from 2 candles ago.
These gaps show displacement/momentum.
The script draws them automatically as colored boxes:
Green = bullish FVG
Red = bearish FVG
⸻
A+ Setup Logic
The script only gives a signal when ALL 3 conditions align.
BUY Signal
Requires:
Bullish MSS
Buy-side liquidity sweep
Bullish FVG
SELL Signal
Requires:
Bearish MSS
Sell-side liquidity sweep
Bearish FVG
This filtering removes many weak setups.
⸻
Stop Loss (SL)
The script uses ATR (Average True Range).
ATR measures volatility.
Long SL
Placed below the candle low.
Short SL
Placed above the candle high.
This creates dynamic stop losses based on market volatility.
⸻
Take Profits
The script uses Risk:Reward ratios.
Default:
TP1 = 1.5R
TP2 = 3R
Example:
If your stop is 20 points:
TP1 = 30 points
TP2 = 60 points
⸻
Visual Elements
Green “A+ BUY”
Shows bullish entry.
Red “A+ SELL”
Shows bearish entry.
Small circles
Show Market Structure Shifts.
Small triangles
Show liquidity sweeps.
Colored boxes
Show Fair Value Gaps.
⸻
Alerts
The script includes TradingView alerts.
You can create:
Buy alerts
Sell alerts
Webhook alerts for Telegram
Mobile notifications
⸻
Best Use Cases
Works best during:
NY Open
High volatility sessions
Trend continuation days
Especially good for:
MNQ
NQ
XAUUSD
NASDAQ CFDs
⸻
Strengths
Good Confluence
Combines multiple ICT concepts together.
Cleaner Entries
Avoids many random signals.
Dynamic Risk Management
Uses ATR-based SL.
Beginner Friendly
Easy visual signals.
Mobile Friendly
Works well on TradingView mobile.
⸻
Weaknesses
Not Holy Grail
No indicator is 100% accurate.
Can Lag
MSS confirmation requires candle closes.
False Signals During Chop
Sideways markets can still trigger setups.
Needs Session Filtering
Best results come during killzones.
⸻
Expected Accuracy
With:
Proper session filtering
HTF bias
Risk management
News avoidance
You may realistically achieve:
55%–75% win rate
The high RR can still make it profitable even with losses.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน