1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
Source Code
167 lines of Pine Script v5 from strategies/other/Omar Edited WF.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Omar Edited WF detects high and low fractal pivot points over configurable lookback periods alongside three adjustable EMA trendlines. Long entries are managed using built-in percentage-based take profit and stop loss controls. Input options allow toggling chart visibility for EMAs and fractal indicators, as well as selecting visual color themes.
Williams Fractals calculation with configurable period length
Triple Exponential Moving Average trend filters
Percentage-based stop loss and take profit parameters
Chart toggles for fractals, EMAs, and color themes
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
theme
string
dark
theme
Show Fractals
bool
false
show_fractals
Show EMAs
bool
false
show_ema
Fractal Periods
int
2
n
EMA A Length
int
20
len_a
Source
source
close
src_a
EMA B Length
int
50
len_b
Source
source
close
src_b
EMA C Length
int
100
len_c
Source
source
close
src_c
Length
int
14
len
Source
source
close
src
Show all 14 settings
Setting
Type
Default
Variable
Long Take Profit (%)
float
1.5
longProfitPerc
Long Stop Loss (%)
float
3.1
longLossPerc
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 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 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 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,
Smooth Trend Radar Strategy calculates a double-smoothed Supertrend baseline using WMA and EMA to identify trend direction and sideway regimes. It plots baseline rejection signals on flips, trend slope filters, and statistical overextension highlights with can