This TradingView indicator draws daily support and resistance lines for gold (XAU/USD) at 08:00 Singapore time on weekdays, based on the price action of the 5-minute candle closing at 08:00.
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
TP 8 Lines also plots three ATR-based take-profit levels per side, computed as the resistance for buys and support for sells. The script includes a manual mode for loading levels from Telegram signals and a predicted mode that automatically computes entries and TPs using H1 ATR. It monitors price retests of these lines within configurable windows, sending alerts for potential fade entries on each side. Lines are reset daily at a specified hour and can be drawn with adjustable colors and widths.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Manual TP levels (from today's Telegram signal)
bool
true
useManual
Signal string from the bridge (buy|tp,tp,tp|sell|tp,tp,tp)
string
sigStr
BUY TP1,TP2,TP3 (when string empty)
string
4146,4160,4178
buyTPsStr
SELL TP1,TP2,TP3 (when string empty)
string
4105,4091,4077
sellTPsStr
BUY entry line (0 = none; drawn only)
float
0
manBuyEnt
SELL entry line (0 = none; drawn only)
float
0
manSellEnt
Manual mode: daily reset hour (SGT)
int
8
resetHour
Session 1 hour (SGT)
int
8
amHour
Session 2 hour (SGT)
int
19
pmHour
H1 ATR length
int
14
atrLen
Buy entry offset (P +)
float
1
buyOff
Sell entry offset (P +)
float
-6
sellOff
Show all 25 settings
Setting
Type
Default
Variable
Buy TP1 x ATR
float
1.11
rb1
Buy TP2 x ATR
float
2.03
rb2
Buy TP3 x ATR
float
2.81
rb3
Sell TP1 x ATR
float
0.89
rs1
Sell TP2 x ATR
float
1.70
rs2
Sell TP3 x ATR
float
2.44
rs3
Breakout buffer, % of level (InpRetestBufferPct)
float
0.05
bufferPct
Retest window, minutes (0 = no limit)
int
60
windowMin
SL & TP distance, USD (InpSigFadeUSD)
float
10.0
fadeUsd
BUY side lines
color
color.purple
buyColor
SELL side lines
color
color.orange
sellColor
Line length (hours)
int
11
segHours
Entry line width
int
2
lineWidth
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 overlays options gamma-exposure levels, session VWAP bands, and intraday market structure tools directly on the price chart. It provides three modular components: strike walls with standard deviation bands and opening ranges, a gamma regime engi
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
The AM TBR indicator calculates statistical levels for NQ futures using standard deviation. It plots a sigma ladder showing touch levels at 0.5 to 2.0 standard deviations, marks touch points, displays Mean Absolute Error (MAE) zones after touches, and shows Me
This overlay indicator marks the current day's low and a suggested entry zone a fraction of daily ATR below that low. It compares daily volume with a volume moving average, plots daily SMA and EMA distance, and draws an optional ATR-width price cloud. Labels c
This indicator plots intraday reference levels, projection targets, and opening range boundaries tailored for continuous electronic trading session instruments such as gold. It calculates Average Bar Range targets in bullish and bearish multiples, previous day
This indicator combines six trading tools into a single chart overlay to optimize indicator limits. It calculates Bollinger Bands, projects weekend price boundaries, plots market structure elements like order blocks, breaker blocks, and MSB lines, marks New Yo