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 B draws all elements in a separate pane. WaveTrend calculates using SMMA and EMA on source like ohlc4 with adjustable lengths. RSI uses custom stochastic on close or other source with overbought oversold thresholds. MFI applies smoothed difference formula. Users toggle visibility of waves, fast waves, MFI bars, RSI lines, and guide levels. No exit rules or position sizing apply as it is a pure indicator.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show Waves
bool
true
wtShow
Show Fast Waves
bool
true
Showvwap
Show MFI Waves
bool
true
rsiMFIShow
Show MFI Color Bars
bool
true
mfiColorBarsShow
Show Wave Trend Circle Marks
bool
true
wtDotsShow
Show Strong Buy/Sell Circle Marks
bool
true
bsDotsShow
Show RSIs Lines
bool
true
rsiShow
Show Over-Buy/Sell Guide Lines
bool
true
levelsGuideShow
_rsiSRC
source
close
rsiSRC
_rsiLen
int
20
rsiLen
_rsiOverSold
int
30
rsiOverSold
_rsiOverBought
int
60
rsiOverBought
Show all 19 settings
Setting
Type
Default
Variable
_rsiMFIperiod
int
60
rsiMFIperiod
_rsiMFIMultiplier
int
200
rsiMFIMultiplier
_rsiMFIPosY
float
2.5
rsiMFIPosY
_wtChannelLen
int
5
wtChannelLen
_wtAverageLen
int
20
wtAverageLen
_wtMASource
source
ohlc4
wtMASource
_wtMALen
int
3
wtMALen
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.
MACD Breakout builds a higher-timeframe MACD from preset fast and slow lengths using SMA or EMA, and marks support and resistance zones from histogram sensitivity. Optional filters require zero-line agreement, higher-timeframe direction, and linear-regression
This reference script provides practical Pine Script v6 code examples for creating custom indicators. It includes a smoothed Relative Strength Index oscillator plotted with overbought and oversold background zones, a multi-timeframe moving average overlay with
The script plots a WaveTrend oscillator in a separate pane, calculating TCI as an EMA of a normalized price deviation and its 4-bar SMA. It displays overbought and oversold levels with colored circles for WT1-WT2 crossovers and bar coloring on crossover bars.
This indicator combines trend, momentum, and key level calculations into a separate pane analysis tool. It determines trend direction using fast and slow EMAs, normalized by the Average True Range to measure trend strength. RSI and ATR-adjusted price changes t
Composite Market Bias is a separate-pane indicator that scores bullish and bearish conditions from RSI, fast versus slow EMA, MACD histogram, Bollinger Band position, and price versus a 50-period EMA. It plots the resulting bias score with RSI, EMA trend, MACD
The EMA RSI indicator plots multiple moving averages including EMAs and MAs on the price chart and the RSI oscillator in a separate pane. It identifies when a trending asset returns to support with RSI in oversold, using green signals and confirmations at key