An all-in-one overlay that draws a fast EMA and a slow EMA taken from other timeframes, current day, previous day and previous week highs and lows, and unfilled daily fair value gaps with a dotted midline.
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 indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
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
Optional extras are untouched daily swing points, the daily open and session, weekly and monthly VWAP. Levels are single labelled rays redrawn only on the last bar, keeping the chart uncluttered. Settings choose lengths, timeframes, colors, label size and how many gaps to keep.
Multi-timeframe fast and slow EMAs
Current day, previous day and previous week high and low
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Level labels
bool
true
showLbls
lblSizeIn
string
tiny
lblSizeIn
offset (bars)
int
3
lblOff
Fast EMA
bool
true
useFast
len
int
21
fastLen
tf
timeframe
5
fastTf
fastCol
color
color.red
fastCol
w
int
1
fastW
Slow EMA
bool
true
useSlow
len
int
200
slowLen
tf
timeframe
D
slowTf
slowCol
color
color.yellow
slowCol
Show all 40 settings
Setting
Type
Default
Variable
w
int
2
slowW
Current day H/L
bool
true
useCurD
curDCol
color
color.yellow
curDCol
Previous day H/L
bool
true
usePrvD
prvDCol
color
color.purple
prvDCol
Previous week H/L
bool
true
usePrvW
prvWCol
color
color.orange
prvWCol
Show unfilled D1 FVGs
bool
true
useFvg
Colour
color
color.blue
fvgCol
box transp.
int
88
fvgTrans
line transp.
int
45
fvgMidTr
Max gaps kept
int
8
fvgMax
Shrink partially filled
bool
true
fvgShrink
Dotted mid line
bool
true
fvgMid
Untouched daily swing H/L
bool
false
useSwing
Pivot strength (daily bars)
int
2
swingLb
Max age (daily bars)
int
14
swingDays
Current daily open
bool
false
useDOpen
Colour
color
#FF8C00
swingCol
Session VWAP
bool
false
useSessVwap
sessVwapCol
color
color.aqua
sessVwapCol
w
int
2
sessVwapW
Weekly VWAP — previous
bool
false
useWVwapPrv
current
bool
false
useWVwapCur
wVwapCol
color
#26C6DA
wVwapCol
Monthly VWAP — previous
bool
false
useMVwapPrv
current
bool
false
useMVwapCur
mVwapCol
color
#AB47BC
mVwapCol
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 indicator combines Centered Triangular Moving Average (TMA) bands offset by Average True Range (ATR) with Smart Money Concepts (SMC) market structure analysis on the price chart. It calculates upper, center, and lower bands alongside swing and internal ma
This overlay indicator classifies market structure with an ATR-based ZigZag that marks higher highs, higher lows, lower highs, and lower lows. A state machine plots buy and sell labels on the confirmation bar, not on the earlier pivot, and by default waits for
This overlay indicator plots three exponential moving averages on the price chart and marks imbalance zones with boxes. Each EMA has its own length, color, and visibility toggle, with defaults of 10, 50, and 200. Fair value gaps are detected across three bars
This indicator computes the Watchtower Axis as a 257-period weighted moving average of closing prices to establish the main trend baseline. It defines volatility gates using the highest high and lowest low over 463 periods, along with a 377-period exponential
This indicator detects bearish M and bullish W chart formations on the price chart based on Steve Mauro's Beat The Market Maker (BTMM) methodology. It emphasizes second-leg entries confirmed by a clean close across the 13 EMA, volume filters, and minimum ATR p
This indicator identifies Smart Money Concepts structure alongside a four-line moving average ribbon on the price chart. It detects swing highs and lows across a user-defined lookback period, generating price action labels such as higher highs, lower highs, hi