Indicator · Pine Script v6 · On the chart

Nexus No.1 Flip Engine v13 - Major Moves Only

by vedkanani123

A trend flip indicator on the price chart, where BUY exits a short and enters long and SELL does the reverse.

View on GitHub

Repaints

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

Nexus No.1 Flip Engine v13 - Major Moves Only uses an ATR structure trail and requires a breakout of a prior swing, so minor pullbacks do not produce signals. Presets cover scalp, gold and forex intraday, and swing charts. Gates include minimum bars between flips, trail-break confirmation closes, ADX, DMI, choppiness, efficiency and gap or shock filters. Signals commit on confirmed bar closes.

Details

Published by

vedkanani123 on GitHub

Draws

On the price chart

Category

Trend, Breakout

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
PresetstringAuto (Major Moves)preset
Auto-adapt parameters to chart timeframebooltrueuseAuto
ATR lengthint14atrLen
Base trail distance x ATRfloat3.5baseMult
Use volume-weighted source when volume existsboolfalseuseVolumeSource
Volume source lengthint12volumeSourceLen
Pre-smooth source with EMA 2booltruepreSmooth
Widen trail in range transition xfloat1.35chopTrailBoost
Minimum slow trend slope x ATRfloat0.04minSlopeAtr
Minimum fast/slow separation x ATRfloat0.12minSeparationAtr
Slow zero-lag lengthint20slowZlemaLen
Require prior-swing breakoutbooltrueuseSwingBreak
Show all 40 settings
SettingTypeDefaultVariable
Swing lookbackint12swingLen
Minimum bars between flipsint12minBarsBetweenFlips
Trail-break confirmation closesint2trailConfirmBars
Minimum travel from last flip x ATRfloat1.00minTravelAtr
Trail break buffer x ATRfloat0.10trailBreakBufferAtr
Strong reverse distance x ATRfloat1.55strongReverseAtr
Use efficiency filterbooltrueuseEfficiency
Efficiency lookbackint10effLen
Minimum efficiencyfloat0.28effMin
Range efficiency thresholdfloat0.24effRangeEnter
Trend release efficiencyfloat0.34effTrendRelease
ADX/DMI lengthint14adxLen
Range entry ADXfloat17.5adxRangeEnter
Trend release ADXfloat20.0adxTrendRelease
Minimum ADX for normal flipsfloat18.0adxTrailMin
Minimum DMI spreadfloat3.0diSpreadMin
Choppiness lengthint14chopLen
Range choppinessfloat61.8chopRangeEnter
Trend release choppinessfloat55.0chopTrendRelease
ATR baseline lengthint50atrBaseLen
Pause new flips above ATR ratiofloat2.2pauseAtrRatio
Pause new flips above candle range x ATRfloat2.8shockRangeAtr
Pause new flips after abnormal gapbooltrueuseGapFilter
Gap threshold x previous ATRfloat1.5gapAtrMult
Enable HTF biasbooltrueuseHtf
Auto-select HTF from chartbooltrueautoHtf
Manual HTFtimeframe240manualHtf
HTF Supertrend factorfloat3.1htfFactor
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