Strategy · Pine Script v6 · On the chart

TeleNexus Sovereign IB Mean Reversion V6

by raybird

This strategy identifies Interactive Brokers opening range periods on the price chart and performs mean reversion trades around the midpoint or opposite side.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code118
Settings20inputs
LicenceNone stated
Last update2 months ago15 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 strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

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

TeleNexus Sovereign IB Mean Reversion V6 calculates the IB high, low, and range, then skips narrow or trend days using lookback averages. Entries occur when price crosses a moving average (EMA, SMA or VWMA) with volume confirmation. The strategy exits at the take-profit target or stop-loss level, both scaled to the IB range. Position sizing follows the defined commission and initial capital. Main settings adjust the IB window hours and minutes, extension factors, lookback length, volume multiplier, MA type and length, and daily loss limits. It draws entry signals, stop-loss, and take-profit on the main price chart overlay.

Details

Published by

raybird on GitHub

Type

Strategy, Pine Script v6

Draws

On the price chart

Category

Mean reversion, Support & resistance, Volatility & bands, Oscillators & momentum

Markets

Forex

Timeframes

M15-H1

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
IB Start Hour (ET)int9i_ibStartHour
IB Start Min (ET)int30i_ibStartMin
IB End Hour (ET)int10i_ibEndHour
IB End Min (ET)int30i_ibEndMin
IB Avg Lookback (days)int20i_ibAvgLen
Narrow IB % of avgfloat0.70i_narrowPct
Wide IB % of avgfloat1.30i_widePct
Skip Narrow IB Daysbooltruei_skipNarrow
Skip Trend Daybooltruei_skipTrend
Extension Min (x IB Range)float0.5i_extMin
Extension Max (x IB Range)float1.0i_extMax
MA TypestringEMAi_maType
Show all 20 settings
SettingTypeDefaultVariable
MA Lengthint50i_maLen
Volume Confirm Multiplierfloat1.2i_volMult
Volume Avg Lengthint20i_volLen
TP TargetstringIB Midpointi_tpTarget
SL (x IB Range)float0.5i_slMult
EOD Hour (ET)int15i_eodHour
EOD Min (ET)int45i_eodMin
Max Daily Loss ($)float500.0i_maxDailyLoss
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

330 stars

Alert BB + RSI [Alorse] is a multi-symbol mean-reversion strategy designed for cryptocurrency trading. It evaluates Bollinger Bands and the Relative Strength Index (RSI) across up to 20 user-defined ticker symbols simultaneously. The strategy enters long posit

Strategy v4 Oscillators & momentumVolatility & bands
Updated 2 months ago · None stated GitHub repository of Alert BB + RSI [Alorse]
106 stars

A multi-timeframe Dollar Cost Averaging (DCA) trading strategy that combines signals from three RSI indicators, three CCI indicators, and Bollinger Bands. It places up to five weighted scale-in safety orders to lower the average entry price. The script offers

Strategy v5 Oscillators & momentumVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of 3RSI 3CCI BB 5orders DCA Strategy+
104 stars

This strategy combines Bollinger Bands with a short RSI to fade moves that leave the bands and then return. A long requires the prior bar below the lower band and oversold, then a close back inside the band while RSI is between 30 and 50. Shorts mirror that at

Strategy v5 Oscillators & momentumVolatility & bands
Updated 3 years ago · MIT GitHub repository of Bollinger Bands and RSI Strategy

KC15

by benso87
24 stars

KC15 is a price-chart strategy that configures two moving averages, a Bollinger Band Width Percentile filter, and PMARP entry and exit thresholds for long and short trades. Users can switch each average between SMA and EMA, set lengths and colors, and toggle l

Strategy v5 Moving averagesVolatility & bands
Updated 4 years ago · MPL-2.0 GitHub repository of KC15

Greeffer RSI Strategy

by SammyEnigma
18 stars

Greeffer RSI Strategy is a trading strategy that generates buy and sell entries based on Bollinger Bands and RSI levels. It places stop orders at upper and lower Bollinger Bands on band crossovers, and adds positions when RSI reaches extreme levels. Users can

Strategy v4 Oscillators & momentumVolatility & bands
Updated 6 years ago · None stated GitHub repository of Greeffer RSI Strategy
13 stars

This strategy overlays the price chart to trade DAX futures during European market hours. It calculates exponential and simple moving averages, RSI, MACD, Bollinger Bands, ATR, and realized volatility to simulate VIX levels. Trades execute when session time fi

Strategy v5 Sessions & timeOscillators & momentum
Updated 8 months ago · Custom licence GitHub repository of ClaudeHedge - DAX Session Strategy

More strategys

Trade Your Charts With a Regulated Broker

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

Compare brokers