Strategy · Pine Script v5 · On the chart

HH, LL, HL, LH Indicator

by akash-yellgetti

A strategy-type script that draws the high, low and midpoint of an opening window each day, plus pivot-based support and resistance lines from left and right bar settings.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code264
Settings18inputs
LicenceNone stated
Last update2 years ago15 Jul 2024

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

HH, LL, HL, LH Indicator prints buy or sell labels when the close breaks a pivot level while an EMA-based volume oscillator exceeds a threshold, and separate wick labels for bullish or bearish wick breaks. The visible code contains no order or stop loss logic.

Details

Published by

akash-yellgetti on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

Support & resistance, Breakout, Volume

Markets

Any symbol

Timeframes

M15-H1

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
End Hourint9End Hour
End Minuteint30End Minute
End Hourint3End Hour
Lengthintlenlength
Show BreaksbooltruetoggleBreaks
Left Bars int15leftBars
Right Barsint15rightBars
Volume Thresholdint20volumeThresh
Sourcesourceclosesrc
Fast Lengthint5fastLen
Slow Lengthint13slowLen
Exponential Moving Averagebooltrueema
Show all 18 settings
SettingTypeDefaultVariable
Slopefloat1.mult
Slope Calculation MethodstringAtrcalcMethod
backpaintbooltruebackpaint
Up Trendline Colorcolorcolor.tealupCss
Down Trendline Colorcolorcolor.reddnCss
Show Extended LinesbooltrueshowExt
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

A strategy for 5-minute charts that turns a triggered retest of a broken 15-minute delta level into orders. Entry needs a new trigger, a flat position, a cooldown module allowing the trade and, by default, agreement with the 4-hour bias. The stop sits at the z

Strategy v6 VolumeSupport & resistance Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of Delta Break and Retest Stage 7 Orders and Risk
1 stars

VABOAlgo is a Pine Script v5 strategy that detects breakouts from a value area. It uses VWAP as a POC proxy and ATR to calculate VAH and VAL, requiring volume above average for confirmation and prior bar consolidation within the VA. Long entries trigger on bre

Strategy v5 BreakoutVolume
Updated 8 months ago · None stated GitHub repository of VABOAlgo (Value Area Breakout)

This trend-following strategy executes a classic Donchian channel breakout system designed to cross-validate backtest results against external framework benchmarks. It triggers a long entry when the closing price breaks above the highest high of the prior entr

Strategy v6 BreakoutTrend
Updated yesterday · AGPL-3.0 GitHub repository of Forven S01509 - Simple Donchian 20/10 Breakout
257 stars

This strategy plots running pivot highs as red R circles and pivot lows as blue S circles directly on the price chart. It computes an EMA 3 and a Cto trend line from close prices, then generates long signals on upward EMA-Cto crossovers combined with price pos

Strategy v6 TrendMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Best Chart 1m Strategy Candle Bar

STRG-HOLP

by harryguiacorn
219 stars

STRG-HOLP is a trading strategy that identifies High of Low Period (HOLP) and Low of High Period (LOHP) breakout setups. It tracks the lowest low or highest high over a user-defined lookback window. A long trade opens when the close breaks above the high of th

Strategy v5 BreakoutSupport & resistance
Updated 1 year ago · None stated GitHub repository of STRG-HOLP

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