lib_trackingLibrary "lib_tracking"
tracking highest and lowest with anchor point to track over dynamic periods, e.g. to track a Session HH/LL live and get the bar/time of the LTF wick that matches the HTF HH/LL
// DESIGN DECISION
// why anchored replacements for ta.highest / ta.highestbars / ta.lowest / ta.lowestbars:
// 1. they require a fixed length/lookback which makes it easier to calculate, but
// 2. this prevents us from tracking the HH/LL of a changing timeframe, e.g. live tracking the HH/LL of a running session or unfinished higher timeframe
// 3. tracking with anchor/start/reset flag allows to persist values until the next start/reset, so no other external storage is required
track_highest(value, reset, track_this_bar)
Parameters:
value (float)
reset (bool) : boolean flag to restart tracking from this point (a.k.a anchor)
track_this_bar (bool) : allows enabling and disabling of tracking, e.g. before a session starts or after it ends, values can be kept until next reset.
track_lowest(value, reset, track_this_bar)
Parameters:
value (float)
reset (bool) : boolean flag to restart tracking from this point (a.k.a anchor)
track_this_bar (bool) : allows enabling and disabling of tracking, e.g. before a session starts or after it ends, values can be kept until next reset.
track_hl_htf(htf, value_high, value_low)
Parameters:
htf (string) : the higher timeframe in pinescript string notation
value_high (float)
value_low (float)
Returns:
LH
Pivots For IndicatorsThis is an overlay indicator that finds and identifies pivots. It is very sensitive so works best on smoother oscillators such as Stoch RSI. Make sure you set the source to your indicator after you overlay it. You will need to adjust the rev high and low inputs in the settings. For example Stoch RSI would have a revhigh = 80 and revlow = 20. This script is not designed to work on the chart.
Yellow = First Higher low or First Lower High
Orange = Reversal (Indicator low and high levels can be adjusted in settings.
Teal = Higher Low
Red = Lower High
Gray = Higher high or Lower Low
Pivot Points High Low MTF [Anan]█ OVERVIEW
Pivot Points High Low with Multi Time Frames support and bull/bear signal depends on pivot average
█ FEATURES
- Fully control of pivot (Source / Length Left / Length Right)
- Show HH, LL, LH, HL price on candles
- Show Avg Pivot High Low.
- Show Bull/Bear Labels.
- Control of signal accuracy (default: 0.5%)
- Show Pivot High Low Levels as a Fractal Chaos Channel.
- Multi-timeframe Table with support of Pivot High Low and pivot Average.
- BreakOut and BreakDown Labels in the table.
- Full control of displaying any row or any column.
- Full control of Table position and Size and Colors.
Pivot Points [CB]Automatically label pivots as HH/LH and HL/LL.
The criteria for determining pivot points can be configured.
Pivot Points High Low (HH/HL/LH/LL) [Anan]Hello Friends,
This is my own version of ( Pivot Hilo Support n Resistance Levels R3-3 by JustUncleL )
- V4 Pinescript
- Removed MA dependency filters
- Add some arrows