SMAOffsetProtectOptV1 is a long-only price-chart strategy that buys when close falls below an offset SMA or EMA and either the Elliott Wave Oscillator is above its high threshold with RSI below a limit, or the oscillator is below its low threshold.
SMAOffsetProtectOptV1 exits when close rises above an offset sell average. Optional percentage take-profit and stop-loss settings are on by default. Buy and sell lengths, offsets, moving-average type, and oscillator thresholds are adjustable. It recalculates on every tick, so signals can change on the live bar.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Start Strat
time
timestamp("01 Jan 2021 00:00 +0000")
startDate
Buy base nb candles
int
16
base_nb_candles_buy
low_offset
float
0.978
low_offset
Buy trigger
string
EMA
buy_trigger
ewo_low
float
-19.993
ewo_low
ewo_high
float
5.638
ewo_high
fast_ewo
int
50
fast_ewo
slow_ewo
int
200
slow_ewo
rsi_buy
int
61
rsi_buy
Sell base nb candles
int
49
base_nb_candles_sell
High offset
float
1.006
high_offset
Sell trigger
string
EMA
sell_trigger
Show all 16 settings
Setting
Type
Default
Variable
RIO
bool
true
enableRoi
Sell roi
float
0.01
sell_roi
Stoploss
bool
true
enableST
Sell Stoploss
float
-0.05
sell_st
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.
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
This strategy plots on the price chart and opens long or short positions when a weighted score from MACD, Stochastic RSI, RSI, Supertrend and a moving-average crossover exceeds a user-set trigger. Each component has its own weight and candle delay. Entries can
This strategy combines Arnaud Legoux Moving Average percentage price change calculations with an adaptive Gaussian Moving Average to generate trend-following signals. Long and short entries are triggered when the ALMA change calculation crosses above or below
This overlay strategy is built around MACD inputs for a fast average, a slow average, and a signal line. Comments say the script keeps MACD values available and can draw a histogram and zero line in a separate pane, with an optional overlay on price. Settings
255 EMA Strategy combines an exponential moving average with Average True Range bands and standard MACD crossovers to generate entry signals. Drawn directly on the price chart, it plots the central 255 EMA along with upper and lower volatility envelopes. Trade
This overlay strategy combines a machine-learning distance model with a MACD oscillator to open trades on the price chart. It compares recent history using cosine similarity or Euclidean and Lorentzian distance, then filters direction with selectable moving-av