Actualizado

Omega Strategy Excursion

Get this and other exclusive indicators in Quant Suite

This indicator is part of OmegaTools's Paid Space. Subscribe for $69.00/month to use it on your charts along with the author's other exclusive indicators. You pay right on TradingView and get access straight away.

Explore Quant Suite
OMEGA STRATEGY EXCURSION
A setup lab on the chart: assemble an entry from trigger, bias and location modules, then let the setup's own excursion history set its stops, its targets and its statistics.

Overview
Omega Strategy Excursion turns a trade idea into something you can measure. You choose how a trade starts (a trigger), which way it may go (a directional filter) and where it must happen (a location). The script then studies how far price usually moves against and in favor of that direction, its maximum adverse excursion (MAE) and maximum favorable excursion (MFE), and places stops and targets at percentiles of those distributions instead of at arbitrary distances. Every signal is followed to its outcome, and a results table compares all, long and short trades.

Role in the Omega system
Every OmegaTools indicator fills one or more of four roles in a setup: Bias (which way), Location (where), Trigger (when) and Filter (whether). Strategy Excursion is primarily a Filter tool: it shows whether a setup is worth trading and where its risk and reward realistically sit. To build the setup, it carries its own module for each of the other three roles:
  • Filter: the MAE and MFE study, the percentile stops and targets, and the results table.
  • Bias: the module called Filter in the settings (RVWAP or MS), optionally read from a higher timeframe.
  • Location: the Location module (StDev, %R or RSI).
  • Trigger: the Trigger module (Z-Score, Engulfing, Breakout or Manipulation).


Why these components work together
A trigger alone says when, but not whether the trade has room to work. Excursion statistics alone describe a market, but not a specific entry. Measured together, on the same direction and in the same context, they answer the practical questions of a setup: how much heat a normal trade takes before it works, how far it usually runs, and whether a stop and a target placed from that history lead to a positive result. Because each module can be switched on and off, the same chart can compare a trigger with and without a bias, or with and without a location condition, on equal terms.

How it works

1. Trigger
  • Z-Score: the close is more than two standard deviations from its 21-bar mean: a stretch below for longs, above for shorts.
  • Engulfing: the close breaks beyond an opposite-colored candle that traded above-average volume.
  • Breakout: the close breaks the 21-bar range while RSI(9) is not yet stretched.
  • Manipulation: a candle sweeps the 21-bar low (or high) and closes in the opposite direction: a bullish candle after a low sweep, a bearish one after a high sweep.


2. Bias and location
The directional filter keeps the last side of RVWAP (the 34-bar rolling VWAP above or below the 55-bar one) or of MS (the 34-bar midline rising or falling). The location condition asks for a close outside the 55-bar 2σ Bollinger Bands, a close in the outer 15% of the 55-bar range, or RSI(14) beyond 30 or 70. Both can be read from a higher timeframe, which always uses its last completed bar, so these conditions do not repaint.

3. Signals
A long or short signal fires on the first bar where all active modules agree, inside the chosen session. With Fixed on, a new signal in the same direction is ignored while a trade is open.

4. Excursion study
The study follows the directional state formed by the bias and location modules, plus the trigger when Use for ME is on. Each run is measured from the close where the state turns to the close where it turns again: MAE is the deepest move against the run and MFE the furthest move in its favor, both taken from the bars after the start. Runs are stored separately for longs and shorts, and each new run is also filed into the half of its distribution above or below the running average.

5. Stops and targets
At each signal, the stop is placed at the chosen MAE percentile and the target at the chosen MFE percentile. With Double Levels, the same percentiles are read on each half of the distribution, giving an inner and an outer stop and an inner and an outer target. Without it, one stop and one target come from the whole distribution. Levels are fixed at entry.

6. Trade simulation
Trades enter at the close of the signal bar and are managed from the next bar. The outer stop or the outer target ends the trade; a gap through a level fills at the open, and when one bar touches both levels the stop is counted first. Inner levels only retire their own line. With Close at trend change, a trade also closes at the bar close when the directional state turns against it. A new signal closes any open trade at its close before the new trade starts. Results are counted once a side has ten stored excursions.

7. Visuals
On the chart: entry, stop and target lines with optional zones, a profit-and-loss shade, candles colored by the progress of the open trade, and marks for entries and exits. In the pane: the live MAE and MFE of the current run, with the average MAE and MFE as reference lines.

Dashboard
Profit factor, win rate, reward-to-risk (Long and Short from the selected percentiles of the whole distribution, All from the average excursions) and trade count, each for all, long and short trades. A status line shows the open trade (direction, bars in trade and current result in R against the outer stop) or the last exit, plus the warm-up progress while the study is still collecting excursions.

How to use it
  • Pick the trigger that matches the behavior you want to study: mean reversion, engulfing continuation, breakout or sweep.
  • Add the directional filter, with a higher timeframe if your idea trades with a larger trend.
  • Add a location condition if the idea only makes sense when price is stretched.
  • Let the study collect excursions, then compare the table across variations: one module on or off, one timeframe against another, longs against shorts.
  • Move the percentiles to test stop and target placement: a higher MAE percentile gives the trade more room, a lower MFE percentile asks for a closer target that past moves reached more often.


Settings
  • General: the session in which signals are taken.
  • Settings: trigger, Use for ME, Fixed, filter and location, each with an optional timeframe.
  • Maximum Excursion: MAE percentile for the stop, MFE percentile for the target, and Double Levels.
  • Visual: long and short colors, zones, lines, gradient, profit-and-loss shade and candle colors.
  • Backtester: close at trend change.
  • Chart Marks and Dashboard: entry and exit marks; show, position and text size of the table.


Alerts
  • Long Signal, Short Signal
  • Target hit, Stop hit (outer levels)
  • First target hit
  • Closed at trend change


Notes
  • Results are in price units and include no commissions, slippage or position sizing. The simulation runs on bar data, so the order of moves inside a bar is unknown, which is why the stop is counted first when both levels are touched. It is a research view, not a replacement for a full strategy backtest.
  • The statistics depend on the settings, the instrument and the period loaded on the chart. Small samples are unreliable: read the trade count before the other figures.
  • The excursion study measures runs of the directional state, which usually last longer than the individual signal trades. The signal trades use those distributions to place their levels.
  • The session filter applies on charts below 1 hour and uses the exchange time zone. The Engulfing trigger and the RVWAP filter use volume.
  • Use the chart timeframe or a higher one for the filter and the location.


This indicator is a decision-support and research tool. It does not predict the future, and past excursions or results do not guarantee future results. Always apply your own risk management.
Notas de prensa
Dashboard readable in light and dark themes; clearer settings.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.