Indicator · Pine Script v6 · On the chart

Oliver Velez System Visual Helper [CocoChoco]

by eddiebelaval

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.

View on GitHub

GitHub stars7on the repository
Pine versionv6current
Lines of code90
Settings12inputs
LicenceNone stated
Last update3 months ago24 Jul 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

eddiebelaval on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Moving averages, Candlestick patterns, Trend

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Narrow State Threshold %float0.5threshold
Max Slope (Parallelism)float0.05slope_limit
Slope Lookback Barsint3slope_lookback
Higher Timeframe (Narrow + Order)timeframe15tf_mid
20 SMA Colorcolorcolor.blueline_20_col
20 SMA Thicknessint2line_20_width
200 SMA Colorcolorcolor.greenline_200_col
200 SMA Thicknessint2line_200_width
Bullish Cloud Colorcolorcolor.new(color.green, 85)bull_cloud_col
Bearish Cloud Colorcolorcolor.new(color.red, 85)bear_cloud_col
Entry Bar Highlight Colorcolorcolor.aquaentry_bar_col
Label Text Colorcolorcolor.whitetext_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.

Similar Pine Scripts

55 stars

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

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · Apache-2.0 GitHub repository of Trend & Momentum Analysis

Hanging Man - Bearish

by TWODS-CAPITAL
37 stars

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

Indicator v5 Candlestick patternsTrend
Updated 3 years ago · MIT GitHub repository of Hanging Man - Bearish
29 stars

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

Indicator v6 Moving averagesCandlestick patterns
Updated 2 weeks ago · MIT GitHub repository of Zen EMA Pullback Patterns
15 stars

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

Indicator v5 Candlestick patternsMoving averages
Updated 4 months ago · Apache-2.0 GitHub repository of NSDT HAMA Candles with Bollinger Bands

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

Indicator v6 TrendCandlestick patterns
Updated yesterday · MIT GitHub repository of Adaptive Arithmetic Candles + Quality Score [WavesUnchained]

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers