MACD + Support / Resistance Short Strategy plots the 100-period EMA as a trend filter, the MACD line and histogram, and pivot highs and lows as support and resistance levels. The strategy enters short positions when the MACD crosses below its signal line, price is below the EMA, and price touches a pivot low. It exits positions at take profit or stop loss targets, using either percentage-based or ATR-based stops with optional fixed or trailing stop modes. Key settings control MACD lengths, EMA period and resolution, pivot lookback, and risk parameters. It draws all elements directly on the main price chart and supports backtesting from 2015.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Backtesting Start
time
timestamp("1 Jan 2015")
start
Order Expiration
int
100
maxTimeOpen
Take Profit Strategy
string
Percent
tpSlStrategy
Trailing Stop
string
Fixed
trailingStop
ATR SL Length
int
14
atrLength
ATR Multiplier
float
1
atrMultiplier
Risk Level
float
1
riskLevel
Take Profit %
float
10
shortProfitPercent
Stop Loss %
float
10
shortLossPercent
Pivot Lookback
int
10
lookback
Price Epsilon (%)
float
0.5
epsilon
EMA Resolution
timeframe
D
emaRes
Show all 22 settings
Setting
Type
Default
Variable
EMA Source
source
close
emaSrc
EMA Length
int
100
emaLength
MACD Resolution
timeframe
30
macdRes
MACD Fast Length
int
12
fast_length
MACD Slow Length
int
26
slow_length
MACD Source
source
close
src
MACD Signal Smoothing
int
9
signal_length
MACD Simple MA (Oscillator)
bool
false
sma_source
MACD Simple MA (Signal Line)
bool
false
sma_signal
Display Pivot Labels
bool
false
displayPivots
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.
This strategy overlays the price chart and looks for VWAP pullbacks. It goes long when a short SMA crosses above VWAP after RSI has been oversold within ten bars, and short on the opposite cross after RSI has been overbought. Optional Minervini-style moving-av
This strategy trades 1-minute futures contracts on Binance. It plots pivot high and low resistance and support levels on the price chart, along with an EMA and a custom Cto indicator. Long and short entries trigger on EMA and Cto crossovers combined with price
This strategy plots dynamic pivot-based support and resistance trendlines on the price chart and trades breakouts beyond those lines. By default it allows longs only when EMA 50 is above EMA 200 and an RSI-SMA momentum filter is met, with an ATR entry buffer.
This trend-following strategy executes a classic Donchian channel breakout system designed to cross-validate backtest results against external framework benchmarks. It triggers a long entry when the closing price breaks above the highest high of the prior entr
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