Skip to content
All library documents

Gold RSI and EMA Pullback Scalper with Risk Controls

Article Strategy library · Author: devanipratik80

Summary

This Pine Script excerpt outlines a gold scalping strategy that combines moving-average trend direction, RSI pullback signals, and market filters. Its inputs define fast and trend EMAs, RSI trigger and oversold or overbought levels, an ATR-based distance to the fast EMA, a trading-session window, and an optional ADX momentum requirement. The script also calculates ATR and Chandelier-style trailing levels intended to ratchet with a trade’s direction.

The configuration includes per-trade risk, daily loss thresholds, a drawdown kill switch, and a limit on consecutive losses. Exit settings include an initial ATR stop, a Chandelier period and multiplier, an RSI-neutral exit option, and a scheduled flat time; webhook fields support an external connector. These are design parameters, not evidence of effectiveness. The supplied document ends partway through the code, so the complete entry rules, order sizing and exit implementation cannot be assessed. It reports no backtest or live trading results, and the settings would require validation against gold data, execution costs, and the intended timeframe.

Key ideas

  • The strategy combines EMA trend context with RSI pullback triggers and an optional ADX filter.
  • ATR sets an initial stop distance, while a Chandelier calculation provides a direction-sensitive trailing level.
  • Risk inputs include per-trade limits, daily loss thresholds, a drawdown stop, and a consecutive-loss cap.
  • Session timing, a scheduled close, and webhook fields are included in the configuration.
  • The excerpt is incomplete and provides no performance evidence, so the full rules and results remain unknown.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.