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
TIM NEW V2 Dynamic EMA Stack Support & Resistance derives and draws support and resistance lines from the EMA stack, with options for up to 10 lines each, custom colors, widths and visibility controls. Pivot-based projection lines appear when enabled. Labels show top and bottom lines plus support and resistance levels. Main settings adjust EMA lengths, line appearance, label visibility, maximum bars back for lookups, candle overlay mode and projection options. The script overlays all objects directly on the price chart and calculates historical data across 6000 bars.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Max Bars Back for Support/Resistance Labels
int
3000
in_max_bars_back_
Candle Overlay Mode
string
PlotCandles
candleOverlayMode
Top Line
bool
true
show_top_line
Bottom Line
bool
true
show_bottom_line
Top Labels
bool
true
show_topline_labels
Bottom Labels
bool
true
show_bottomline_labels
Bearish Price
color
#f51673
color_bearish_price_state
Bullish Price
color
color.orange
color_bullish_price_state
Bullish Resistance
color
color.rgb(44,161,190)
color_bullish_resistance_state
Bearish Support
color
color.yellow
color_bearish_support_state
Line Width
int
2
line_width
EMA 1
int
5
ema1_length
Show all 40 settings
Setting
Type
Default
Variable
EMA 2
int
8
ema2_length
EMA 3
int
13
ema3_length
EMA 4
int
21
ema4_length
EMA 5
int
34
ema5_length
Label Size
string
tiny
label_size1
Support Line Visibility
string
Keep Visible
support_line_visibility
Support Labels
bool
true
show_support_labels
Support Line Width
int
2
support_line_width
Max Support Lines
int
10
max_support_lines
Support Line Color
color
#367730
support_line_color
Resistance Line Visibility
string
Keep Visible
resistance_line_visibility
Resistance Labels
bool
true
show_resistance_line_label_
Resistance Line Width
int
2
resistance_line_width
Max Resistance Lines
int
10
max_resistance_lines
Resistance Line Color
color
color.rgb(188, 78, 153)
resistance_line_color
Label Size (🟢SPRT & 🔴RES)
string
Tiny
labelSizeInput_snr_labels
Show SPRT/RES Lines (Pivot-Based)
bool
true
showProjLines
Left Bars
int
21
in_leftBars_proj
Right Bars
int
5
in_rightBars_proj
Pivot Source
string
Closes
projSrcMode
Extend Line Left
bool
true
toggle_extend_left
Bars
int
5
extend_left_bars
left_line_style
string
Solid
left_line_style
Extend Line Right
bool
true
enable_right_line
Bars
int
5
extend_right_bars
right_line_style
string
Solid
right_line_style
Line Width
int
4
line_width_close
factor_maxtrendpoint
float
2.5
factor_maxtrendpoint
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.
Moving Average Channel plots separate simple moving averages for upper and lower bands on the price chart. It fills the space between bands with semi-transparent color and colors bars green above the upper band, red below the lower band, or gray in between. Us
This indicator calculates pivot high and pivot low points on the price chart based on configurable left and right bar counts. Confirmed pivot highs and lows are plotted with negative bar offsets directly on the price chart using line and cross styles. Addition
This overlay indicator marks call and put setups from EMAs, RSI, MACD, and a SPY volume ratio. A call needs higher highs, RSI above its minimum, rising MACD, above-average proxy volume, and a rising trend EMA; a put reverses those tests. Early markers use an E
This indicator displays moving average deduction reference points directly on the price chart. It plots dynamic labels on historical bars corresponding to short, medium, and long lookback periods, defaulted to 20, 60, and 120 bars. Each text label displays the
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
The Midnight VWAP indicator calculates and overlays two distinct Volume Weighted Average Price (VWAP) lines on the price chart based on customizable session timeframes. It tracks an overnight or pre-market session alongside regular trading hours, resetting cal