A strategy-type script for the price chart that plots the high, low and midpoint of the first part of each session, using end hour and minute inputs, and marks those bars.
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-v1 adds pivot-based support and resistance lines with left and right bar counts, labels breaks that come with a volume increase, flags bull and bear wick breaks, and raises alerts when support or resistance breaks. Moving average and date range inputs exist. The supplied code does not show clear order or stop rules.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
End Hour
int
9
End Hour
End Minute
int
30
End Minute
Length
int
len
length
Show Breaks
bool
true
toggleBreaks
Left Bars
int
5
leftBars
Right Bars
int
5
rightBars
Volume Threshold
int
10
volumeThresh
Source
source
close
src
Fast Length
int
5
fastLen
Slow Length
int
10
slowLen
Exponential Moving Average
bool
false
ema
Slope
float
1.
mult
Show all 20 settings
Setting
Type
Default
Variable
Slope Calculation Method
string
Atr
calcMethod
backpaint
bool
true
backpaint
Up Trendline Color
color
color.teal
upCss
Down Trendline Color
color
color.red
dnCss
Show Extended Lines
bool
true
showExt
From
time
timestamp("30 Jan 2024 09:00 +0000")
i_from
Thru
time
timestamp("30 JAN 2024 03:15 +0000")
i_thru
Show Date Range
bool
true
i_show
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 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 tracks the high and low of a user-defined London session and plots the previous session levels as support and resistance. It flags a break beyond a level when price closes past an ATR buffer, then waits a set number of bars for a retest w
This strategy combines Opening Range Breakout (ORB) mechanics with Inner Circle Trader (ICT) concepts like Fair Value Gaps, Order Blocks, and liquidity grabs. It identifies session opening ranges and generates signals when price breaks out with supporting rela
This strategy detects Opening Range Breakouts in a specified session. It calculates the high and low of the opening range bar then plots these levels on the price chart and fills the area between them. Candles are colored based on their relation to the ORB hig
A strategy built around the first regular-session candle of the US day in New York time, together with rejection levels collected from wicks formed during pre-market and after-hours sessions. Rejection levels within a tolerance percentage are grouped. Options
The Dollar Cross Play strategy detects price breakouts above a user-defined dollar threshold. It qualifies long entries by verifying that the previous day's close was at or below a maximum ceiling, aiming to capture fresh crosses rather than overextended moves