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
Fast, pivot, and slow exponential moving averages form two colored clouds that switch between bullish and bearish colors. Optional conviction arrows, extra conviction EMAs, line highlights, and candle coloring based on a bias EMA can be toggled. Lengths, colors, and cloud transparency are adjustable. A Time Warp input pulls those averages from another timeframe through request.security with lookahead, so displayed values can use future data.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Time Warp
string
off
time_warp
Fast EMA Length
int
8
fast_ema
Pivot EMA Length
int
21
pivot_ema
Slow EMA Length
int
34
slow_ema
Bullish Fast Cloud Color
color
color.green
bullish_fast_cloud_color
Bearish Fast Cloud Color
color
color.red
bearish_fast_cloud_color
Bullish Slow Cloud Color
color
color.aqua
bullish_slow_cloud_color
Bearish Slow Cloud Color
color
color.orange
bearish_slow_cloud_color
Cloud Transparency (0-100)
int
60
cloud_transparency
Show Fast EMA Highlight
bool
false
show_fast_ema_highlight
Fast EMA Highlight Color
color
color.white
fast_ema_highlight_color
Show Pivot EMA Highlight
bool
false
show_pivot_ema_highlight
Show all 26 settings
Setting
Type
Default
Variable
Pivot EMA Highlight Color
color
color.white
pivot_ema_highlight_color
Show Slow EMA Highlight
bool
false
show_slow_ema_highlight
Slow EMA Highlight Color
color
color.white
slow_ema_highlight_color
Show Conviction Arrows
bool
true
show_conviction_arrows
Bullish Conviction Arrow Color
color
color.aqua
bullish_conviction_color
Bearish Conviction Arrow Color
color
color.yellow
bearish_conviction_color
Show Fast Conviction EMA
bool
true
show_fast_conviction_ema
Fast Conviction EMA Length
int
13
fast_conviction_ema
Fast Conviction EMA Color
color
color.silver
fast_conviction_ema_color
Show Slow Conviction EMA
bool
true
show_slow_conviction_ema
Slow Conviction EMA Length
int
48
slow_conviction_ema
Slow Conviction EMA Color
color
color.purple
slow_conviction_ema_color
Show Candle Bias
bool
false
show_candle_bias
Bias EMA
int
21
bias_ema
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