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
A trading-type input maps day, multiday, swing, position, and long-term modes to daily through yearly periods. It draws trigger bands from a percentage of ATR, optional Fibonacci multiples, and extensions, and can label directional bias as CALL or PUT. Fast, pivot, and slow EMAs define a stacked bullish or bearish trend. An info label and level colors are optional. It requests higher-timeframe data with lookahead enabled, so levels can use unfinished period values.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Trading Type
string
day_trading
trading_type
Use Options Labels
bool
true
use_options_labels
ATR Length
int
14
atr_length
Trigger Percentage
float
0.236
trigger_percentage
Previous Close Level Color
color
color.white
previous_close_level_color
Lower Trigger Level Color
color
color.yellow
lower_trigger_level_color
Upper Trigger Level Color
color
color.aqua
upper_trigger_level_color
Key Target Level Color
color
color.silver
key_target_level_color
ATR Target Level Color
color
color.white
atr_target_level_color
Intermediate Target Level Color
color
color.gray
intermediate_target_level_color
Show All Fibonacci Levels
bool
false
show_all_fibonacci_levels
Show Extensions
bool
true
show_extensions
Show all 18 settings
Setting
Type
Default
Variable
Level Size
int
2
level_size
Show Info Label
bool
true
show_info
Use Current Close
bool
false
use_current_close
Fast EMA
int
8
fast_ema
Pivot EMA
int
21
pivot_ema
Slow EMA
int
34
slow_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.
The Dereköy-Darvas indicator combines Darvas Box boundary levels with dual Bollinger Bands plotted directly on the main price chart. It calculates top and bottom box lines based on recent high and low extremes to outline price consolidation zones. Simultaneous
This indicator plots a custom Anchored Volume-Weighted Average Price (VWAP) directly on the price chart along with optional standard deviation bands. Users can anchor the VWAP to standard time periods like sessions, weeks, or months, or to corporate events suc
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
Acceleration Bands is an overlay indicator that plots a volatility envelope around a central simple moving average. It calculates upper and lower boundary bands scaled by the high-to-low bar range relative to the midpoint price, smoothed by an SMA over a user-
This indicator calculates and plots Donchian Channels directly on the price chart. It determines the highest high and lowest low over a user-selected lookback period using an optimized monotonic deque algorithm, as well as a middle basis line computed as their
This indicator estimates gamma exposure levels and intraday context for index instruments like SPY and ES. It calculates VWAP with standard deviation bands as a gamma flip proxy, highlighting market regimes through background colors. It plots prior day high, l