Indicator · Pine Script v6 · Own pane

Grid Bot Controler Plugin Big Move [psyll]

by cullyk· code credited to Copyright

This indicator detects significant volume-driven market moves to serve as a controller plugin for the Grid Bot system.

View on GitHub

GitHub stars2on the repository
Pine versionv6current
Lines of code69
Settings6inputs
LicenceMIT
Last update8 months ago25 Feb 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  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

69 lines of Pine Script v6 from plugins/Grid Bot [Controler plugin] Big Move [psyll].pine, published under MIT. Keep the author's credit and licence lines when you reuse it.

Grid Bot [Controler plugin] Big Move [psyll].pine
//@version=6
// Author: Psyll.com
// Email: info@psyll.com
// Website: https://psyll.com
// Copyright: Copyright © 2025 psyll.com. All rights reserved.
indicator('Grid Bot [Controler plugin] Big Move [psyll]', overlay = false)
mode = input.string('Close + Wait', 'Mode', ['Close + Wait', 'Close', 'Wait'])
source = input.source(close, 'Source', display = display.none)

length = input.int(title = 'Lookback period ', defval = 420, minval = 1, maxval = 4999, display = display.none)
multipler = input.float(100, 'Multipler', minval = 2, display = display.none)
threshold = input.float(title = 'Threshold', defval = 1, minval = 0.01, step = 0.01, display = display.none)
after = input.int(30, 'Mark candles after big move', display = display.none)
vrocNormalized = close
isBigMove = false
isBigMoveShort = false
isBigMoveLong = false
vStatus = false
entryStatus = true
mav = ta.sma(volume, length)
difference = mav - mav[1]
volumeIncreasing = difference > 0
valueIncreasing = close > close[1]
increasing = valueIncreasing and volumeIncreasing
vroc = increasing ? difference * (100 / mav[1]) : 0
historicMax = 0.0
firstVrocNormalizedValue = 10
historicMax := vroc > historicMax[1] ? vroc : nz(historicMax[1], firstVrocNormalizedValue)
vrocNormalized := vroc / historicMax * multipler
after_move = false
vStatus := vrocNormalized >= threshold
if vStatus
    isBigMove := true
    isBigMove
if ta.barssince(isBigMove == true) < after
    after_move := true
    after_move
big_move_plot = plot(vrocNormalized, title = 'Signal', color = threshold < vrocNormalized ? color.new(color.red, 0) : color.new(color.black, 0), style = plot.style_area)
plot(threshold, title = 'Exit line', color = after_move ? color.new(color.red, 90) : color.new(color.white, 90), linewidth = 1, style = plot.style_area)
// // 0 = default
// // 1 = exit
// // 2 = no entry
// // 3 = no exit
// // 4 = entry
longs = 0
shorts = 0
if mode == 'Close + Wait'
    if after_move
        shorts := 2
        longs := 2
        longs
    if isBigMove
        shorts := 1
        longs := 1
        longs
if mode == 'Close'
    if isBigMove
        shorts := 1
        longs := 1
        longs
if mode == 'Wait'
    if after_move
        shorts := 2
        shorts
    if after_move
        longs := 2
        longs
plot(longs, 'Long', display = display.none)
plot(shorts, 'Short', display = display.none)

Overview

Grid Bot Controler Plugin Big Move [psyll] calculates a normalized Volume Rate of Change based on a simple moving average of volume and compares it against historical maximums. When both price and volume rise sharply past a user-defined threshold, it signals a big move and maintains an active state for a designated number of subsequent bars. Displayed in an off-chart pane, it outputs signal states for grid bot execution modes.

Details

Published by

cullyk on GitHub

Code credit

Copyright, as written in the script's header

Type

Indicator, Pine Script v6

Draws

Separate pane below the chart

Category

Volume, Volatility & bands

Markets

Any symbol

Timeframes

Any timeframe

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
ModestringClose + Waitmode
Sourcesourceclosesource
Lookback period int420length
Multiplerfloat100multipler
Thresholdfloat1threshold
Mark candles after big moveint30after
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

This indicator plots a Supertrend-based trend-following setup in a separate pane and skips conditions it treats as a sideways market. A volatility range is built from an ATR value, with RMA, SMA, EMA, or WMA smoothing, or from a fixed point distance. Optional

Indicator v5 TrendVolatility & bands
Updated 1 year ago · MPL-2.0 GitHub repository of Trend Following Setup - Sideways Market Skipper
114 stars

This indicator standardizes price inputs using z-score normalization before calculating a relative strength index (RSI). It generates trade signals when standardized price components cross over or under the standardized RSI feature. Signals can be filtered by

Indicator v4 Oscillators & momentumVolatility & bands Repaints
Updated 1 year ago · None stated GitHub repository of Preprosessed & Standardized RSI
99 stars

This script calculates Bill Williams' Market Facilitation Index (BW MFI) to evaluate price movement efficiency relative to trading volume. It computes the range between the high and low prices divided by volume for each bar, returning zero when volume is zero.

Indicator v6 VolumeVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Market Facilitation Index (MARKETFI)

PPO ATR Bands

by cryptorife
75 stars

PPO ATR Bands plots a percentage price oscillator in a separate pane. It compares a Hull average of typical price with a volume-weighted exponential average of Parabolic SAR, then scales three true-range bands around the slow average into matching oscillator l

Indicator v4 Oscillators & momentumMoving averages
Updated 3 years ago · GPL-3.0 GitHub repository of PPO ATR Bands

This indicator combines Chaikin Money Flow (CMF), a SuperTrend baseline, and an Average True Range (ATR) calculation inside a separate sub-pane. It calculates a standard 20-period CMF plotted as a line and colored histogram columns around a zero baseline, trac

Indicator v6 TrendVolume
Updated 6 months ago · Apache-2.0 GitHub repository of Institutional View: CMF & SuperTrend

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