Strategy · Pine Script v5 · On the chart

OMEGA ULTIMATE STRATEGY

by princeleuel-code

A strategy built on the same smart money concepts as its indicator sibling: swing structure, order blocks and fair value gaps scored into a confluence value that must pass a minimum before a trade.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code734
Settings40inputs
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

Size is set from a risk percentage per trade, with an optional multiplier for stronger confluence. Stops and targets are ATR multiples, with an optional trailing stop and partial take profit. Loss limits cover daily, weekly, drawdown and consecutive losses, plus a maximum leverage and daily trade cap. Dashboard and alerts are included.

Details

Published by

princeleuel-code on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

SMC / ICT / price action, Support & resistance

Markets

Any symbol

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
Non-Repainting Modebooltruei_nonRepaint
Show Dashboardbooltruei_showDashboard
Enable Alertsbooltruei_alertsOn
Risk Per Trade %float1.0i_riskPerTrade
Max Daily Loss %float3.0i_maxDailyLoss
Max Weekly Loss %float7.0i_maxWeeklyLoss
Max Drawdown %float15.0i_maxDrawdown
Max Consecutive Lossesint5i_maxConsecLosses
Max Trades Per Dayint5i_maxTradesPerDay
Max Leveragefloat5.0i_maxLeverage
Use Confidence-Based Sizingbooltruei_useConfidenceSizing
Min Confluence for Tradeint70i_minConfForTrade
Show all 40 settings
SettingTypeDefaultVariable
Strong Confluence Thresholdint85i_strongConfThreshold
Strong Confluence Multiplierfloat1.5i_strongConfMultiplier
ATR Multiplier for Stop Lossfloat2.0i_atrMultiplierSL
ATR Multiplier for Take Profitfloat3.0i_atrMultiplierTP
Use Trailing Stopbooltruei_useTrailingStop
Trail Activation (ATR)float1.5i_trailActivation
Trail Offset (ATR)float1.0i_trailOffset
Use Partial Take Profitbooltruei_usePartialTP
Partial TP %float50.0i_partialTPPct
Partial TP Level (ATR)float1.5i_partialTPLevel
Swing Detection Lengthint5i_swingLength
Show Swing Pointsbooltruei_showSwings
Show BOS/CHOCHbooltruei_showBOS
Show Order Blocksbooltruei_showOB
Bullish OB Colorcolorcolor.new(color.green, 80)i_obBullColor
Bearish OB Colorcolorcolor.new(color.red, 80)i_obBearColor
Show Fair Value Gapsbooltruei_showFVG
Min FVG Size %float0.1i_fvgMinSize
Bullish FVG Colorcolorcolor.new(color.teal, 80)i_fvgBullColor
Bearish FVG Colorcolorcolor.new(color.maroon, 80)i_fvgBearColor
Show Liquidity Levelsbooltruei_showLiquidity
Liquidity Lookbackint20i_liqLookback
Show Liquidity Sweepsbooltruei_showLiqSweep
Liquidity Colorcolorcolor.new(color.orange, 50)i_liqColor
Show 50% Equilibriumbooltruei_show50Pct
Equilibrium Lookbackint20i_eqLookback
Equilibrium Colorcolorcolor.new(color.purple, 50)i_eqColor
Show PO3 Phasesbooltruei_showPO3
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

Daily Bias + FVG Strategy

by TradersPost
218 stars

This overlay strategy plots previous-day high and low, the daily open, and fair value gap zones on the price chart. It takes entries on a selectable timeframe when the FVG requirement and an optional session window allow them, then uses an ATR or fixed pip sto

Strategy v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Daily Bias + FVG Strategy
105 stars

Gold Scalping BOS & CHoCH is an overlay strategy designed for detecting market structure shifts. It calculates rolling swing highs and lows to identify Break of Structure (BOS) and Change of Character (CHoCH) events. Long signals trigger when bullish BOS and C

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Gold Scalping BOS & CHoCH

P404 Smoke

by Musyimi97
16 stars

P404 Smoke is a price-chart strategy that sequences an optional higher-timeframe EMA bias, a liquidity range from recent pivots, a sweep of buy-side or sell-side liquidity, and a market structure shift within a set bar window. Comments state it then looks for

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of P404 Smoke

FairValueGap C003

by ruckard
13 stars

FairValueGap C003 is an overlay strategy that identifies Fair Value Gaps (FVG) and opens trades expecting price to return and fill the gap. It calculates the distance between current price levels and recent gap boundaries to aim for partial or full gap fills.

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FairValueGap C003

SMC Strategy

by tsunafire
10 stars

SMC Strategy is a Pine Script v5 overlay strategy based on smart money concepts. It flags market structure shifts from ten-bar highs and lows, draws bullish and bearish order blocks as rectangles when that option is on, and marks liquidity sweeps with short li

Strategy v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of SMC Strategy

This strategy identifies reversal opportunities based on liquidity sweeps and multi-gate confluence scoring. It evaluates setups using mandatory conditions such as swing sweeps, body and ATR filters, and dual EMA higher-timeframe trend alignment, alongside opt

Strategy v6 SMC / ICT / price actionTrend
Updated 2 days ago · MIT GitHub repository of Reversal Engine Score [WavesUnchained] 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