This indicator plots 20-period and 200-period Simple Moving Averages on the main price chart while requesting multi-timeframe state data from a higher timeframe.
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
Oliver Velez System Visual Helper [CocoChoco] measures the percentage distance and slope between the two moving averages to detect narrow, parallel consolidation zones. It also scans price action for specific candlestick patterns, including Elephant Bars, Tail Bars, and 180-degree engulfing candles, highlighting valid entry bar conditions when price action aligns with multi-timeframe moving average confluence.
20 and 200 SMA multi-timeframe confluence detection
Elephant bar, tail bar, and 180 engulfing pattern recognition
Moving average distance and slope parallelism thresholds
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Narrow State Threshold %
float
0.5
threshold
Max Slope (Parallelism)
float
0.05
slope_limit
Slope Lookback Bars
int
3
slope_lookback
Higher Timeframe (Narrow + Order)
timeframe
15
tf_mid
20 SMA Color
color
color.blue
line_20_col
20 SMA Thickness
int
2
line_20_width
200 SMA Color
color
color.green
line_200_col
200 SMA Thickness
int
2
line_200_width
Bullish Cloud Color
color
color.new(color.green, 85)
bull_cloud_col
Bearish Cloud Color
color
color.new(color.red, 85)
bear_cloud_col
Entry Bar Highlight Color
color
color.aqua
entry_bar_col
Label Text Color
color
color.white
text_col
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 identifies candlestick patterns on the price chart by combining price action with momentum factors and trend filters. It calculates one of four selectable oscillators: Karobein Oscillator, Money Flow Index, RSI, or Stochastic, alongside trend ru
This indicator overlays on the price chart and provides trend and momentum analysis. It calculates and plots three exponential moving averages with fixed periods of 20, 50, and 200 using yellow, orange, and blue colors respectively. The script also computes th
This overlay indicator marks a bearish hanging man candlestick on the price chart. It looks for a small real body sitting in the upper part of the range, a lower shadow at least twice the body, and no upper shadow, and only while an uptrend filter is active. T
Zen EMA Pullback Patterns identifies pullback formations relative to an Exponential Moving Average on the price chart. It detects 3-bar pullbacks consisting of three consecutive bearish bars above the EMA or bullish bars below it, as well as 4-bar micro channe
This indicator plots Bollinger Bands and smoothed HAMA candles on the price chart. It builds each candle from separate moving averages of open, high, low and close, using selectable EMA, SMA or WMA lengths. A simple moving average forms the band basis, and an
Calculates adaptive arithmetic candles by blending price data with Kaufman Efficiency Ratio smoothing and a linear regression anchor. It measures trend health using a zero-to-hundred Quality Score derived from market efficiency, regression slope, and normalize