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
Day Trading Strategy v2 plots 8 and 21 SMAs, higher-timeframe 200 SMAs, VWAP, the last five days of premarket highs and lows, and the 9:30–9:45 opening range. It marks patience-candle long and short arrows and auto-detected key levels. Toggles control each overlay, warning distance, level spacing, and push notifications. It reads higher-timeframe data with lookahead.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show 8 SMA
bool
true
show_8
col_8
color
color.green
col_8
width_8
int
1
width_8
Show 21 SMA
bool
true
show_21
col_21
color
color.red
col_21
width_21
int
2
width_21
Show 5min 200 SMA
bool
true
show_200_5m
col_200_5m
color
color.yellow
col_200_5m
width_200_5m
int
2
width_200_5m
Show 10min 200 SMA
bool
true
show_200_10m
col_200_10m
color
color.orange
col_200_10m
width_200_10m
int
2
width_200_10m
Show all 29 settings
Setting
Type
Default
Variable
Show Hourly 200 SMA
bool
true
show_200_1h
col_200_1h
color
#FF69B4
col_200_1h
width_200_1h
int
2
width_200_1h
Show VWAP
bool
true
show_vwap
col_vwap
color
color.white
col_vwap
width_vwap
int
2
width_vwap
Show PMH / PML (last 5 days)
bool
true
show_pm
Line color
color
color.white
col_pm
Show Opening Range (9:30–9:45)
bool
true
show_or
Show Patience Candle Arrows
bool
true
show_pc
Hourly 200 SMA Warning Distance ($)
float
1.0
warn_sma_dist
Push Notifications
bool
false
push_notif
Show Key Levels
bool
true
show_kl
Color
color
color.yellow
col_kl
Min Spacing ($)
float
1.00
kl_min_space
ADR Multiplier
float
1.0
kl_adr_mult
Max Levels Per Side
int
5
kl_max_side
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 identifies pivot highs and lows using a swing lookback period and connects them with trendlines on the price chart. It generates long and short entry signals when price moves through predefined percentage thresholds in three steps for buy and se
This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds
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
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