OPEN-SOURCE SCRIPT

EMA + Stochastic Strategy (day trading)

Actualizado
Setup Instructions
Exponential Moving Averages (EMA):

Use two EMAs:
50-period EMA for the overall trend.
20-period EMA for shorter-term movements.
Trend Confirmation:
If the 20 EMA is above the 50 EMA, focus on buy opportunities.
If the 20 EMA is below the 50 EMA, focus on sell opportunities.
Stochastic Oscillator:

Set Stochastic to a 14, 3, 3 period (default).
Overbought level = 80; Oversold level = 20.
Look for crossovers:
Buy: Stochastic %K crosses above %D in the oversold zone (below 20).
Sell: Stochastic %K crosses below %D in the overbought zone (above 80).
Entry and Exit Rules
Buy Signal:
The 20 EMA is above the 50 EMA, confirming an uptrend.
The Stochastic Oscillator is in the oversold zone (below 20), and %K crosses above %D.
Enter when the price retraces to and bounces off the 20 EMA in the direction of the trend.
Sell Signal:
The 20 EMA is below the 50 EMA, confirming a downtrend.
The Stochastic Oscillator is in the overbought zone (above 80), and %K crosses below %D.
Enter when the price retraces to and rejects off the 20 EMA in the direction of the trend.
Stop Loss and Take Profit
Stop Loss:

For buy trades: Place the stop loss below the recent swing low.
For sell trades: Place the stop loss above the recent swing high.
Take Profit:

Use a risk-to-reward ratio of 1:2 or higher.
Alternatively, exit the trade when Stochastic reaches the opposite extreme (80 for buys, 20 for sells).
Example
Scenario: GBP/USD on a 15-minute chart.
The 20 EMA is above the 50 EMA, indicating an uptrend.
The Stochastic Oscillator dips below 20, and %K crosses above %D.
Enter a buy trade when the price bounces off the 20 EMA.
Place a stop loss below the nearest swing low and a take profit at twice the risk.

Tips for Success
Avoid Choppy Markets: Ensure the EMAs are diverging, and there’s a clear trend.
Use Stochastic for Confirmation: Only take trades when the Stochastic Oscillator aligns with the EMA trend.
Combine with Price Action:
Watch for candlestick patterns (e.g., pin bars, engulfing candles) near the 20 EMA for additional confirmation.
Practice Discipline: Stick to your stop-loss and take-profit rules.
Notas de prensa
Notes:
1. works best for major currency pairs.
2. It works better if the stochastic oscillator's oversold and overbought are adjusted to (15 and 85).
3. for best result choose 15 min time frame.
Notas de prensa
15 min chart
stochastic adjustment
Chart patternsMoving AveragesOscillators

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad