1Copy the scriptPress Copy script above, or the copy button on the code below.
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
167 lines of Pine Script v6 from collections/MarketCipher/MarketCipherB.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Market Cipher B plots a Wave Trend line from a channel period, an average period, a moving-average source, and a moving-average length, with optional divergence markers at long and short bullish and bearish levels. It also shows an MFO area, an optional support bar, RSI, Stochastic RSI, and VWAP, each with its own show toggle and period or multiplier. Overbought and oversold threshold lines can be shown. No trade entries, exits, or stops are defined.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show
bool
true
thresholdShowed
Overbought Threshold
int
60
overboughtThreshold
Oversold Threshold
int
-60
oversoldThreshold
Show
bool
true
wtShowed
Channel Period
int
9
wtChlPrd
Average Period
int
12
wtAvgPrd
MA Source
source
hlc3
wtMaSrc
MA Length
int
3
wtMaLen
Show Divergence
bool
false
wtDivShowed
Long Bearish Divergence Level
int
45
wtLongBearishDivLevel
Long Bullish Divergence Level
int
-65
wtLongBullishDivLevel
Short Bearish Divergence Level
int
15
wtShortBrearishDivLevel
Show all 22 settings
Setting
Type
Default
Variable
Short Bullish Divergence Level
int
-40
wtShortBullishDivLevel
Show
bool
true
mfoShowed
Support Bar
bool
false
mfoBarShowed
Period
int
60
mfoPrd
Area Multiplier
int
150
mfoMult
Show
bool
true
rsiShowed
Period
int
40
rsiPrd
Show
bool
true
stochRsiShowed
Period
int
81
stochRsiPrd
Show
bool
true
vwapShowed
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.
Oscillator Suite plots a normalised price oscillator in a separate pane and overlays a signal line that can use SMA, EMA, WMA, HMA, RMA, VWMA, T3, ZEMA, KAMA, or GKEMA. It marks bullish and bearish divergences, a smoothed money-flow series, confluence areas an
This indicator plots the Money Flow Index in a separate pane and marks regular and hidden bullish and bearish divergences between price pivots and the oscillator. It builds the index from positive and negative money flow, then finds pivot highs and lows using
This indicator plots a smoothed Z-score of cumulative volume delta in a separate pane, showing whether buying or selling pressure is dominant and when the reading enters extreme zones. It marks spot accumulation, climax or exhaustion, and pivot-based price-vol
This indicator plots a heuristic volume-balance oscillator in a separate pane. It estimates signed volume from the close location inside each bar, multiplies that by volume, and sums the proxy over a rolling window. The sum is scaled between minus one and plus
This indicator is an oscillator suite inspired by Market Cipher B and VuManChu Cipher B that plots in a separate pane. It combines a WaveTrend oscillator, a Money Flow Index (MFI) area, and an RSI indicator with automatic divergence detection. Visual signals h
QPulse is a multi-factor indicator that draws in a separate pane to evaluate market momentum, volume flow, and volatility dynamics. It calculates volume delta, a cumulative delta proxy, advanced adaptive ATR, and a hybrid volume-weighted RSI with overbought an