XAUUSD 1-Minute Scalping Strategy - Advanced Strategy for ExitsThis is a **mean-reversion scalping strategy** optimized for **XAUUSD on the 1-minute (or the 5-minute) timeframe**. It combines a classic **RSI(14)** oscillator with an optional **200-period EMA trend filter** to identify short-term overextended conditions in gold price action, while enforcing fixed, conservative exits to maintain strict risk control.
### Core Logic & Why This Combination:
The strategy enters counter-trend when RSI reaches extreme levels (below 30 for longs, above 70 for shorts), capturing quick snap-backs that frequently occur in gold's intraday volatility.
- **RSI(14)** acts as the primary momentum filter — detecting oversold/overbought exhaustion.
- The **200 EMA trend filter** (enabled by default) adds directional context: longs are allowed only when price is above the EMA (overall uptrend bias), shorts only below it (downtrend bias). This reduces whipsaws in strong trending sessions and improves trade quality without overly restricting opportunities.
- Disabling the trend filter allows pure mean-reversion trading (useful in ranging/Asian sessions), but enabling it is strongly recommended for better expectancy in most market conditions.
Entries occur only when flat (no pyramiding), keeping the system clean and directional.
### Exit Rules (Fixed at Entry):
- **Take Profit**: +10 pips (0.10 in XAUUSD price terms)
- **Stop Loss**: -5 pips (0.05 in price terms)
- **Risk:Reward** = 1:2
Exits are **set once on the entry bar** using limit/stop orders — this prevents dynamic recalculation and mimics real broker behavior more closely. The 2:1 RR gives the strategy mathematical edge even with moderate win rates.
### Performance & Realism Guidelines:
This strategy is tuned for **high-frequency scalping** on gold, which typically produces hundreds to thousands of trades per year on 1-minute data.
Recommended **backtest/publication settings** (update these in the strategy properties before publishing):
- **Initial Capital**: $10,000 – $50,000 (realistic for retail prop/swing traders; the script defaults to $1,000,000 only for visual scaling — change it!)
- **Order Size**: Fixed 0.10–0.50 lots (adjust according to account size)
- **Commission**: 3–7 USD per round-turn lot (typical ECN/raw-spread gold commission on brokers like IC Markets, Pepperstone, etc.)
- **Slippage**: 2–5 ticks (≈0.02–0.05 in price) — gold can be slippery during news/volatility spikes on 1-minute charts
- **Pyramiding**: 1 (default — no stacking)
- **Dataset**: At minimum 1–3 years of 1-minute data (aim for >500–1000 closed trades for statistical significance)
With realistic costs applied, expect win rate ≈55–70%, profit factor >1.4–1.8 in favorable periods, but results vary significantly across trending vs. ranging regimes and news events.
**Risk per trade** remains very controlled (typically <0.5–1.5% depending on SL distance and position sizing) — never exceeds sustainable levels.
### Important Usage Notes:
- Check thoroughly the curve-fitted back tests.
- Gold is extremely volatile on 1-minute charts; check major news (NFP, FOMC, FED) unless you widen SL/TP dynamically (you can manually implement it here).
- Always forward-test on demo first and use proper position sizing.
- The built-in dashboard shows live stats (net P&L, win rate, profit factor, current RSI, position status, etc.) for quick monitoring.
- Restricted Sample Size for Precision
Happy scalping — trade responsibly! 🚀
1minute
Muti TimeFrame 1st Minute High and a LowThis Pine Script code is designed to plot the high, close, and low prices at exactly 9:31 AM on any timeframe chart. Here's a breakdown of what the script does:
Inputs
Define the start time of the trading day (default: 9:30 AM)
Define the end time of the trading day (default: 4:00 PM)
Toggle to display daily open and close lines (default: true)
Toggle to extend lines for daily open and close (default: false)
Calculations
- Determines if the current bar is the first bar of the trading day (9:30 AM)
- Retrieves the high, close, and low prices at 9:31 AM for the current timeframe
- Plots these prices as crosses on the chart
- Draws lines for the 4 pm close and 9:30 am open, as well as lines for the high and low of the first candle
- Calculates the start and end times for a rectangle box and draws the box on the chart if the start price high and low are set
Features
- Plots the high, close, and low prices at exactly 9:31 AM on any timeframe chart
- Displays daily open and close lines
- Extends lines for daily open and close (optional)
- Draws a rectangle box around the first candle of the day (optional)
Markets
- Designed for use on various markets, including stocks, futures, forex, and crypto
This script is useful for traders who want to visualize the prices at the start of the trading day and track the market's movement throughout the day.
EMA RSI ATR Hidden Div Strat - 1 MinHey there!
Hereby I present you the EMA RSI Lowest Low Hidden Divergence strategy, which I discovered on a youtube channel.
He has tested the strategy hundreds of times manually, herewith I try to automate the whole thing.
Since I use the strategy with a bot, it can only enter long positions for now. But in the future I will add the possibility to trade short positions.
The strategy was tested with BTC/ USDT in 1m chart (8 days). The values must be adjusted depending on the timeframe and coin.
-----------------------------------------------------------------------------------
How does the strategy work?
First of all, we need a bullish hidden divergence.
Once this is detected, the following parameters are checked:
The 50 EMA must cross the 250 EMA .
Then, the candle must close above the 50 EMA .
The K line of the RSI STOCH indicator need to crosses the D line.
If the next candle closes above the 50 EMA , a long position is opened.
The stop loss is determined with the "lowest low/highest high lookback".
The profit factor is multiplied by the value of the lowest low/highest high lookback.
The results of the strategy are without commissions and levers.
If you have any questions or feedback, please let me know in the comments.
In the future I will add other types of stop loss / take profits. (ATR; %; eg.)
I wish you good luck with the strategy!
[naoligo] 12x MA DT (5, 15, 30 & 60)This indicator is based on "Generic 8x MA Plotter", by @LazyBear.
It is also based on my own indicator "10x MA (H, D, W, M)", which is good for Swing Trading and/or Position.
This one is focused in daytrade and it will plot three Moving Averages based on current time interval (under 5 minutes) and nine based on chosen periods by 5, 15, 30 and 60 minutes. You will be able to see where is, for example, a 50 period's SMA of 15 minutes when using a 2 minutes time interval chart. I find it very useful to analyze, in a snap, possible price ranges and enter/exit points. All reference values are from setups known and used by daytraders.
you can choose between EMA or SMA (default: SMA) for each time interval, that are distributed in:
3x MA current time interval;
3x MA 5 minutes;
2x MA 15 minutes;
2x MA 30 minutes;
2x MA 60 minutes.
I've tried to keep the code as simple as possible, so you can increase the number of MA or modify the type for each time interval.
Cons: Use it wisely, because if you choose to plot all the 12 Moving Averages, it will may consume a lot of your navigator resources.
Enjoy!



