OPEN-SOURCE SCRIPT
Telah dikemas kini Gold Power Hours Strategy

Strategy: XAUUSD Gold Power Hours
(ideal for Tuesday to Thursday, 8:00–11:30 am NY and 1:30–3:30 pm NY)
Strategy Rules
1️⃣ Timeframe
Trade on 15 min and 1 hour charts
Confirm with the 4 h chart (trend direction)
2️⃣ Entry Conditions
✅ Main trend (confirmation):
50-period Simple Moving Average (SMA50) on the 4h chart
price above = only look for longs
price below = only look for shorts
✅ Momentum (confirmation):
RSI(14) on the 15 min chart
above 55 = bullish strength
below 45 = bearish strength
✅ Volume (validation):
Increasing volume (bar higher than previous) during NY open (8–9 am) or at 1:30 pm
confirms institutional interest
3️⃣ Entry Setup
🟢 Longs (buys):
Price above 4h SMA50
15 min RSI > 55
break of previous resistance (e.g., last hour’s high)
rising volume on the entry candle
👉 Enter on breakout + 2 pips of margin
🔴 Shorts (sells):
Price below 4h SMA50
15 min RSI < 45
break of previous support
rising volume on the entry candle
👉 Enter on breakout – 2 pips of margin
4️⃣ Trade Exits / Management
✅ Take profit (TP):
2 × the risk taken (e.g., SL 20 pips → TP 40 pips)
or the next significant support/resistance on H1
✅ Stop loss (SL):
below the last impulse candle (for longs)
or above the last impulse candle (for shorts)
minimum 15–20 pips to avoid stop hunts
✅ Break-even
move SL to entry point once +15 pips profit is reached
5️⃣ Additional Filters
✅ Avoid trading during red news (NFP, FOMC) until the first spike finishes.
✅ Avoid trading outside these windows:
8:00–11:30 am NY
1:30–3:30 pm NY
-----------
Estrategia: XAUUSD Gold Power Hours
(ideal para martes a jueves, 8:00 – 11:30 am NY y 1:30 – 3:30 pm NY)
Reglas de la estrategia
1️⃣ Marco temporal
Operar en gráficos de 15 min y 1 hora
Confirmaciones con gráfico de 4 h (dirección de tendencia)
2️⃣ Condiciones de entrada
✅ Tendencia principal (confirmación):
Media Móvil Simple de 50 (SMA50) en gráfico 4h
precio por encima = solo buscar compras
precio por debajo = solo buscar ventas
✅ Momentum (confirmación):
RSI(14) en gráfico de 15 min
sobre 55 = fuerza alcista
debajo de 45 = fuerza bajista
✅ Volumen (validación):
Volumen creciente (barra más alta que la anterior) en la apertura NY (8–9 am) o a la 1:30 pm
confirma que hay interés institucional
3️⃣ Setup de entrada
🟢 Largos (compras):
Precio arriba de SMA50 4h
RSI 15 min > 55
rompimiento de resistencia previa (ej. alto de la última hora)
volumen creciente en la vela de entrada
👉 Entrada en rompimiento + 2 pips de margen
🔴 Cortos (ventas):
Precio debajo de SMA50 4h
RSI 15 min < 45
rompimiento de soporte previo
volumen creciente en la vela de entrada
👉 Entrada en rompimiento – 2 pips de margen
4️⃣ Salidas / gestión del trade
✅ Take profit (TP):
2 × riesgo asumido (por ejemplo, SL 20 pips → TP 40 pips)
o siguiente soporte/resistencia mayor en H1
✅ Stop loss (SL):
debajo de la última vela de impulso (para compras)
o encima de la última vela de impulso (para ventas)
mínimo 15–20 pips para evitar barridas
✅ Break-even
mover el SL a punto de entrada cuando se alcance +15 pips de ganancia
5️⃣ Filtros adicionales
✅ Evita operar durante noticias rojas (NFP, FOMC) hasta que el primer spike termine.
✅ Evita operar fuera de las ventanas:
8:00 – 11:30 am NY
1:30 – 3:30 pm NY
(ideal for Tuesday to Thursday, 8:00–11:30 am NY and 1:30–3:30 pm NY)
Strategy Rules
1️⃣ Timeframe
Trade on 15 min and 1 hour charts
Confirm with the 4 h chart (trend direction)
2️⃣ Entry Conditions
✅ Main trend (confirmation):
50-period Simple Moving Average (SMA50) on the 4h chart
price above = only look for longs
price below = only look for shorts
✅ Momentum (confirmation):
RSI(14) on the 15 min chart
above 55 = bullish strength
below 45 = bearish strength
✅ Volume (validation):
Increasing volume (bar higher than previous) during NY open (8–9 am) or at 1:30 pm
confirms institutional interest
3️⃣ Entry Setup
🟢 Longs (buys):
Price above 4h SMA50
15 min RSI > 55
break of previous resistance (e.g., last hour’s high)
rising volume on the entry candle
👉 Enter on breakout + 2 pips of margin
🔴 Shorts (sells):
Price below 4h SMA50
15 min RSI < 45
break of previous support
rising volume on the entry candle
👉 Enter on breakout – 2 pips of margin
4️⃣ Trade Exits / Management
✅ Take profit (TP):
2 × the risk taken (e.g., SL 20 pips → TP 40 pips)
or the next significant support/resistance on H1
✅ Stop loss (SL):
below the last impulse candle (for longs)
or above the last impulse candle (for shorts)
minimum 15–20 pips to avoid stop hunts
✅ Break-even
move SL to entry point once +15 pips profit is reached
5️⃣ Additional Filters
✅ Avoid trading during red news (NFP, FOMC) until the first spike finishes.
✅ Avoid trading outside these windows:
8:00–11:30 am NY
1:30–3:30 pm NY
-----------
Estrategia: XAUUSD Gold Power Hours
(ideal para martes a jueves, 8:00 – 11:30 am NY y 1:30 – 3:30 pm NY)
Reglas de la estrategia
1️⃣ Marco temporal
Operar en gráficos de 15 min y 1 hora
Confirmaciones con gráfico de 4 h (dirección de tendencia)
2️⃣ Condiciones de entrada
✅ Tendencia principal (confirmación):
Media Móvil Simple de 50 (SMA50) en gráfico 4h
precio por encima = solo buscar compras
precio por debajo = solo buscar ventas
✅ Momentum (confirmación):
RSI(14) en gráfico de 15 min
sobre 55 = fuerza alcista
debajo de 45 = fuerza bajista
✅ Volumen (validación):
Volumen creciente (barra más alta que la anterior) en la apertura NY (8–9 am) o a la 1:30 pm
confirma que hay interés institucional
3️⃣ Setup de entrada
🟢 Largos (compras):
Precio arriba de SMA50 4h
RSI 15 min > 55
rompimiento de resistencia previa (ej. alto de la última hora)
volumen creciente en la vela de entrada
👉 Entrada en rompimiento + 2 pips de margen
🔴 Cortos (ventas):
Precio debajo de SMA50 4h
RSI 15 min < 45
rompimiento de soporte previo
volumen creciente en la vela de entrada
👉 Entrada en rompimiento – 2 pips de margen
4️⃣ Salidas / gestión del trade
✅ Take profit (TP):
2 × riesgo asumido (por ejemplo, SL 20 pips → TP 40 pips)
o siguiente soporte/resistencia mayor en H1
✅ Stop loss (SL):
debajo de la última vela de impulso (para compras)
o encima de la última vela de impulso (para ventas)
mínimo 15–20 pips para evitar barridas
✅ Break-even
mover el SL a punto de entrada cuando se alcance +15 pips de ganancia
5️⃣ Filtros adicionales
✅ Evita operar durante noticias rojas (NFP, FOMC) hasta que el primer spike termine.
✅ Evita operar fuera de las ventanas:
8:00 – 11:30 am NY
1:30 – 3:30 pm NY
Nota Keluaran
Update script to take also 7am into consideration to account for more volume...Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.