Cipher A is a trend-following overlay indicator that plots a multi-line moving average ribbon alongside long-term moving averages, VWAP, and higher-timeframe weekly and monthly key levels directly on the price chart.
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
Cipher A incorporates underlying WaveTrend, RSI, and RSI-MFI metrics to evaluate trend strength and market momentum. Users can toggle individual ribbon lines, adjust moving average types (such as EMA, ALMA, HMA, or McGinley), and select multi-timeframe resolutions. Because higher-timeframe data is fetched directly without historical bar offsets, the weekly and monthly level plots will update dynamically on live bars.
9-line moving average ribbon with customizable lengths
Multiple MA types including ALMA, HMA, McGinley Dynamic, and VWMA
Weekly and monthly key level tracking via multi-timeframe security
Overlay indicators for VWAP and major long-term moving averages
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Ribbon1
bool
true
show_b1
Ribbon2
bool
true
show_b2
Ribbon3
bool
true
show_b3
Ribbon4
bool
true
show_b4
Ribbon5
bool
true
show_b5
Ribbon6
bool
true
show_b6
Ribbon7
bool
true
show_b7
Ribbon8
bool
true
show_b8
Ribbon9
bool
true
show_b9
Ribbon1
int
5
ema1Len
Ribbon2
int
10
ema2Len
Ribbon3
int
20
ema3Len
Show all 28 settings
Setting
Type
Default
Variable
Ribbon4
int
40
ema4Len
Ribbon5
int
50
ema5Len
Ribbon6
int
60
ema6Len
Ribbon7
int
80
ema7Len
Ribbon8
int
100
ema8Len
Ribbon9
int
140
ema9Len
MA Settings
string
EMA
maType
maTf
timeframe
maTf
MA 20
bool
false
show_ma20
MA 50
bool
false
show_ma50
MA 100
bool
false
show_ma100
MA 200
bool
true
show_ma200
MA 800
bool
false
show_ma800
VWAP
bool
false
show_vwap
Weekly level
bool
false
show_w
Monthly level
bool
false
show_m
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 analyzes short-term price action on index futures and options charts by applying Rational Quadratic kernel smoothing to detect sideways consolidation ranges and potential breakouts. It processes pivot highs and lows over customizable loopback pe
This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts
This indicator overlays trend-following Supertrend bands on the price chart using Average True Range calculations. It plots trailing stop lines, highlights active trend directions, and prints buy or sell shape labels when price closes across band thresholds. I
This indicator plots two Hull moving averages on the price chart, one of the selected price and one of close, and optionally smooths both with a Kahlman filter. It fills the space between them and marks buy and sell labels when they cross, provided scaled volu
The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p
This indicator calculates an Exponential Moving Average and a Zero-Lag Moving Average to identify market trends on the price chart. It plots both moving averages and fills the space between them with color to highlight trend direction. Upon a crossover or cros