Indicator · Pine Script v6 · On the chart

NO.1 Major Daily Signal v2

by vedkanani123

A price-chart indicator that prints buy and sell labels aimed at one larger intraday price move per UTC day, with the target size set in price units.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv6current
Lines of code474
Settings40inputs
LicenceNone stated
Last update2 months ago23 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

A first signal can come from a trend breakout or a completed Asia range break, optionally preferring the day-open side. After the target is reached the day locks; a second signal is allowed only if the first has not lost. Monday-open and late-Friday skips, a session limit and higher-timeframe Supertrend agreement are optional.

Details

Published by

vedkanani123 on GitHub

Draws

On the price chart

Markets

Gold

Timeframes

M15-H1

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

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

SettingTypeDefaultVariable
Target move $ (price units)float20.0targetDollars
No-loss buffer $float0.30lossBuffer
Allow one no-loss second signal if $20 failsbooltrueallowSecond
Only London–NY (07-17 UTC)boolfalseuseSession
Skip Monday before 08:00 UTCbooltrueskipMondayOpen
Skip Friday from 17:00 UTCbooltrueskipFridayLate
Count completed Asia range break as a first triggerbooltrueuseAsiaBreak
Prefer day-open side for the first signalbooltrueuseDayOpen
Auto-adapt to chart timeframebooltrueuseAuto
Require completed HTF SupertrendbooltrueuseHtf
Auto-select HTFbooltrueautoHtf
Manual HTFtimeframe240manualHtf
Show all 40 settings
SettingTypeDefaultVariable
HTF Supertrend factorfloat3.10htfFactor
HTF ATR lengthint14htfAtrLen
ATR lengthint14atrLen
Fast ZLEMAint13fastLen
Slow EMAint55slowLen
HMA lengthint34hmaLen
Macro EMAint100macroLen
Slope lookbackint5slopeLen
Macro slope lookbackint8macroSlopeLen
Min slow slope x ATRfloat0.08minSlopeAtr
Min macro slope x ATRfloat0.03minMacroSlopeAtr
Min fast/slow separation x ATRfloat0.08minSepAtr
Causal trail x ATRfloat3.70trailMult
Widen trail in range xfloat1.45rangeTrailBoost
Trail break buffer x ATRfloat0.12trailBufferAtr
Structure trail lookbackint20structTrailLen
ADX / DMI lengthint14adxLen
Min ADX for a first signalfloat18.0adxTrend
Range ADXfloat16.0adxRangeEnter
Trend-release ADXfloat20.0adxTrendRelease
Min DMI spreadfloat2.5diSpreadMin
Choppiness lengthint14chopLen
Range if chop abovefloat61.8chopEnter
Trend if chop belowfloat55.0chopRelease
Max chop on signal barfloat58.0maxFlipChop
Efficiency lengthint12effLen
Range if efficiency belowfloat0.22effRangeEnter
Trend if efficiency abovefloat0.32effTrendRelease
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

Trend Score History

by ryangaraygay
2 stars

Trend Score History calculates a composite trend metric ranging between -5 and +5 by evaluating session VWAP, EMA alignment, price-volume flow, lower-timeframe Donchian channel breakouts, and Opening Range breakouts. It plots the cumulative score as histogram

Indicator v6 TrendOscillators & momentum Repaints
Updated 1 year ago · MIT GitHub repository of Trend Score History
257 stars

This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds

Indicator v6 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of Auto Trade Futures ES
114 stars

This indicator adapts Michael Chalek's Dual Thrust trading concept to plot breakout levels and overlay bands directly on the price chart. It calculates lookback ranges based on historical price action and provides two algorithmic variations along with multiple

Indicator v4 TrendBreakout Repaints
Updated 1 year ago · None stated GitHub repository of Dual Thrust Trading Algorithm
92 stars

This indicator classifies the market into gamma regime types (negative gamma trend, positive gamma mean-reversion, or transition) by calculating a composite score based on daily ATR ratios, session VWAP crossover frequencies, and opening range displacement. It

Indicator v5 Volatility & bandsTrend
Updated 2 months ago · Custom licence GitHub repository of Moon Dev GEX Regime & Trap
56 stars

This indicator calculates dynamic upper and lower trendlines from pivot highs and pivot lows across a specified bar length. Trendline slopes are derived using ATR, standard deviation, or linear regression methods. It plots trendlines and breakout signal labels

Indicator v5 TrendSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Trendlines With Breaks [LUX]

IB / ORB Live Stats

by TamaraKGreen
46 stars

This overlay indicator marks the New York initial balance and a configurable opening range on the price chart and reports live range statistics in two tables. It builds an IB box for a default 09:30–10:30 ET window, an ORB box from 09:30 for a set number of mi

Indicator v6 Sessions & timeBreakout
Updated 7 weeks ago · None stated GitHub repository of IB / ORB Live Stats

More Trend scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers