VIBE QSFM-00508939 S v1.0 Indicator Pine by Panduck

# VIBE QSFM-00508939 S v1.0 Indicator Pine
Short EMA rejection with bearish completed H1/H2/H4 filters, a fixed stop and a fixed target. No trailing stop or breakeven adjustment.
## Installation and alerts
1. Paste the entire Indicator Pine file into a NEW TradingView indicator. Save and add to standard OANDA:XAUUSD, 5-minute candles.
2. Choose Mode = Live for future signals. Live has no expiry and allows one virtual position. It defaults to a June 3, 2026 source seed. Load sufficient history; missing seed context can change the H4 EMA and signals. At least 241 source bars are required. Live does not inherit a Deep Backtesting report's history.
3. Keep PREPARE, EXECUTE and MODEL EXIT toggles enabled as desired. Create ONE TradingView alert, selecting this indicator and Any alert() function call. Choose your preferred app/phone/sound notifications and expiration.
4. Recreate the alert after changing code, inputs, mode, symbol or timeframe; the server uses a saved copy. Historical markers do not send past alerts. Do not create duplicate alerts for the same event set.
5. Compilation, chart overlay and realtime notification delivery need checking in TradingView. Numerical model verification is separate from those checks.
## Alert meanings
- PREPARE is a provisional heads-up during an unfinished M5 candle: bearish EMA touch, small body, current HTF/session/rank/history/capacity gates, and close no higher than EMA20 plus $0.50 by default. It can cancel. Do not enter from PREPARE alone. The adjustable tolerance changes only this heads-up, not the tested entry rule. At most one per developing bar.
- EXECUTE requires every exact rule at candle close, including close strictly below EMA20. If taking the trade, enter at the next available candle. PREPARE is not a prerequisite. Message prices are estimates from signal close, not confirmation of your broker fill.
- MODEL EXIT reports a completed chart candle touching the existing model SL or TP, giving SL priority if both touch. This does not certify a broker exit. Broker protection acts when its executable price is reached; do not wait for the candle-close message.
Distinct event types can occur at the same close. The indicator cannot place, size or amend orders, see your fill, or know which signals you skip. Skipped signals still create virtual trades and can block later model signals. Check your actual broker position independently.
## Fixed protection — neither level trails
Use your actual short fill E:
- SL = E + $6.00.
- TP = E − $6.90.
Example: short4300 means SL4306 and TP4293.10. Place both immediately and keep them fixed. There is no MOVE SL alert, trailing activation or automatic breakeven rule. Gold price dollars are not pips/ticks or account-risk amounts. Broker bid/ask, spread and manual fills can differ from chart references.
## Exact method and timing
Weekday signal candles open during 11:00–11:59 UTC. Confirmations occur 11:05–12:00 UTC, or 18:05–19:00 Bangkok. Enter next available bar, not retroactively at the signal candle's earlier price.
Require high >= current M5 EMA20, close < EMA20, close < open, body <= 0.55 ATR14, inclusive ATR rank120 in20%–85%. Completed H1 close < H1 EMA50, H2 close < H2 EMA20, custom H4 close < H4 EMA50. H4 begins03/07/11/15/19/23 UTC, without seasonal shifts. HTF buckets require12/24/48 M5 bars; incomplete buckets are skipped without EMA updates. All EMAs seed first accepted close; ATR14 seeds the mean of first14 true ranges, then Wilder smoothing. Rank includes current ATR and ties <= current. First eligible source bar index240. No additional RSI directional, momentum, range or retest filters. Zero-minute entry cooldown.
## Display and comparison modes
The criteria table shows each HTF filter, EMA rejection, ATR rank, history and capacity, plus newest model entry/SL/TP and last event. Position and visual toggles are configurable; historical statistics are optional and hidden by default. Historical training cap5 manages each ID separately, while plots/table show the newest model trade only.
Original backtest uses Jan1,2025 23:00 UTC–May27,2026 11:45 UTC, capacity5. Forward reference uses June3–Oct16,2026 09:10 UTC exclusive, capacity1. Both are historical modes with end dates; return to Live for future signals. Full seed coverage is necessary for meaningful historical comparison. The original forward feed/seed context is not fully confirmed. Capacity1 generation approximates the source's raw capacity5 followed by safety overlap filtering.
## Historical results — separate samples, not forecasts
- Original source training:40 closed trades,32wins/8losses,80%,net$28,800,capacity5,Jan2025–May2026. Capacity1 alternative:22trades/17wins,77.27%,net$14,550.
- Source forward:16 accepted trades,8wins/8losses,50%,net$1,200,June–October2026;3 of19raw trades were rejected for overlap.
- TradingView Strategy v1.0 Last365days:23trades/18wins,78.26%,net$15,699.37,PF4.14,intrabarDD$2,734.06. All23times/prices match a shorter-history replay. Compared with full source,18earlier trades were outside the window,22matched and1extraOctober21trade reflected a different H4EMA initialization. Exact TradingView calculation start is unconfirmed. Full40trade TradingView comparison remains unverified.
The indicator model translation reproduced all40 source training trades atcapacity5 and22 atcapacity1. This is not a Pine compilation test. Source conservative stop-first exits can differ from the native Strategy Tester intrabar path. Historical win rates do not predict future results.
Official alert documentation: tradingview.com/pine-script-docs/concepts/alerts/
Short EMA rejection with bearish completed H1/H2/H4 filters, a fixed stop and a fixed target. No trailing stop or breakeven adjustment.
## Installation and alerts
1. Paste the entire Indicator Pine file into a NEW TradingView indicator. Save and add to standard OANDA:XAUUSD, 5-minute candles.
2. Choose Mode = Live for future signals. Live has no expiry and allows one virtual position. It defaults to a June 3, 2026 source seed. Load sufficient history; missing seed context can change the H4 EMA and signals. At least 241 source bars are required. Live does not inherit a Deep Backtesting report's history.
3. Keep PREPARE, EXECUTE and MODEL EXIT toggles enabled as desired. Create ONE TradingView alert, selecting this indicator and Any alert() function call. Choose your preferred app/phone/sound notifications and expiration.
4. Recreate the alert after changing code, inputs, mode, symbol or timeframe; the server uses a saved copy. Historical markers do not send past alerts. Do not create duplicate alerts for the same event set.
5. Compilation, chart overlay and realtime notification delivery need checking in TradingView. Numerical model verification is separate from those checks.
## Alert meanings
- PREPARE is a provisional heads-up during an unfinished M5 candle: bearish EMA touch, small body, current HTF/session/rank/history/capacity gates, and close no higher than EMA20 plus $0.50 by default. It can cancel. Do not enter from PREPARE alone. The adjustable tolerance changes only this heads-up, not the tested entry rule. At most one per developing bar.
- EXECUTE requires every exact rule at candle close, including close strictly below EMA20. If taking the trade, enter at the next available candle. PREPARE is not a prerequisite. Message prices are estimates from signal close, not confirmation of your broker fill.
- MODEL EXIT reports a completed chart candle touching the existing model SL or TP, giving SL priority if both touch. This does not certify a broker exit. Broker protection acts when its executable price is reached; do not wait for the candle-close message.
Distinct event types can occur at the same close. The indicator cannot place, size or amend orders, see your fill, or know which signals you skip. Skipped signals still create virtual trades and can block later model signals. Check your actual broker position independently.
## Fixed protection — neither level trails
Use your actual short fill E:
- SL = E + $6.00.
- TP = E − $6.90.
Example: short4300 means SL4306 and TP4293.10. Place both immediately and keep them fixed. There is no MOVE SL alert, trailing activation or automatic breakeven rule. Gold price dollars are not pips/ticks or account-risk amounts. Broker bid/ask, spread and manual fills can differ from chart references.
## Exact method and timing
Weekday signal candles open during 11:00–11:59 UTC. Confirmations occur 11:05–12:00 UTC, or 18:05–19:00 Bangkok. Enter next available bar, not retroactively at the signal candle's earlier price.
Require high >= current M5 EMA20, close < EMA20, close < open, body <= 0.55 ATR14, inclusive ATR rank120 in20%–85%. Completed H1 close < H1 EMA50, H2 close < H2 EMA20, custom H4 close < H4 EMA50. H4 begins03/07/11/15/19/23 UTC, without seasonal shifts. HTF buckets require12/24/48 M5 bars; incomplete buckets are skipped without EMA updates. All EMAs seed first accepted close; ATR14 seeds the mean of first14 true ranges, then Wilder smoothing. Rank includes current ATR and ties <= current. First eligible source bar index240. No additional RSI directional, momentum, range or retest filters. Zero-minute entry cooldown.
## Display and comparison modes
The criteria table shows each HTF filter, EMA rejection, ATR rank, history and capacity, plus newest model entry/SL/TP and last event. Position and visual toggles are configurable; historical statistics are optional and hidden by default. Historical training cap5 manages each ID separately, while plots/table show the newest model trade only.
Original backtest uses Jan1,2025 23:00 UTC–May27,2026 11:45 UTC, capacity5. Forward reference uses June3–Oct16,2026 09:10 UTC exclusive, capacity1. Both are historical modes with end dates; return to Live for future signals. Full seed coverage is necessary for meaningful historical comparison. The original forward feed/seed context is not fully confirmed. Capacity1 generation approximates the source's raw capacity5 followed by safety overlap filtering.
## Historical results — separate samples, not forecasts
- Original source training:40 closed trades,32wins/8losses,80%,net$28,800,capacity5,Jan2025–May2026. Capacity1 alternative:22trades/17wins,77.27%,net$14,550.
- Source forward:16 accepted trades,8wins/8losses,50%,net$1,200,June–October2026;3 of19raw trades were rejected for overlap.
- TradingView Strategy v1.0 Last365days:23trades/18wins,78.26%,net$15,699.37,PF4.14,intrabarDD$2,734.06. All23times/prices match a shorter-history replay. Compared with full source,18earlier trades were outside the window,22matched and1extraOctober21trade reflected a different H4EMA initialization. Exact TradingView calculation start is unconfirmed. Full40trade TradingView comparison remains unverified.
The indicator model translation reproduced all40 source training trades atcapacity5 and22 atcapacity1. This is not a Pine compilation test. Source conservative stop-first exits can differ from the native Strategy Tester intrabar path. Historical win rates do not predict future results.
Official alert documentation: tradingview.com/pine-script-docs/concepts/alerts/
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน