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
LoD Intraday Entry compares daily volume with a volume moving average, plots daily SMA and EMA distance, and draws an optional ATR-width price cloud. Labels can show share size from account capital and risk tolerance, using the distance from the current price to a stop under the low of day, blended with beta versus SPY and ATR percent. It is meant for intraday charts and does not place trades.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Volume MA Length
int
50
len
Total Capital $
float
100000
capital
Risk Tolerance %
float
0.25
riskTolerance
Percentage of ATR below the LoD
float
0.1
ATRfraction
ATR Percentage %
float
65.0
atr_percentage
Show Info.
bool
true
showInfo
ATR Length
int
14
atrLength
50 SMA Length
int
50
smaLength
20 EMA Length
int
20
emaLength
Suggested Price Cloud Width (% ATR)
float
5.0
cloudATRpct
Show LoD Info
bool
true
show_label
Show Suggested Price Cloud
bool
true
show_cloud
Show all 24 settings
Setting
Type
Default
Variable
Line Color
color
color.rgb(9, 115, 201)
line_color_input
Line Width
int
2
line_width
Line Length (bars)
int
10
line_length
Reference Point
string
Low
reference_point
Line Style
string
Solid
line_style_input
RPRP Stock Sleeve % of Total Capital
float
100.0
rprpStockSleevePct
RPRP Base Position % of Stock Sleeve
float
15.0
rprpBaseAllocationPct
RPRP Beta Benchmark
symbol
AMEX:SPY
rprpBenchmark
RPRP Beta Lookback (trading days)
int
63
rprpBetaLength
RPRP ATR% Length
int
14
rprpAtrLength
RPRP Beta Weight %
float
50.0
rprpBetaWeight
RPRP ATR Weight %
float
50.0
rprpAtrWeight
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 overlay indicator maps an opening drive for a chosen session, using the first 30 or 60 minutes. It tracks drive high, low, midpoint, range, pace, and volume versus a multi-session average, then projects continuation lines from the drive edge and fade line
This indicator calculates and plots a session-based volume profile directly on the price chart. It maps volume distribution across price levels, highlighting key structural reference points including the Point of Control, Value Area High, and Value Area Low. C
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 overlay indicator plots option strike walls and an optional session VWAP on the price chart for SPY or ES. It spaces major strikes by the selected instrument, draws a set number of strikes on each side, and marks wall-trap and sweep events after a cooldow
This indicator plots daily, weekly, and monthly volume-weighted average prices on the price chart, using a selectable source that defaults to hlc3. For each enabled period it also draws two standard-deviation bands around the VWAP, with multipliers defaulting
This indicator marks forex trading sessions and opening ranges on the price chart. It can draw Sydney, Tokyo, Frankfurt, London, and New York session boxes or five- and fifteen-minute opening ranges, plus an optional opening channel and a day-open range. Day r