OPEN-SOURCE SCRIPT
Smart MTF Fair Value Gap Strategy

The Multi-Timeframe Fair Value Gap (FVG) Strategy is designed to identify institutional imbalance zones (Fair Value Gaps) from a higher timeframe and trade them efficiently on the current chart timeframe.
🔹 Core Logic
Detects Bullish FVGs when there’s a gap between a prior higher-timeframe high and the following low.
Detects Bearish FVGs when there’s a gap between a prior higher-timeframe low and the following high.
Zones are plotted as colored boxes (green for bullish, red for bearish).
When price re-enters a zone, the strategy automatically places trades with defined stop-loss and take-profit levels.
🔹 Risk Management
Stop-loss is set at the opposite side of the zone.
Take-profit is calculated using a customizable Risk:Reward ratio (default 2:1).
Adjustable position sizing and execution rules (enter on touch or require strict close inside zone).
🔹 Inputs & Features
Higher Timeframe selection (e.g., H1, H4, Daily).
Customizable box width for better visualization.
Toggle to show/hide zones.
Strict entry filter to avoid premature signals.
Works in both long and short directions.
⚡ This strategy provides a simple yet powerful way to visualize institutional FVG levels and test structured entries around them with proper risk management.
🔹 Core Logic
Detects Bullish FVGs when there’s a gap between a prior higher-timeframe high and the following low.
Detects Bearish FVGs when there’s a gap between a prior higher-timeframe low and the following high.
Zones are plotted as colored boxes (green for bullish, red for bearish).
When price re-enters a zone, the strategy automatically places trades with defined stop-loss and take-profit levels.
🔹 Risk Management
Stop-loss is set at the opposite side of the zone.
Take-profit is calculated using a customizable Risk:Reward ratio (default 2:1).
Adjustable position sizing and execution rules (enter on touch or require strict close inside zone).
🔹 Inputs & Features
Higher Timeframe selection (e.g., H1, H4, Daily).
Customizable box width for better visualization.
Toggle to show/hide zones.
Strict entry filter to avoid premature signals.
Works in both long and short directions.
⚡ This strategy provides a simple yet powerful way to visualize institutional FVG levels and test structured entries around them with proper risk management.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
✨ Shared Success | Trusted Growth ✨
🚀 Profit Sharing 50/50 – Discipline & Transparency
📊 Free Signals: 👉 t.me/MSKHANTRADR35
💼 Account Management: DM me or join the channel
🚀 Profit Sharing 50/50 – Discipline & Transparency
📊 Free Signals: 👉 t.me/MSKHANTRADR35
💼 Account Management: DM me or join the channel
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
✨ Shared Success | Trusted Growth ✨
🚀 Profit Sharing 50/50 – Discipline & Transparency
📊 Free Signals: 👉 t.me/MSKHANTRADR35
💼 Account Management: DM me or join the channel
🚀 Profit Sharing 50/50 – Discipline & Transparency
📊 Free Signals: 👉 t.me/MSKHANTRADR35
💼 Account Management: DM me or join the channel
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน