TradingView AddOns
TradingView AddOns
CC Sessions
https://de.tradingview.com/script/V12PMSHI-CC-Sessions/
Igor Sessions
https://de.tradingview.com/script/071wAXoA-Igor-Sessions/
pD Levels
https://de.tradingview.com/script/JJOn7xNg-pd-Levels/
CC Value
https://www.tradingview.com/script/AHNKTwcK-Trading-Ideas-Chart-Champions-Value-
Points-of-Interest/
Trading View Pine-Editor Scripts
Auto CC
//@version=4
study("Auto cc", overlay=true)
// pivots threshold
threshold_multiplier = input(title="Deviation", type=input.float,
defval=3, minval=0)
dev_threshold = atr(10) / close * 100 * threshold_multiplier
if not na(iH)
dev = calc_dev(pLast, pH)
[id, isHigh] = pivotFound(dev, true, iH, pH)
if not na(id)
if id != lineLast
line.delete(lineLast)
lineLast := id
isHighLast := isHigh
iPrev := iLast
iLast := iH
pLast := pH
else
if not na(iL)
dev = calc_dev(pLast, pL)
[id, isHigh] = pivotFound(dev, false, iL, pL)
if not na(id)
if id != lineLast
line.delete(lineLast)
lineLast := id
isHighLast := isHigh
iPrev := iLast
iLast := iL
pLast := pL
_wrap(txt) =>
"(" + tostring(txt, "#.##") + ")"
_crossing_level(sr, r) =>
(r > sr and r < sr[1]) or (r < sr and r > sr[1])
//@version=2
study("Daily VWAP", overlay=true)
showPrevVWAP = input(true, type=bool, title="Show Previous VWAP close")
newSession = iff(change(start), 1, 0)
//@version=3
study("Market Structure", shorttitle = "MS", overlay =true)
lb = input(4, title="Left Bars", minval = 1)
rb = input(4, title="Right Bars", minval = 1)
hl = na
hl := iff(ph, 1, iff(pl, -1, na)) // Trend direction
zz = na
zz := iff(ph, ph, iff(pl, pl, na)) // similar to zigzag but may have
multiple highs/lows
zz :=iff(pl and hl == -1 and valuewhen(hl, hl, 1) == -1 and pl >
valuewhen(zz, zz, 1), na, zz)
zz :=iff(ph and hl == 1 and valuewhen(hl, hl, 1) == 1 and ph <
valuewhen(zz, zz, 1), na, zz)
trend = na
trend := iff(close > res, 1, iff(close < sup, -1, nz(trend[1])))