A buy signal is a crossover of the fast average above the slow average, and a sell signal is the opposite cross. It colors the average, signal bars, and background. Inputs set both lengths and the source. Separate tester settings cover a daily session, a date range, contract size, daily loss and drawdown caps, and optional fixed take-profit and stop-loss values that are off by default. The excerpt ends before the order calls.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
MA Type
string
EMA
maTypeChoice
MA Source
source
close
maSrc
MA Length
int
15
maLen1
MA Length
int
95
maLen2
Strategy Tester [ON/OFF]
bool
true
stratTesterOn
Daily trading time session (in Exchange GMT)
session
2200-1200
entryTime
Start Time
session
2200-2201
startTime
Max daily loss
int
2500
maxDailyLoss
Max daily loss
int
12000
maxTotalDrawdown
Contract size
int
250
contractSize
First trade on session start [ON/OFF]
bool
true
tradeOnStartSess
Fixed TP/SL PIPS [ON/OFF]
bool
false
fixedTPSL
Show all 20 settings
Setting
Type
Default
Variable
TP
float
1000.00
fixedTPValue
SL
float
1000.00
fixedSLValue
From Day
int
1
fromDay
From Month
int
1
fromMonth
From Year
int
2020
fromYear
Thru Day
int
1
thruDay
Thru Month
int
1
thruMonth
Thru Year
int
2112
thruYear
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.
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 trades Nikkei 225 futures during a configurable overnight session, defaulting to 19:00–03:00 ET. It builds long and short trend conditions from an 8/21 EMA pair and a 200-period SMA, with RSI, momentum, an ATR-scaled breakout range, and a volume
This strategy plots a 90-period simple moving average from the daily and four-hour charts plus a daily session VWAP on the price chart. It enters long when VWAP is above the daily average and the four-hour VWAP crosses above its average, and short in the oppos
Doge SMA is a long-only moving-average crossover strategy drawn on the price chart. It calculates a fast and a slow simple moving average of close and enters a long position when the fast average crosses above the slow average, but only inside a user-defined s
This strategy calculates and plots a fast Exponential Moving Average (EMA) and a slow EMA directly on the main price chart. It enters long trades when the fast EMA crosses above the slow EMA and exits when the fast EMA crosses below the slow EMA. Inputs allow
2 EMA/SMA + RSI Strategy [Alorse] combines three configurable moving averages with a short-period Relative Strength Index filter. It plots fast, slow, and trend moving averages on the price chart. Long entries trigger when the fast moving average is above the