Indicator · Pine Script v5 · On the chart

Predicted Signals + RSI trigger

by XingHan98

Overlay indicator for XAUUSD gold that draws predicted support and resistance levels at 08:00 and 19:00 SGT on the price chart along with buy and sell take-profit levels spaced by ATR multiples.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code125
Settings29inputs
LicenceNone stated
Last update2 months ago2 Aug 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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

Predicted Signals + RSI trigger generates RSI reversal signals as triangles when the indicator crosses from overbought or oversold extremes and turns back, plus optional circle markers for RSI moving-average cross flips. All signals require bar volume above a minimum threshold. Inputs control ATR length, entry offsets, TP multiples, RSI periods, overbought and oversold levels, and zone hiding options. Lines and signals appear directly on the price chart for intraday reference on 5-minute gold charts.

Details

Published by

XingHan98 on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Support & resistance, Oscillators & momentum, Volatility & bands, Sessions & time

Markets

Gold

Timeframes

M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
H1 ATR lengthint14atrLen
Buy entry offset (P +)float1buyOff
Sell entry offset (P +)float-6sellOff
Buy TP1 x ATRfloat1.11rb1
Buy TP2 x ATRfloat2.03rb2
Buy TP3 x ATRfloat2.81rb3
Sell TP1 x ATRfloat0.89rs1
Sell TP2 x ATRfloat1.70rs2
Sell TP3 x ATRfloat2.44rs3
Line length (hours)int11segHours
Entry line widthint2lineWidth
Show price labels on levelsbooltrueshowLabels
Show all 29 settings
SettingTypeDefaultVariable
RSI lengthint14rsiLen
RSI sourcesourceclosesrc
Show reversal-from-extreme signals (triangles)booltrueshowRev
Show RSI/MA cross flip signals (circles)booltrueshowFlip
Flip: RSI MA typestringSMAmaType
Flip: RSI MA lengthint14maLen
Flip: hide dots inside mid RSI zonebooltruehideDots
Flip hide-zone: lower boundint40dotLo
Flip hide-zone: upper boundint60dotHi
Overbought level (arm SELL)int70obExtreme
SELL fires when RSI turns back belowint60obConfirm
Oversold level (arm BUY)int30osExtreme
BUY fires when RSI turns back aboveint40osConfirm
Min bar volumeint3000minVol
Buycolorcolor.greenbuyCol
Sellcolorcolor.redsellCol
Highlight OB/OS regions (RSI past extreme)booltrueshowRegion
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.

Similar Pine Scripts

3 stars

This indicator combines Bollinger Bands, fractal detection, and RSI-based swing analysis within a customizable trading session. It identifies regular or Bill Williams fractals during active session hours and generates long or short signals when fractal extreme

Indicator v5 Volatility & bandsSessions & time
Updated 5 months ago · None stated GitHub repository of MCF and Trendy Pipsy
56 stars

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

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Day Trading Booster by DGT

AM TBR — NQ Stats

by TamaraKGreen
46 stars

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

Indicator v6 Volatility & bandsSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of AM TBR — NQ Stats

LoD Intraday Entry

by ChartsLector
41 stars

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

Indicator v6 Support & resistanceVolatility & bands
Updated 2 days ago · None stated GitHub repository of LoD Intraday Entry

Zen Toolkit ETH

by Zen-Tim
29 stars

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

Indicator v6 Support & resistanceSessions & time
Updated 2 weeks ago · MIT GitHub repository of Zen Toolkit ETH

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers