Indicator · Pine Script v4 · On the chart

Pivot Hilo Support n Resistance Levels R5.4

by theonetrade

This indicator identifies pivot highs and lows to plot support and resistance level extensions on the price chart.

View on GitHub

Repaints

GitHub stars34on the repository
Pine versionv4older, still runs
Lines of code369
Settings23inputs
LicenceMIT
Last update2 weeks ago8 Nov 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  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 indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

369 lines of Pine Script v4 from assets/indicator/bit-exact/pivot_hilo_support_n_resistance_levels_r3_3_by_justunclel_Ja29N6ZL.pine, published under MIT. Keep the author's credit and licence lines when you reuse it.

pivot_hilo_support_n_resistance_levels_r3_3_by_justunclel_Ja29N6ZL.pine
//@version=4

study(title="Pivot Hilo Support n Resistance Levels R5.4", shorttitle="PVTLVLS R5.4", overlay=true, max_bars_back=50)

// By: JustUncleL
// Date: 20-Mar-2017
// Version: R5.4
//
// Description:
//   This Pivot Points marked with small coloured triandles and with Optional Support and Resistance extension Levels.
//  
//   Options:
//   - Show Pivot Points (default true)
//   - Pivot Length Left Side (default 3), the number of bars left hand side of the Pivot candle.
//   - Pivot Length Right Side (default 3), the number of bars right hand side of the Pivot candle.
//   - Show S/R Extension Levels (default true)
//   - Maximum S/R Extension Length (default 0, no limit)
//   - Show Pivot Labels HH, LL, HL, LH
//
//   Note: Setting Left side=2 and Right side=2 will generate Fractal points.
//
// Modifications:
//  R5.4 16-Dec-2019
//     - Upgraded to Version 4 Pinescript
//     - Added Line objects to help draw recent Pivot levels
//     - Added alert for any HH,HL,LL,LH condition.
//     - Added option to filter HH,HL,LL,LH conditions to 3 Levels to show swing points
//       more accurately.
//     - Update zerolag formula.
//
//  R5.3 12-Apr-2018
//     - Added option to show the Pivot candle as a Coloured Bar.
//
//  R5.2 22-Feb-2018:
//     - Added option to display Levels as a Fractal Chaos Channel, thanks goto HPotter's "Fractal Chaos Bands" series 
//       idea for inspiration.
//     - Replaced script functions with TV pivothigh() and pivotlow() calls to speed up
//       the processing of the script.
//
//  R5 12-Jan-2018:
//     - Remove redundant Pivot labelling. Now have HH,LL,HL,LH labels instead.
//     - Added option start printing Pivot marker early, however, this may result in the
//       current Pivot marker re-building until last candle in pattern closed.
//     - Replaced "star" pivot markers with small coloured Dots that sit right on the
//       high or low of the Pivot Candle.
//
//  17-Oct-2017:
//     - Replaced TV pivothigh and pivotlow function calls with built-in finctions to allow
//       for equal high or low on the left hand side of Pivot.
//     - Added implied GPL copyright notice.
//     - Added Buy/Sell alarm alerts on Fractal breaks and removed redundant code.
//
//  R4 11-Oct-2017:
//     - Added option to display HH/LL symbols.
//
//  02-Sep-2017:
//     - Corrected MA Filtering on Alert arrows, so now MA's are now kept in correct order.
//     - Added Ideal Pivot option.
//     
//  22-Aug-2017:
//     - Added optional swing alert arrows and alarmcondition.
//     - Shortened optional Pivot labels to "PH" and "PL"
//     - Added optional MA Ribbon filtering of Pivot points.
//
//  13-Aug-2017:
//     - Correct Bug introduced by last update, would not work find correct pivot
//       point with some assets.
//
//  4-Aug-2017 :
//     - optimised some code.
//     - shortened Pivot labels to "PH" and "PL"
//     - added code to select correct Pivots when Heikin Ashi candles are used.
//     - added "Renko Style Pivots", so can now be used with Renko charts.
//       that have wicks selected.
//
//  R3 - added code to force Pivot to be always complete before drawing.
//  R2 - added option for different length test for each side of Pivot.
//  R1 - original.
//
// -----------------------------------------------------------------------------
// Copyright 2017,2018 JustUncleL
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// The GNU General Public License can be found here
// <http://www.gnu.org/licenses/>.
//
// -----------------------------------------------------------------------------
//

// - INPUTS
ShowPivots = input(true, title="Show Pivot Points")
uAuto = input(false, title="Use Auto Strength Pivots Points")
left = input(5, minval=1, title="Pivot Length Left Hand Side")
right = input(5, minval=1, title="Pivot Length Right Hand Side")
ShowSRLevels = input(true, title="Show S/R Level Extensions")
ShowChannel = input(false, title="Show Levels as a Fractal Chaos Channel")
Shunt = input(1, minval=0, maxval=1, type=input.integer, title="When to start Printing Pivot (0 = no wait, 1 = wait for candle close)")
maxLvlLen = input(0, minval=0, title="Maximum S/R Level Extension Length")
uRenko = input(false, title="Use Renko Style Pivots (open/close for high/low)")
sIdeal = input(false, title="Show Only Ideal Pivots (handy for Renko and HA)")
ShowHHLL = input(false, title="Show HH,LL,LH,HL markers on Pivots Points")
swing3Levels = input(false, title="Filter HH,LL,LH,HL to Third Level Swings")
clrPivot = input(false, title="Highlight Pivot with Coloured Bar")
//
ShowFB = input(false, title="Show Fractal Break Alert Arrows")
filterFB = input(false, title="Apply MA Filter to Fractal Break Alerts")
// Filtering
uMAf = input(false, title="Use MA Filter on Pivots")
// Fast MA - type, source, length
fast_ma_type = input(defval="EMA", title="Fast MA Type ", options=["SMA", "EMA", "WMA", "VWMA", "Smooth SMA", "DEMA", "TEMA", "Hull MA", "ZeroLag EMA", "Triangular MA", "SuperSmooth MA"])
fast_ma_len = input(defval=21, title="Fast MA - Length", minval=1)
fast_ma_src = input(close, title="Fast MA - Source")
// Slow MA - type, source, length
slow_ma_type = input(defval="EMA", title="Slow MA Type ", options=["SMA", "EMA", "WMA", "VWMA", "Smooth SMA", "DEMA", "TEMA", "Hull MA", "ZeroLag EMA", "Triangular MA", "SuperSmooth MA"])
slow_ma_len = input(defval=55, title="Slow MA - Length", minval=1)
slow_ma_src = input(close, title="Slow MA - Source")
sMAs = input(false, title="Show MA Lines")

// - /INPUTS

//
high_ = uRenko ? max(close, open) : high
low_ = uRenko ? min(close, open) : low


// === FINCTIONS

// - variant(type, src, len)
// Returns MA input selection variant, default to SMA if blank or typo.

// SuperSmoother filter
// © 2013  John F. Ehlers
variant_supersmoother(src, len) =>
    a1 = exp(-1.414 * 3.14159 / len)
    b1 = 2 * a1 * cos(1.414 * 3.14159 / len)
    c2 = b1
    c3 = -a1 * a1
    c1 = 1 - c2 - c3
    v9 = 0.0
    v9 := c1 * (src + nz(src[1])) / 2 + c2 * nz(v9[1]) + c3 * nz(v9[2])
    v9

variant_smoothed(src, len) =>
    v5 = 0.0
    sma_1 = sma(src, len)
    v5 := na(v5[1]) ? sma_1 : (v5[1] * (len - 1) + src) / len
    v5

variant_zerolagema(src, len) =>
    xLag = (len - 1) / 2
    xEMA = (src + (src - src[xLag]))
    v10  = ema(xEMA, len)
    v10


variant_doubleema(src, len) =>
    v2 = ema(src, len)
    v6 = 2 * v2 - ema(v2, len)
    v6

variant_tripleema(src, len) =>
    v2 = ema(src, len)
    v7 = 3 * (v2 - ema(v2, len)) + ema(ema(v2, len), len)  // Triple Exponential
    v7

// return variant, defaults to SMA 
variant(type, src, len) =>
    ema_1 = ema(src, len)
    wma_1 = wma(src, len)
    vwma_1 = vwma(src, len)
    variant_smoothed__1 = variant_smoothed(src, len)
    variant_doubleema__1 = variant_doubleema(src, len)
    variant_tripleema__1 = variant_tripleema(src, len)
    wma_2 = wma(src, len / 2)
    wma_3 = wma(src, len)
    wma_4 = wma(2 * wma_2 - wma_3, round(sqrt(len)))
    variant_supersmoother__1 = variant_supersmoother(src, len)
    variant_zerolagema__1 = variant_zerolagema(src, len)
    sma_1 = sma(src, len)
    sma_2 = sma(sma_1, len)
    type == "EMA" ? ema_1 : type == "WMA" ? wma_1 : 
       type == "VWMA" ? vwma_1 : type == "Smooth SMA" ? variant_smoothed__1 : 
       type == "DEMA" ? variant_doubleema__1 : 
       type == "TEMA" ? variant_tripleema__1 : type == "Hull MA" ? wma_4 : 
       type == "SuperSmooth MA" ? variant_supersmoother__1 : 
       type == "ZeroLag EMA" ? variant_zerolagema__1 : 
       type == "Triangular MA" ? sma_2 : sma_1

// - /variant 


// Functions to find ideal Pivot Highs and Lows.
ipivothigh(src, L, R) =>
    t = true
    for i = R to L + R - 1 by 1
        t := t and src[i] > src[i + 1]
        t
    for i = 0 to R - 1 by 1
        t := t and src[i] < src[i + 1]
        t
    t ? src[R] : na

ipivotlow(src, L, R) =>
    t = true
    for i = R to L + R - 1 by 1
        t := t and src[i] < src[i + 1]
        t
    for i = 0 to R - 1 by 1
        t := t and src[i] > src[i + 1]
        t
    t ? src[R] : na

// Functions to find normal Pivot High and Lows, allowing for equal highs
// on left side of pivot.
// NOTE: To increase processing speed, these functions are replaced by
//       pivothigh()/pivotlow() calls.
//
//npivothigh(src, L, R) =>
//    t = true
//    for i = R to L+R-1
//        t := t and src[R]>=src[i+1]
//    for i = 0 to R-1
//        t := t and src[R]>src[i]
//    t ? src[R] : na
//
//npivotlow(src, L, R) =>
//    t = true
//    for i = R to L+R-1
//        t := t and src[R]<=src[i+1]
//    for i = 0 to R-1
//        t := t and src[R]<src[i]
//    t ? src[R] : na


// - /FUNCTIONS

// - SERIES VARIABLES

// MA's
fast_ma_series = variant(fast_ma_type, fast_ma_src, fast_ma_len)
slow_ma_series = variant(slow_ma_type, slow_ma_src, slow_ma_len)

plot(sMAs ? fast_ma_series : na, color=color.lime, title="Fast MA", join=true, style=plot.style_circles, linewidth=2, transp=15)
plot(sMAs and fast_ma_len <= slow_ma_len ? slow_ma_series : na, color=color.gray, title="Slow MA", join=true, style=plot.style_circles, linewidth=2, transp=15)

// Determine pivots
ema_1 = ema(close, 21)
pvtLenL = uAuto ? close > ema_1 ? left : left + 1 : left
pvtLenR = uAuto ? close < ema_1 ? right : right + 1 : right

// Get High and Low Pivot Points
pvthi_ = uMAf and (fast_ma_len > slow_ma_len or fast_ma_series < slow_ma_series) ? na : 
   sIdeal ? ipivothigh(high_, pvtLenL, pvtLenR) : pivothigh(high_, pvtLenL, pvtLenR)
pvtlo_ = uMAf and (fast_ma_len > slow_ma_len or fast_ma_series > slow_ma_series) ? na : 
   sIdeal ? ipivotlow(low_, pvtLenL, pvtLenR) : pivotlow(low_, pvtLenL, pvtLenR)

// Force Pivot completion before plotting.
pvthi = pvthi_[Shunt]
pvtlo = pvtlo_[Shunt]

//  ||-----------------------------------------------------------------------------------------------------||
//  ||---   Higher Highs, Lower Highs, Higher Lows, Lower Lows  -------------------------------------------||
valuewhen_H0 = valuewhen(pvthi, high_[pvtLenR + Shunt], 0)
valuewhen_H1 = valuewhen(pvthi, high_[pvtLenR + Shunt], 1)
valuewhen_H2 = valuewhen(pvthi, high_[pvtLenR + Shunt], 2)
valuewhen_H3 = valuewhen(pvthi, high_[pvtLenR + Shunt], 3)
higherhigh = swing3Levels ? na(pvthi) ? na : valuewhen_H1 < valuewhen_H0 and valuewhen_H2 < valuewhen_H0 and valuewhen_H3 < valuewhen_H0 ? pvthi : na
                          : na(pvthi) ? na : valuewhen_H1 < valuewhen_H0 ? pvthi : na
lowerhigh  = swing3Levels ? na(pvthi) ? na : valuewhen_H1 > valuewhen_H0 and valuewhen_H2 > valuewhen_H0 and valuewhen_H3 > valuewhen_H0 ? pvthi : na
                          : na(pvthi) ? na : valuewhen_H1 > valuewhen_H0 ? pvthi : na
//
valuewhen_L0 = valuewhen(pvtlo, low_[pvtLenR + Shunt], 0)
valuewhen_L1 = valuewhen(pvtlo, low_[pvtLenR + Shunt], 1)
valuewhen_L2 = valuewhen(pvtlo, low_[pvtLenR + Shunt], 2)
valuewhen_L3 = valuewhen(pvtlo, low_[pvtLenR + Shunt], 3)
higherlow  = swing3Levels ? na(pvtlo) ? na : valuewhen_L1 < valuewhen_L0 and valuewhen_L2 < valuewhen_L0 and valuewhen_L3 < valuewhen_L0 ? pvtlo : na
                          : na(pvtlo) ? na : valuewhen_L1 < valuewhen_L0 ? pvtlo : na
lowerlow   = swing3Levels ? na(pvtlo) ? na : valuewhen_L1 > valuewhen_L0  and valuewhen_L2 > valuewhen_L0 and valuewhen_L3 > valuewhen_L0 ? pvtlo : na
                          : na(pvtlo) ? na : valuewhen_L1 > valuewhen_L0 ? pvtlo : na
//
anySwing = not (na(higherhigh) and na(lowerhigh) and na(higherlow) and na(lowerlow))

// If selected Display the HH/LL above/below candle.
plotshape(ShowHHLL ? higherhigh : na, title='HH', style=shape.triangleup, location=location.abovebar, color=color.green, text="HH", offset=-pvtLenR - Shunt, transp=0)
plotshape(ShowHHLL ? higherlow : na, title='HL', style=shape.triangleup, location=location.belowbar, color=color.green, text="HL", offset=-pvtLenR - Shunt, transp=0)
plotshape(ShowHHLL ? lowerhigh : na, title='LH', style=shape.triangledown, location=location.abovebar, color=color.maroon, text="LH", offset=-pvtLenR - Shunt, transp=0)
plotshape(ShowHHLL ? lowerlow : na, title='LL', style=shape.triangledown, location=location.belowbar, color=color.maroon, text="LL", offset=-pvtLenR - Shunt, transp=0)


// If Selected Display Pivot points
//plotshape(ShowPivots and not ShowHHLL ? pvthi :na, title='High Pivot Marker', style=shape.triangleup,location=location.abovebar, color=green, offset=-pvtLenR-Shunt,transp=0,size=size.auto)
//plotshape(ShowPivots and not ShowHHLL ? pvtlo :na,  title='Low Pivot Marker', style=shape.triangledown, location=location.belowbar, color=maroon, offset=-pvtLenR-Shunt,transp=0,size=size.auto)
plot(ShowPivots and not ShowHHLL ? pvthi : na, title='High Pivot *', style=plot.style_circles, join=false, color=color.white, offset=-pvtLenR - Shunt, transp=50, linewidth=3)
plot(ShowPivots and not ShowHHLL ? pvtlo : na, title='Low Pivot *', style=plot.style_circles, join=false, color=color.white, offset=-pvtLenR - Shunt, transp=50, linewidth=3)
plot(ShowPivots and not ShowHHLL ? pvthi : na, title='High Pivot *', style=plot.style_circles, join=false, color=color.green, offset=-pvtLenR - Shunt, transp=0, linewidth=2)
plot(ShowPivots and not ShowHHLL ? pvtlo : na, title='Low Pivot *', style=plot.style_circles, join=false, color=color.maroon, offset=-pvtLenR - Shunt, transp=0, linewidth=2)

// Highlight Pivot Bar.
ORANGE = #FFA500FF
barcolor(clrPivot and (pvthi or pvtlo) ? ORANGE : na, title="Colour Pivot Bar", offset=-pvtLenR - Shunt)



//Count How many candles for current Pivot Level, If new reset.
counthi = 0
countlo = 0
counthi := na(pvthi) ? nz(counthi[1]) + 1 : 0
countlo := na(pvtlo) ? nz(countlo[1]) + 1 : 0

pvthis = 0.0
pvtlos = 0.0
pvthis := na(pvthi) ? pvthis[1] : high[pvtLenR + Shunt]
pvtlos := na(pvtlo) ? pvtlos[1] : low[pvtLenR + Shunt]

hipc = pvthis != pvthis[1] ? na : color.maroon
lopc = pvtlos != pvtlos[1] ? na : color.green

// Show Levels if Selected
var line pvthiLine = na
var line pvtloLine = na
if not ShowChannel and ShowSRLevels
    if not na(pvthis) and nz(pvthis[1]) != pvthis
        pvthiLine := line.new(bar_index-(pvtLenR+Shunt), pvthis, bar_index, pvthis, extend=extend.none, width=1, color=color.maroon, style=line.style_solid)
    if not na(pvthiLine) and not na(pvthis) and line.get_x2(pvthiLine) != bar_index
        line.set_x2(pvthiLine, bar_index)
    if not na(pvtlos) and nz(pvtlos[1]) != pvtlos
        pvtloLine := line.new(bar_index-(pvtLenR+Shunt), pvtlos, bar_index, pvtlos, extend=extend.none, width=1, color=color.green, style=line.style_solid)
    if not na(pvtloLine) and not na(pvtlos) and line.get_x2(pvtloLine) != bar_index
        line.set_x2(pvtloLine, bar_index)
//end if    

// Draw historical levels, "line" objects are limited in history.
plot(ShowSRLevels and not ShowChannel and (maxLvlLen == 0 or counthi < maxLvlLen) ? pvthis : na, color=hipc, transp=0, linewidth=1, offset=-pvtLenR - Shunt, title="Top Levels")
plot(ShowSRLevels and not ShowChannel and (maxLvlLen == 0 or countlo < maxLvlLen) ? pvtlos : na, color=lopc, transp=0, linewidth=1, offset=-pvtLenR - Shunt, title="Bottom Levels")

// Show Levels as a Fractal Chaos Channel
plot(ShowSRLevels and ShowChannel ? pvthis : na, color=color.green, transp=0, linewidth=1, style=plot.style_stepline, offset=0, title="Top Chaos Channel", trackprice=false)
plot(ShowSRLevels and ShowChannel ? pvtlos : na, color=color.maroon, transp=0, linewidth=1, style=plot.style_stepline, offset=0, title="Bottom Chaos Channel", trackprice=false)

// Add Optional Fractal Break Alerts
buy = false
sell = false
buy := close > pvthis and open <= pvthis and (not filterFB or 
   (fast_ma_len > slow_ma_len or fast_ma_series > slow_ma_series) and 
   close > fast_ma_series)
sell := close < pvtlos and open >= pvtlos and (not filterFB or 
   (fast_ma_len > slow_ma_len or fast_ma_series < slow_ma_series) and 
   close < fast_ma_series)

//
plotarrow(ShowFB and buy ? 1 : na, title="BUY Arrow", colorup=color.lime, maxheight=60, minheight=50, transp=20)
plotarrow(ShowFB and sell ? -1 : na, title="SELL Arrow", colordown=color.red, maxheight=60, minheight=50, transp=20)
//
alertcondition(buy or sell, title="Fractal Break Arrow", message="Alert")
alertcondition(buy, title="Fractal Break Long", message="Long")
alertcondition(sell, title="Fractal Break Short", message="Short")
alertcondition(anySwing, title="Any Swing", message="AnySwing")

//
//EOF

Overview

Pivot Hilo Support n Resistance Levels R5.4 allows users to customize left and right lookback lengths, filter points using dual moving averages, display higher high and lower low swing labels, or format levels as a Fractal Chaos Channel. It also includes options tailored for Renko and Heikin Ashi candles. Because pivot identification relies on right-side lookback bars, confirmed pivot markers appear with a delay or repaint on live bars when printed early.

Details

Published by

theonetrade on GitHub

Type

Indicator, Pine Script v4

Draws

On the price chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Topics

algorithmic-tradingbacktestingbitcoinccxtcrypto-tradingllm-agentoffline-backtestingopen-source-tradingpine-scriptpine-to-pythonpinescriptpynecorepythonquantquantitative-financestrategy-backtestingtechnical-analysistrading-indicatorstrading-strategiestradingview

Settings

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

SettingTypeDefaultVariable
Show Pivot PointsbooltrueShowPivots
Use Auto Strength Pivots PointsboolfalseuAuto
Pivot Length Left Hand Sideint5left
Pivot Length Right Hand Sideint5right
Show S/R Level ExtensionsbooltrueShowSRLevels
Show Levels as a Fractal Chaos ChannelboolfalseShowChannel
When to start Printing Pivot (0 = no wait, 1 = wait for candle close)int1Shunt
Maximum S/R Level Extension Lengthint0maxLvlLen
Use Renko Style Pivots (open/close for high/low)boolfalseuRenko
Show Only Ideal Pivots (handy for Renko and HA)boolfalsesIdeal
Show HH,LL,LH,HL markers on Pivots PointsboolfalseShowHHLL
Filter HH,LL,LH,HL to Third Level Swingsboolfalseswing3Levels
Show all 23 settings
SettingTypeDefaultVariable
Highlight Pivot with Coloured BarboolfalseclrPivot
Show Fractal Break Alert ArrowsboolfalseShowFB
Apply MA Filter to Fractal Break AlertsboolfalsefilterFB
Use MA Filter on PivotsboolfalseuMAf
Fast MA Type stringEMAfast_ma_type
Fast MA - Lengthint21fast_ma_len
Fast MA - Sourcesourceclosefast_ma_src
Slow MA Type stringEMAslow_ma_type
Slow MA - Lengthint55slow_ma_len
Slow MA - Sourcesourcecloseslow_ma_src
Show MA LinesboolfalsesMAs
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

575 stars

This indicator detects equal highs and lows by comparing prices within user-defined left and right bars using a tolerance percentage. It plots horizontal lines on the price chart for equal highs in one color and lows in another. A screener allows input of mult

Indicator v5 Support & resistanceTrend
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Equal Highs and Lows with Screener

Swing labels

by tradoor-terminal
320 stars

Calculates swing highs and swing lows on the price chart using pivot high and pivot low detection over a specified length. It places labels above pivot highs and below pivot lows to highlight key structural swing points. The indicator measures and displays the

Indicator v6 Support & resistanceTrend
Updated 3 days ago · AGPL-3.0 GitHub repository of Swing labels

Function - Linear Regression

by ricardosantos79
261 stars

This indicator fits a linear regression through stored pivot highs and lows and draws the resulting channel on the price chart. A function returns predicted values, maximum and minimum deviations, and the average absolute deviation. Confirmed two-bar pivots up

Indicator v5 TrendSupport & resistance
Updated 5 years ago · None stated GitHub repository of Function - Linear Regression

AI Trend

by dearvn
257 stars

AI Trend is an indicator that plots pivot points, trend lines, and support and resistance levels directly on the price chart. It marks high and low pivots based on user-defined length, draws trend lines that check for violations at specified points, and identi

Indicator v5 TrendSupport & resistance
Updated 2 months ago · None stated GitHub repository of AI Trend

Dynamic Linear Regression

by TradersPost
228 stars

Dynamic Linear Regression calculates and plots linear regression trendlines and standard deviation channels directly on the price chart over a user-selected time period. Traders can configure static channels locked at the end time, dynamic channels that contin

Indicator v6 TrendSupport & resistance
Updated 4 months ago · None stated GitHub repository of Dynamic Linear Regression

Ichimoku Cloud

by harryguiacorn
220 stars

This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ichimoku Cloud

More Support & resistance 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