A multi-layer chart overlay built around three EMAs of 20, 50 and 200 bars, with line colours that change by their relative order and a wide coloured zone around the 50 EMA.
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
CROSV adds automatic trend lines drawn from pivot points, with adjustable pivot period and start date. Inputs also cover breaker block and break of structure options, retest candle highlighting and previous day high and low lines. Most of the smart money extras are off by default.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
EMA 1 (20) Length
int
20
ema1_length
EMA 2 (50) Length
int
50
ema2_length
EMA 3 (200) Length
int
200
ema3_length
Zone Width
int
15
zone_width
Show EMA 1 (20)
bool
true
show_ema1
EMA 1 Up Color
color
color.blue
up_color1
EMA 1 Down Color
color
color.red
down_color1
50 EMA Zone Up Color
color
color.green
up_color2_zone
50 EMA Zone Down Color
color
color.orange
down_color2_zone
EMA 2 Up Color
color
color.blue
up_color2
EMA 2 Down Color
color
color.red
down_color2
EMA 3 Up Color
color
color.blue
up_color3
Show all 40 settings
Setting
Type
Default
Variable
EMA 3 Down Color
color
color.red
down_color3
Start Year
int
2020
startyear
Start Month
int
1
startmonth
Start day
int
1
startday
Pivot Period
int
20
prd
Number of Pivot Points to check
int
3
PPnum
Colors
color
color.lime
utcol
dtcol
color
color.red
dtcol
Bull
color
_C_PRIMARY
C_PRIMARY
Bear
color
_C_SECONDARY
C_SECONDARY
Candle Range
int
25
inputRange
Bullish Breaker Source
source
close
bullishBreakerSource
Bearish Breaker Source
source
close
bearishBreakerSource
Show Previous Day High/Low
bool
false
showPD
Show Bearsish BOS Line
bool
false
showBearishBOS
Show Bullish BOS Line
bool
false
showBullishBOS
Highlight Breaker Candles
bool
false
showBreakerCandles
Highlight Re-test Candles
bool
false
showRetestCandles
Show Trend Colours
bool
false
showTrendColours
Trigger Alerts
bool
false
showAlerts
Show Mitigated Blocks
bool
false
useMitigatedBlocks
Bearish Order Block Colour
color
color.rgb(219,166,50, 80)
bearishOBColour
Bullish Order Block Colour
color
color.rgb(192,230,174, 60)
bullishOBColour
Mitigated Order Block Colour
color
color.rgb(207,203,202, 80)
mitigatedOBColour
Breaker Candle Colour
color
color.yellow
BOSCandleColour
Short Re-Test Candle Colour
color
color.purple
shortRetestCandleColour
Long Re-Test Candle Colour
color
color.orange
longRetestCandleColour
Bullish Trend Colour
color
color.lime
bullishTrendColor
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 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 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 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
This indicator visualises multiple smart money concepts and technical analysis modules directly on the price chart. It plots trend EMAs, VWAP bands with standard deviations, market structure breaks and changes of character, Fair Value Gaps, Order Blocks, suppl
Apex Trend & Liquidity Master (SMC) is an overlay indicator that combines trend-following filters with Smart Money Concepts market structure and liquidity tools. It calculates baseline trend clouds using moving averages such as HMA, EMA, SMA, or RMA alongside
This overlay plots a four-length exponential moving average ribbon and classifies trend on the price chart. It marks strong bullish when the 21-period average is above the 50 and 200 with a positive short slope, strong bearish when that stack is reversed, and