FoundationAllow Concurrent Trades
Demonstrates running a strategy that does NOT skip entry while already in a trade. With the skip-entry setting off, the strategy can open a new trade on an instrument even while another trade on the same instrument is still open, so several overlapping trades can run on the same instrument at once (the default keeps to one trade per instrument at a time). A classic EMA(9)/EMA(21) moving-average crossover is the entry trigger (long on the up-cross, short on the down-cross), so the only thing this template showcases is the concurrent-trade behaviour - compare it with a strategy that skips entry while already in a trade to see the difference. An ATR stop loss and a risk-to-reward take profit manage each trade.
FoundationBollinger Band Bounce
The Bollinger Band bounce, a mean-reversion setup. It goes long when price closes back above the lower band (bouncing up off the oversold edge) and short when price closes back below the upper band (bouncing down off the overbought edge), using the standard 20-period, 2-standard-deviation bands. Each trade uses an ATR stop loss and a risk-to-reward take profit, with a variation that tightens the bands to a 10-period length and a variation on the reward ratio.
FoundationBollinger Band Breakout
The Bollinger Band breakout, a volatility-expansion setup. It goes long when price closes above the upper band and short when price closes below the lower band, using the standard 20-period, 2-standard-deviation bands. Each trade uses an ATR stop loss and a risk-to-reward take profit, with a variation that tightens the bands to a 10-period length and a variation on the reward ratio to give breakouts more room to run.
FoundationClose Trades Before the Weekend
Demonstrates running a strategy that does NOT hold trades over the weekend. A trade still open when the forex market closes on Friday is closed before the weekend, instead of being carried across the weekend gap where the price can jump on the Sunday/Monday reopen. A classic EMA(9)/EMA(21) moving-average crossover is the entry trigger (long on the up-cross, short on the down-cross), so the only thing this template showcases is the weekend behaviour - compare it with a strategy that holds trades over the weekend to see the difference. An ATR stop loss and a risk-to-reward take profit manage each trade.
FoundationEMA Crossover
A fast/slow Exponential Moving Average crossover. It goes long when the 9-period EMA crosses above the 21-period EMA and short when it crosses back below, protected by an ATR stop loss and a risk-to-reward take profit. Because the EMA reacts faster than the SMA, entries trigger earlier. A variation uses the 12/26 EMA pair for a steadier, slightly slower version.
FoundationGolden Cross / Death Cross
Trades the famous Golden Cross and Death Cross. It goes long when the 50-period SMA crosses above the 200-period SMA and goes short when the 50 crosses back below the 200, with an ATR stop loss and a risk-to-reward take profit. A variation swaps the slow 200-period SMA for a faster 100-period one so you can compare the classic long-term cross against a more responsive version.
FoundationMA Crossover
A moving-average (MA) crossover trend strategy. It enters long when the fast SMA crosses above the slow SMA while price holds above a long-term SMA trend filter, and takes the mirrored setup to go short; every trade is protected by an ATR-based stop loss and closed at a risk-to-reward take profit. The template includes variations across the crossover moving-average lengths, the stop-loss ATR multiple, and the take-profit reward ratio, so you can compare several configurations and tune it to your own style.
FoundationMA Crossover — Custom ATR(20) SL/TP
Shows custom indicator-driven risk control: a 20/50 EMA crossover whose stop loss and take profit are both custom values built from a 20-period ATR (the built-in ATR rule is fixed to length 14). The custom value is read in pips and ATR is already in pips, so the stop is 1.5x ATR(20) and the target 3x ATR(20) (2:1). It goes long when the 20-EMA crosses above the 50-EMA and short on the opposite cross.
FoundationMA Crossover — Fixed-Pips SL/TP
A demonstration of fixed-pips risk control on EUR/USD: a 20/50 EMA crossover with the stop loss and take profit set as flat pip distances instead of from ATR. It goes long when the 20-EMA crosses above the 50-EMA and short on the opposite cross, with a 50-pip stop and a 75-pip target (1.5:1). On H4, ~1x ATR ≈ 30 pips on EUR/USD, so 50 pips ≈ a 1.5x ATR stop. Pinned to EUR/USD, since a fixed pip distance only suits one instrument's volatility.
FoundationMACD Crossover — Custom ATR(20) Target
Shows a custom indicator-driven take profit on its own, behind a standard ATR stop. The entry is a MACD signal-line crossover — long when the MACD line crosses above its signal, short on the opposite cross. The stop loss is the built-in 1.5x ATR rule (ATR length 14); the take profit is a custom 3x ATR(20) value, read directly in pips, using a longer 20-period ATR for the target than the stop.
FoundationMACD Crossover — Fixed-Pips SL/TP
A MACD signal-line crossover on EUR/USD demonstrating fixed-pips risk control with a tunable stop. It goes long when the MACD line crosses above its signal and short on the opposite cross, with a flat 75-pip take profit and a flat 50-pip stop loss that a variation tightens to 30 pips. On H4, ~1x ATR ≈ 30 pips on EUR/USD, so the two stops are about 1.5x ATR (50 pips) and 1x ATR (30 pips). Pinned to EUR/USD, since a fixed pip distance only suits one instrument's volatility.
FoundationMACD Signal-Line Crossover
The MACD signal-line crossover, a widely used momentum signal. It goes long when the MACD line crosses above its signal line and short when it crosses back below, with an ATR stop loss and a risk-to-reward take profit. It uses the standard 12/26/9 MACD settings, and a variation uses a faster 8/21/5 configuration for quicker signals.
FoundationMACD Zero-Line Cross
The MACD zero-line cross, which signals momentum turning outright bullish or bearish. It goes long when the MACD line crosses above zero and short when it crosses below zero, with an ATR stop loss and a risk-to-reward take profit. It uses the standard 12/26/9 MACD, and a variation shortens the slow length to 17 for an earlier zero cross.
FoundationParabolic SAR Flip
The Parabolic SAR flip, a trend-following setup. It goes long when price closes above the SAR (the dots flip below price into an uptrend) and short when price closes below the SAR, with an ATR stop loss and a risk-to-reward take profit. The SAR uses the standard 0.02 step and 0.2 maximum, and a variation accelerates the step to 0.04 so it tracks price more tightly.
FoundationPrice vs 200 MA Trend
Uses a single long-term moving average as the line between an uptrend and a downtrend. It goes long when the closing price crosses above the 200-period SMA and short when it crosses below, with an ATR stop loss and a risk-to-reward take profit. A variation uses a faster 100-period SMA so you can compare a slower and a quicker trend filter.
FoundationRSI Overbought/Oversold Reversal
The classic RSI mean-reversion setup. It goes long when the 14-period RSI crosses back above 30 (leaving oversold) and short when it crosses back below 70 (leaving overbought), with an ATR stop loss and a risk-to-reward take profit. A variation uses a faster 7-period RSI for earlier, more frequent reversal signals.
FoundationRSI Reversal — Custom ATR(20) Stop
Shows a custom indicator-driven stop loss on its own. The entry is the classic RSI mean-reversion — long when the 14-period RSI crosses back above 30, short when it crosses back below 70. The stop loss is a custom 1.5x ATR(20) value (the built-in ATR stop is fixed to length 14), read directly in pips, and the take profit is a standard 1.5:1 risk-to-reward off that stop.
FoundationRSI Reversal — Fixed-Pips SL/TP
The classic RSI mean-reversion entry on EUR/USD, shown with fixed-pips risk control. It goes long when the 14-period RSI crosses back above 30 (leaving oversold) and short when it crosses back below 70, with a flat 50-pip stop loss and a flat 75-pip take profit (1.5:1). On H4, ~1x ATR ≈ 30 pips on EUR/USD, so 50 pips ≈ a 1.5x ATR stop. Pinned to EUR/USD, since a fixed pip distance only suits one instrument's volatility.
FoundationStochastic Overbought/Oversold
The Stochastic Oscillator overbought/oversold setup. It goes long when the %K line crosses above the %D line while still oversold (below 20) and short when %K crosses below %D while overbought (above 80); requiring the cross in the extreme zone filters out mid-range noise. Trades use an ATR stop loss and a risk-to-reward take profit, and a variation uses a slower 21-period %K.
FoundationTrade by Day of Week
Demonstrates the Day of Week indicator, which limits a strategy to chosen days of the week. A Day of Week rule decides which weekdays a trade is allowed on, while a simple EMA(9)/EMA(21) crossover acts as the entry trigger (long on the up-cross, short on the down-cross). The base strategy permits every day; a variation restricts it to Monday and Thursday only, so you can see how trading on fewer days affects the results. An ATR stop loss and a risk-to-reward take profit manage each trade.
FoundationTrade by Hour of Day
Demonstrates the Hour of Day indicator, which limits a strategy to chosen hours of the day in UTC (the backtesting server time zone, not your local time). An Hour of Day rule decides which hours a trade is allowed on, while a simple EMA(9)/EMA(21) crossover acts as the entry trigger (long on the up-cross, short on the down-cross). The base strategy permits every hour; a variation restricts it to the 09:00 and 13:00 UTC candles (around the London and New York sessions), so you can see how trading at fewer hours affects the results. An ATR stop loss and a risk-to-reward take profit manage each trade.
FoundationWilliams %R Reversal
The Williams %R reversal setup. Williams %R runs from 0 to -100, with below -80 oversold and above -20 overbought. It goes long when %R crosses back above -80 (leaving oversold) and short when %R crosses back below -20 (leaving overbought), with an ATR stop loss and a risk-to-reward take profit. A variation uses a faster 9-period lookback.