Full stacks count as up or down, and partial alignment can add a smaller score. A rolling high-low period flags the current extreme, while an optional yearly high and low filter reads the 12-month timeframe. Supertrend length and multiplier, trade direction, and a backtest date window are the main settings. Position size is a percent of equity, and there is no stop loss by default.
Selectable EMA, SMA, HMA, RMA, VWMA or WMA alignment
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Moving Average Type
string
hma
MAType
includePartiallyAligned
bool
true
includePartiallyAligned
HighLowPeriod
int
22
HighLowPeriod
LookbackPeriod
int
10
LookbackPeriod
considerYearlyHighLow
bool
false
considerYearlyHighLow
supertrendMult
int
2
supertrendMult
supertrendLength
int
22
supertrendLength
Trade Direction
input
strategy.direction.long
tradeDirection
Backtest Start Time
time
timestamp("01 Jan 2010 00:00 +0000")
i_startTime
Backtest End Time
time
timestamp("01 Jan 2099 00:00 +0000")
i_endTime
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.
Omar Edited WF is a trading strategy overlay built around Williams Fractals and multiple Exponential Moving Averages. It detects high and low fractal pivot points over configurable lookback periods alongside three adjustable EMA trendlines. Long entries are ma
This strategy calculates dynamic support and resistance levels using pivot highs and lows alongside a custom smoothed trend filter and a 3-period EMA. It identifies entry opportunities when price breaks out relative to the trend filter and short-term EMA cross
This strategy combines three Exponential Moving Averages with Williams Fractals to execute trend-following or mean-reverting trades. It analyzes price structure using short, medium, and long-term EMAs along with fractal highs and lows. Entries trigger when fra
This strategy executes trades based on pivot levels, an exponential moving average, and a multi-stage smoothing trend line. It identifies support and resistance points from pivot highs and lows, combining them with price relationship rules against a custom smo
This strategy generates entry signals using pivot points and uses custom Curie moving average closing lines for exiting positions. It features risk management components including percentage-based stop loss, take profit, trailing stops, and break-even levels,
This multi-timeframe scalping strategy plots moving averages alongside Smart Money Concepts elements on the price chart. It calculates trend signals using configurable moving average types like ALMA, Hull MA, or TEMA across alternate timeframes. It also plots