OPEN-SOURCE SCRIPT
ZOBAKAFXAI – Price Action Swing Setup

The ZOBAKAFXAI Price Action Swing Setup is a swing trading indicator that helps traders identify clear market structure, trend direction, and potential entry/exit zones using EMA and pivot-based price action.
🔹 Features:
✅ Automatically detects swing highs & swing lows (market structure)
✅ EMA-based trend direction filter (EMA50 / EMA200)
✅ Higher timeframe trend filter option (4H bias on lower TFs)
✅ ATR-based Stop Loss & TP calculation
✅ TP1 / TP2 / TP3 based on Risk-to-Reward ratio
✅ Works on all pairs – Forex, Gold, Crypto, Indices
✅ Clean design – ideal for 4H swing trading
🔹 How to Use:
Trade in the direction of the EMA trend
Buy when price forms a higher low above EMA & breaks previous swing high
Sell when price forms a lower high below EMA & breaks previous swing low
Stop Loss = ATR × selected multiplier
TP levels are auto-calculated based on Risk/Reward (2R, 3R, etc.)
⚠ Disclaimer:
This script is for educational and technical analysis purposes only. It is not financial advice. Always use risk management.
🔹 Features:
✅ Automatically detects swing highs & swing lows (market structure)
✅ EMA-based trend direction filter (EMA50 / EMA200)
✅ Higher timeframe trend filter option (4H bias on lower TFs)
✅ ATR-based Stop Loss & TP calculation
✅ TP1 / TP2 / TP3 based on Risk-to-Reward ratio
✅ Works on all pairs – Forex, Gold, Crypto, Indices
✅ Clean design – ideal for 4H swing trading
🔹 How to Use:
Trade in the direction of the EMA trend
Buy when price forms a higher low above EMA & breaks previous swing high
Sell when price forms a lower high below EMA & breaks previous swing low
Stop Loss = ATR × selected multiplier
TP levels are auto-calculated based on Risk/Reward (2R, 3R, etc.)
⚠ Disclaimer:
This script is for educational and technical analysis purposes only. It is not financial advice. Always use risk management.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน