Indicator · Pine Script v6 · On the chart

GROK NO.1 Major Move

by vedkanani123

An indicator for the price chart that marks buy and sell flips and then stays on that side until a reversal.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv6current
Lines of code306
Settings24inputs
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 flip needs several conditions on a closed bar, including a broken ATR trail for consecutive closes, a close through the last confirmed swing, an impulse candle, enough travel in the current trade, a minimum hold, no small box and a completed higher-timeframe EMA in agreement. It shows a core line, trail, swing, labels, a dashboard and a guide stop and target.

Details

Published by

vedkanani123 on GitHub

Draws

On the price chart

Category

Trend, Breakout

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
Auto-select completed HTFbooltrueautoHtf
Manual HTFtimeframe15manualHtf
HTF EMA lengthint34htfEmaLen
ZLEMA core lengthint21coreLen
ATR lengthint14atrLen
Trail x ATR (0 = auto)float0.0trailInput
Swing confirm bars (0 = auto)int0swingInput
Min hold bars (0 = auto)int0holdInput
Confirm closes beyond trail (0 = auto)int0confirmIn
Min trade travel x ATR (0 = auto)float0.0travelInput
Min reverse travel x ATR (0 = auto)float0.0reverseIn
Small-range lookback (0 = auto)int0boxInput
Show all 24 settings
SettingTypeDefaultVariable
Min box width x ATR to allow a flip (0 = auto)float0.0minBoxAtrIn
Minimum flip scoreint70needScore
CorebooltrueshowCore
Causal trailbooltrueshowTrail
Confirmed major swingbooltrueshowSwing
BUY / SELL labelsbooltrueshowLabels
Side / wait backgroundbooltrueshowBg
Color bars by sidebooltruecolorBars
DashboardbooltrueshowDash
Signal stop / 2R guidebooltrueshowRisk
Guide stop x ATRfloat2.0stopAtr
Guide target Rfloat2.0targetR
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

Sideway Zones Live

by dearvn
257 stars

Sideway Zones Live is an overlay indicator that estimates inner and outer sideways bands from recent highs and lows with a rational quadratic kernel. It tracks swing pivots over a loopback period and counts bars that remain between the outer high and low. Afte

Indicator v5 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of Sideway Zones Live
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
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]

Reversal Breakout System

by TamaraKGreen
46 stars

This indicator detects inside candles inside larger parent candles on the price chart. It plots colored boxes around inside and parent candles, fills them with user-adjustable transparency, draws Fibonacci retracement lines and mother candle range lines, and d

Indicator v6 Candlestick patternsBreakout
Updated 7 weeks ago · None stated GitHub repository of Reversal Breakout System

RSC Trend Trading Study

by readysetcryptocodes
43 stars

This indicator plots Donchian Channels alongside fast and slow simple moving averages directly on the price chart. It generates bullish breakout signals when the high reaches the upper channel while the close is above the 50 SMA (and optionally the 200 SMA). B

Indicator v4 TrendBreakout
Updated 2 years ago · None stated GitHub repository of RSC Trend Trading Study

Candle Stage Analysis

by ChartsLector
41 stars

This indicator classifies market trends into structured stages based on moving average alignments, compression, and ATR distance from the 50-period SMA. It tracks multiple exponential moving averages against the 50 SMA to detect basing phases, breakouts, trend

Indicator v6 TrendMoving averages
Updated 3 days ago · None stated GitHub repository of Candle Stage Analysis

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