3 Candle Strike Strategy calculates market regime using linear regression and exponential or smoothed moving averages to distinguish between ranging and trending conditions. Risk management is driven by daily ATR calculations, setting stop loss and profit target levels according to a customizable reward-to-risk ratio, with an optional trailing stop. Entries are restricted to specified session windows and date ranges.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Start Year
int
2011
startY
Start Month
int
1
startM
Start Day
int
1
startD
Finish Year
int
2050
finishY
Finish Month
int
12
finishM
Finish Day
int
31
finishD
Entry Session
session
0930-1554:23456
t1_session
Margin Requirement / Leverage
float
10
margin_req
% of initial capital per trade
float
100
qty_per_trade
Reinvest profit
bool
false
reinvest
Reinvest percentage
float
20
reinvest_percent
ATR period
int
14
atrlen
Show all 31 settings
Setting
Type
Default
Variable
% ATR to use for SL / PT
float
5
iPercent
show_ema1
bool
false
show_ema1
Fast EMA
int
8
len0
show_smma1
bool
false
show_smma1
Fast SMMA
int
21
len1
show_smma2
bool
false
show_smma2
Medium SMMA
int
50
len2
show_smma3
bool
false
show_smma3
Slow SMMA
int
200
len3
Linear Regression Period
int
50
clen
LR Slope Period
int
50
slen
LR Signal Period
int
14
glen
LR Threshold for Ranging vs Trending
float
0.03
LR_thres
Reward to Risk Ratio
float
3.0
RR
Switch to trailing SL after TP hit
bool
true
trade_trailing
No entry between:
bool
true
no_entry
t2_session
session
1000-1030
t2_session
Trade 3s candle pattern
bool
true
trade_3s
Trade MA Cross Reversal Signal
bool
true
trade_ma_reversal
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
Hercules Strategy Rewrite is an automated backtesting strategy that generates entry signals using engulfing candlestick patterns, tick thresholds, and support or resistance level breakouts. It offers multi-layer filtering including moving average trend checks,
Dskyz Adaptive Futures Elite (DAFE) is an automated strategy designed for intraday trading. It generates long and short entries by pairing fast and slow moving average crossovers with candlestick pattern detection, filtered by RSI, volume, volatility, and a hi
This strategy trades price action pin bar patterns aligned with moving average trend alignment on the main price chart. It defines uptrends or downtrends using a fan arrangement of three moving averages (6 EMA, 18 EMA, and 50 SMA). Entry conditions require a b
Mean Reversion Strategy is an overlay strategy that identifies pullbacks using a long-term EMA, RSI, and candlestick patterns. It generates long signals when a bullish engulfing candle forms below the EMA while RSI is oversold, and short signals when a bearish
Donald - Test Logic Futures is an overlay strategy designed for intraday futures trading. It combines kernel regression functions with exponential moving averages to evaluate price retracements and entry timing. Trades are filtered by session execution windows
This strategy plots up to four volume-weighted average price lines on the price chart: midnight, previous day, session, and a custom anchor such as session high and low, week, or month. It enters when price crosses two selected lines, using same-bar, position,