Strategy · Pine Script v6 · Own pane

GEKO Ultimate - UO Williams Baseline

by grzegorzkowalskigk-jpg· code credited to TRIGGER

This strategy applies Larry Williams' Ultimate Oscillator rules, blending 7, 14 and 28 period buying pressure, and draws in a separate pane.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code328
Settings22inputs
LicenceCustom licence
Last update3 months ago4 Jul 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

A long entry needs the oscillator below 30, a bullish price divergence and a break above the oscillator peak from that period. It exits above 70, or when the oscillator falls below 45 after having been above 50. Shorts exist but are off by default. A price-based hard stop is optional and off by default, and a test window and benchmark table are included.

Details

Published by

grzegorzkowalskigk-jpg on GitHub

Code credit

TRIGGER, as written in the script's header

Draws

Separate pane below the chart

Markets

Stocks

Timeframes

H4 and above

Risk Notes

  • The strategy enters trades without a stop loss

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Okres szybkiint7uoLen1
Okres średniint14uoLen2
Okres wolnyint28uoLen3
Pivot Left (bary)int3pivL
Pivot Right (bary)int3pivR
Max barów między pivotamiint60divMaxBars
Ważność dywergencji (barów)int25divValidBars
Próg wyprzedania (long)float30uoOSLevel
Pozwól na SHORT (mirror reguł)boolfalseallowShorts
Próg szczytu UO (short)float50uoOBLevel
TP long: UO >float70tpLevel
Stop-rule: uzbrojenie UO >float50stopArmLv
Show all 22 settings
SettingTypeDefaultVariable
Stop-rule: wyjście UO <float45stopExitLv
TP short: UO <float30shortTpLv
Stop short: UO >float65shortStLv
Twardy stop cenowy (opcja, NIE-Williams)boolfalseuseHardStop
Twardy stop % od wejściafloat15.0hardStopPct
Max barów w pozycji (0 = OFF)int0maxBarsHold
Ogranicz test do okna datbooltrueuseWindow
Początek oknatimetimestamp("2005-01-01T00:00:00")winStart
Koniec oknatimetimestamp("2018-01-01T00:00:00")winEnd
% kapitału na pozycjęfloat95qtyPct
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

MACD + Divergences [Alorse] is a momentum strategy that calculates the MACD oscillator and identifies regular and hidden divergences using pivot high and low points. It filters trade signals with dual Exponential Moving Averages (EMA 150 and 600) to ensure tra

Strategy v4 Oscillators & momentumDivergence Repaints
Updated 2 months ago · None stated GitHub repository of MACD + Divergences [Alorse]
11 stars

The Stochastic Divergence Strategy calculates the Stochastic oscillator (%K and %D) to identify regular bullish and bearish divergence patterns against price pivots. It plots the oscillator and divergence lines in a separate indicator pane. Entries trigger on

Strategy v6 Oscillators & momentumDivergence
Updated 5 months ago · Apache-2.0 GitHub repository of Stochastic Divergence Strategy

Awesome Oscillator - Eterna MCP

by EternaHybridExchange
9 stars

This strategy implements Bill Williams' Awesome Oscillator (AO) calculated as the difference between two simple moving averages of the median price. It generates long and short entries using three classic signal triggers: zero-line crossovers, twin peaks diver

Strategy v5 Oscillators & momentumMoving averages
Updated 7 months ago · MIT GitHub repository of Awesome Oscillator - Eterna MCP

This strategy calculates regular and hidden divergences across selectable momentum oscillators, including RSI, CCI, and MFI, and plots volatility-based divergence zones. It displays oscillator dynamics in a separate pane while projecting support and resistance

Strategy v6 DivergenceOscillators & momentum
Updated 2 days ago · MIT GitHub repository of Oscillator Divergence Zones [WavesUnchained] — Strategy

Alper

by avatar-lavventura
2 stars

This strategy combines a WaveTrend oscillator with a dual-period RSI differential to generate trend-following entries in a separate indicator pane. It calculates fast and slow RSI values, alongside WaveTrend channel lines and overbought or oversold thresholds.

Strategy v4 Oscillators & momentumDivergence
Updated 7 months ago · None stated GitHub repository of Alper

Trust Me Bro Strategy

by moonyroy
2 stars

A trading strategy that uses an RSI state machine tracking 50-level crossovers, pullbacks, and hidden divergences. Entries require confirmation from optional confluence filters, including an EMA touch, Fibonacci retracement zones, and Ichimoku cloud conditions

Strategy v6 Oscillators & momentumDivergence
Updated 7 weeks ago · MIT GitHub repository of Trust Me Bro Strategy

More Oscillators & momentum 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