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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.