Strategy · Pine Script v5 · On the chart

ES Absolute Trigger

by knectardev

This strategy captures the first bar of each new day as an opening range and plots those high and low levels on the price chart.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code47
Settings0inputs
LicenceNone stated
Last update9 months ago14 Jan 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

ES Absolute Trigger enters one long position if price trades above the range high, or one short if price trades below the range low, then blocks further entries until the next day. Long exits use a 20-point limit above the close and a stop at the range low; short exits use a 20-point limit below the close and a stop at the range high. Position size defaults to one contract. The opening bar depends on the chart timeframe, and the profit limit moves with the close while a position is open.

Details

Published by

knectardev on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

Breakout, Sessions & time, Support & resistance

Markets

Indices

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.

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

106 stars

This script monitors opening gap conditions and breakout behavior relative to the first candle's range across up to twenty configurable stock tickers. It detects whether following bars remain inside the opening range before breaking out, displaying the status

Strategy v4 Screeners & dashboardsBreakout Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of 1St Bar GAP+BkOut Screener v2 by RM
7 stars

This overlay strategy tracks the high and low of a user-defined London session and plots the previous session levels as support and resistance. It flags a break beyond a level when price closes past an ATR buffer, then waits a set number of bars for a retest w

Strategy v5 Sessions & timeSupport & resistance
Updated 3 months ago · None stated GitHub repository of London SR Cleaner WR (TP 0.20)
6 stars

This strategy combines Opening Range Breakout (ORB) mechanics with Inner Circle Trader (ICT) concepts like Fair Value Gaps, Order Blocks, and liquidity grabs. It identifies session opening ranges and generates signals when price breaks out with supporting rela

Strategy v5 BreakoutSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Advanced ORB + ICT Strategy
3 stars

This strategy detects Opening Range Breakouts in a specified session. It calculates the high and low of the opening range bar then plots these levels on the price chart and fills the area between them. Candles are colored based on their relation to the ORB hig

Strategy v5 BreakoutSupport & resistance
Updated 5 months ago · None stated GitHub repository of ORB Hooplah Strategy

Dollar Cross Play

by majohnst
1 stars

The Dollar Cross Play strategy detects price breakouts above a user-defined dollar threshold. It qualifies long entries by verifying that the previous day's close was at or below a maximum ceiling, aiming to capture fresh crosses rather than overextended moves

Strategy v6 BreakoutSupport & resistance
Updated 3 months ago · None stated GitHub repository of Dollar Cross Play
1 stars

This strategy identifies the Initial Balance (IB) high and low during a user-defined opening session and trades breakout pullbacks. Once the IB window concludes and range filters are satisfied, it enters long or short when price breaks out and retraces back to

Strategy v6 BreakoutSessions & time
Updated 7 months ago · MIT GitHub repository of Gold IB Breakout Retracement

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