A strategy script for the price chart that marks the high, low and midpoint of the first part of each trading session, starting at a configurable hour and minute.
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 strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
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
Algo Trade Indian also plots a volume-weighted average price line and a 50-period exponential moving average, and raises alerts when price crosses above the session high or below the session low. The visible code places no orders, and a commented-out Supertrend section is left unused.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Length
int
len
length
Start Hour
int
9
Start Hour
Start Minute
int
30
Start Minute
Show Breaks
bool
true
toggleBreaks
Left Bars
int
2
leftBars
Right Bars
int
2
rightBars
Volume Threshold
int
2
volumeThresh
Source
source
close
src
Fast Length
int
5
fastLen
Slow Length
int
10
slowLen
Exponential Moving Average
bool
true
ema
Slope
float
0.5
mult
Show all 17 settings
Setting
Type
Default
Variable
Slope Calculation Method
string
Atr
calcMethod
backpaint
bool
true
backpaint
Up Trendline Color
color
color.green
upCss
Down Trendline Color
color
color.red
dnCss
Show Extended Lines
bool
true
showExt
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 strategy plots previous-day high and low, the daily open, and fair value gap zones on the price chart. It takes entries on a selectable timeframe when the FVG requirement and an optional session window allow them, then uses an ATR or fixed pip sto
This script monitors opening gap conditions and breakout behavior relative to the first candle's range across up to twenty configurable stock tickers. It detects whether following bars remain inside the opening range before breaking out, displaying the status
This overlay strategy targets one-minute ATOM scalps. It tracks pivot highs and lows as resistance and support, compares a three-period EMA with a multi-stage smoothed close, and flags long or short when price crosses that curve in the matching direction. Dail
P404 Smoke is a price-chart strategy that sequences an optional higher-timeframe EMA bias, a liquidity range from recent pivots, a sweep of buy-side or sell-side liquidity, and a market structure shift within a set bar window. Comments state it then looks for
This strategy plots a Fibonacci retracement of the previous day's high-low range on the price chart. It places a single long limit order at that level when the bar hour matches the chosen entry hour and the close is below the level. Position size follows the l
This intraday strategy implements session-based trading rules tailored for gold on short timeframes. It tracks the Asian session price range, VWAP, 20-period EMA, and previous day high and low levels to identify liquidity sweeps during London and New York trad