Strategy · Pine Script v5 · On the chart

QUANT-OMEGA Strategy

by princeleuel-code

A strategy version of the QUANT-OMEGA regime and ensemble signal.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code413
Settings27inputs
LicenceNone stated
Last update5 months ago6 May 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

QUANT-OMEGA Strategy classifies the market with ADX and ATR, scores trend, mean-reversion and breakout signals into a confidence value, and enters only above set thresholds. Stops and targets are ATR multiples. Position size comes from a risk percentage per trade, capped by maximum leverage, with a drawdown limit, a daily loss limit and a daily trade cap. An optional UTC session filter is available. Defaults include commission, slippage and a 100000 starting capital.

Details

Published by

princeleuel-code on GitHub

Draws

On the price chart

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
Non-Repainting Modebooltruei_nonRepaint
ADX Periodint14i_adxPeriod
ADX Trend Thresholdint25i_adxThreshold
ATR Periodint14i_atrPeriod
ATR Slow Periodint50i_atrSlowPeriod
EMA Fastint8i_emaFast
EMA Slowint21i_emaSlow
EMA Trendint50i_emaTrend
Bollinger Periodint20i_bbPeriod
Bollinger StdDevfloat2.0i_bbStd
RSI Periodint14i_rsiPeriod
Donchian Periodint20i_donchianPeriod
Show all 27 settings
SettingTypeDefaultVariable
Keltner Multiplierfloat1.5i_squeezeKcMult
No Trade Thresholdint30i_confNoTrade
Watch Only Thresholdint50i_confWatch
Small Entry Thresholdint70i_confSmall
Strong Entry Thresholdint85i_confStrong
Risk Per Trade %float1.0i_riskPerTrade
Max Drawdown %float15.0i_maxDrawdown
Daily Loss Limit %float3.0i_dailyLossLimit
Max Leveragefloat5.0i_maxLeverage
Stop Loss ATR Multiplierfloat2.0i_stopMultiplier
Take Profit ATR Multiplierfloat3.0i_tpMultiplier
Use Session Filterboolfalsei_useSessionFilter
Session Start Hour (UTC)int8i_sessionStart
Session End Hour (UTC)int20i_sessionEnd
Max Trades Per Dayint5i_maxTradesPerDay
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

This strategy calculates Bollinger Bands and Aroon oscillator values to identify mean-reversion opportunities. It enters a long position using full equity when the closing price crosses below the lower Bollinger Band while Aroon Up remains above a user-specifi

Strategy v5 Mean reversionVolatility & bands
Updated 2 months ago · None stated GitHub repository of Bollinger bands + Aroon [Alorse]
257 stars

This strategy plots VWMA-based Bollinger bands on the 1-minute ES futures price chart for volatility analysis and potential breakout identification. It calculates dynamic long and short stop loss and take profit levels using percentage inputs relative to entry

Strategy v6 Volatility & bandsSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of V1.6 ES - Futures 1M No Repaint
106 stars

This strategy runs on the price chart and enters long when a fast simple moving average crosses above a slow one, and short on the opposite cross, while closing the other side. Entries also need ATR above a filter, a pullback check, a minimum candle-body chang

Strategy v5 TrendMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of 9:22 5 MIN 15 MIN BANKNIFTY

Bollinger Bands Strategy

by cklose2000
105 stars

This strategy generates buy and sell signals based on Bollinger Band crossovers combined with a simple moving average trend filter. It enters a long position when price crosses above the lower band while trading above the SMA filter line, and enters a short po

Strategy v5 Volatility & bandsMoving averages
Updated 1 year ago · None stated GitHub repository of Bollinger Bands Strategy

均线突破交易系统

by tangly1024
76 stars

This strategy trades long breakouts of a fast and a slow moving average on the price chart. It opens a long position when price crosses above either average, using a percentage of equity as size. It reduces the position by a set share when the high reaches the

Strategy v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of 均线突破交易系统

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