Indicator · Pine Script v6 · On the chart

Nexus Prime Engine v9.1 Guarded Major Move

by vedkanani123

An overlay signal indicator that makes entries harder and reversals slower than earlier versions.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv6current
Lines of code411
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

Entries need a persistent confirmed trend, a fresh trigger, and price not too extended from the zero-lag line. Exits need opposite evidence and a minimum ATR retrace, a long exits before any short, and a cooldown applies. A close-confirmed ATR guard exits invalidated trades but is not a broker stop. Gap, shock and micro-range filters are included.

Details

Published by

vedkanani123 on GitHub

Draws

On the price chart

Markets

Any symbol

Timeframes

Any timeframe

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
Price sourcesourceclosesrc
Responsive ZLEMA lengthint14zlemaLen
Slow baseline lengthint55slowLen
Structure HMA lengthint34hmaLen
ATR lengthint14atrLen
Do not enter beyond ZLEMA x ATRfloat1.2maxExtensionAtr
Minimum adverse retrace to exit x ATRfloat0.75minRetraceAtr
Mature move threshold x ATRfloat1.0minFavorableAtr
Mature move giveback x ATRfloat1.4matureGivebackAtr
ADX/DMI lengthint14adxLen
Trend entry ADXfloat22.0adxTrendEnter
Range entry ADXfloat17.0adxRangeEnter
Show all 40 settings
SettingTypeDefaultVariable
Release range ADXfloat20.0adxTrendRelease
Choppiness lengthint14chopLen
Range choppinessfloat61.8chopRangeEnter
Trend release choppinessfloat55.0chopTrendRelease
Efficiency lengthint12effLen
Range efficiencyfloat0.28effRangeEnter
Trend release efficiencyfloat0.35effTrendRelease
ATR baseline lengthint50atrBaseLen
Pause entries above ATR ratiofloat2.2panicAtrRatio
Pause entries above candle range x ATRfloat2.8shockAtrMult
Pause entries after abnormal gapsbooltrueuseGapFilter
Gap threshold x previous ATRfloat1.5gapAtrMult
Micro-range windowint20microWindowBars
Micro-range maximum width x ATRfloat2.4microBoxMaxAtr
Decisive breakout buffer x ATRfloat0.15breakoutBufferAtr
Confirmed trend bars before entryint2entryConfirmBars
Breakout lookbackint12breakLen
Pullback distance from ZLEMA x ATRfloat0.35pullbackAtr
RSI lengthint14rsiLen
Bullish RSI floorfloat53.0rsiBullLevel
Bearish RSI ceilingfloat47.0rsiBearLevel
MACD fastint12macdFastLen
MACD slowint26macdSlowLen
MACD signalint9macdSignalLen
Minimum entry scoreint7minScore
Use volume when availablebooltrueuseVolume
Volume average lengthint20volumeLen
Volume confirmation x averagefloat1.15volumeFactor
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

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

The Market Tradability Engine calculates multi-factor tradability, balance, compression, and direction scores to evaluate market regime quality. It classifies market conditions into eight distinct states, including Balance, Compression, Ready, Breakout, Trend,

Indicator v6 TrendVolatility & bands
Updated 2 days ago · MIT GitHub repository of Market Tradability Engine [WavesUnchained]

GainzAlgo V2 Alpha

by Bakomebandias
8 stars

This overlay indicator scores breakouts of recent highs and lows against failed-breakout checks, EMA trend alignment, RSI momentum, and an ATR volatility band. It plots green buy and red sell labels when conditions pass a minimum score, and it prints ATR-based

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of GainzAlgo V2 Alpha
3 stars

Greeffer's Long Study calculates Donchian Channels alongside a volume moving average filter to generate trade signals. When price touches the lower or upper channel boundaries combined with volume exceeding a custom moving average multiplier, the indicator tri

Indicator v4 TrendVolatility & bands
Updated 4 years ago · CC0-1.0 GitHub repository of Greeffer's Long Study

Bollinger Bands

by Web3Degenerate
2 stars

This overlay indicator plots customized asymmetrical Bollinger Bands on the price chart to detect breakout trade signals. It calculates a middle simple moving average and standard deviation bands using separate standard deviation multipliers for upper and lowe

Indicator v5 Volatility & bandsBreakout
Updated 2 years ago · None stated GitHub repository of Bollinger Bands

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