1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
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
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Wavy Tunnel MS3 computes wavy high, close, and low lines using 34-period EMAs, along with 144- and 169-period tunnel lines and a 12-period EMA. Optional RSI and ATR filters refine signals, while a configurable threshold requires a minimum gap between price and waves for entries. Liquidity levels trigger take-profit calculations with fallback distance limits. A second strategy option adds gap-based entries. Positions enter and exit based on wave interactions with pyramiding supported and no stop loss by default.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Apply RSI filter
bool
false
ApplyRsifilter
Apply ATR filter
bool
false
ApplyAtrfilter
Apply Threshold
bool
true
ApplyThreshold
Threshold default in Ticks
int
100
Threshold
Threshold for quote USD in Ticks
int
2
ThresholdUSD
Threshold for quote EUR in Ticks
int
2
ThresholdEUR
Threshold for quote JPY in Ticks
int
300
ThresholdJPY
Threshold for quote GBP in Ticks
int
6
ThresholdGBP
Threshold for quote CHF in Ticks
int
2
ThresholdCHF
Threshold for quote AUD in Ticks
int
2
ThresholdAUD
default
float
100
minAutoTpThreshold
USD
float
5
minAutoTpThresholdUSD
Show all 40 settings
Setting
Type
Default
Variable
EUR
float
10
minAutoTpThresholdEUR
JPY
float
100
minAutoTpThresholdJPY
GBP
float
50
minAutoTpThresholdGBP
CHF
float
5
minAutoTpThresholdCHF
AUD
float
5
minAutoTpThresholdAUD
default
int
250
lastTpLimit
USD
int
15
lastTpLimitUSD
EUR
int
10
lastTpLimitEUR
JPY
int
800
lastTpLimitJPY
GBP
int
60
lastTpLimitGBP
CHF
int
15
lastTpLimitCHF
AUD
int
15
lastTpLimitAUD
peak type
int
21
peak_type
Enable Second Strategy
bool
true
enableSecondStrategy
Default
int
650
minGapSecond
USD
int
15
minGapSecondUSD
EUR
int
15
minGapSecondEUR
JPY
int
650
minGapSecondJPY
GBP
int
50
minGapSecondGBP
CHF
int
15
minGapSecondCHF
AUD
int
15
minGapSecondAUD
Max percentage allowed into the Zone
float
0.25
MaxAllowIntoZone
Date Range
bool
false
IsRange
From Date
time
timestamp("01 FEB 2024 00:00 +0000")
fromDate
To Date
time
timestamp("16 MAR 2024 00:00 +0000")
toDate
Support and Resistance Proximity
bool
true
IsProximity
Support and Resistance Proximity
float
0.01
SupportResistanceProximity
RSI Period
int
14
rsiPeriod
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 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,