21- Advanced Matrix
21- Advanced Matrix
0 at
https://mozilla.org/MPL/2.0/
// // // Telegram Join Us >>#####❤️❤️https://t.me/Bulls_Signals_Indicators❤️❤️
#########
// ruls: Buy above sma200
//@version=6
indicator('Matrix Series and Vix Fix with VWAP CCI and QQE Signals', shorttitle =
'Advanced Matrix', precision = 1)
//____________________________________________________________
// Matrix Series"
//____________________________________________________________
nn = input(5, 'Smoother')
//--Sup/Res Detail
SupResPeriod = input(50)
SupResPercentage = input(100)
PricePeriod = input(16)
ob = input(200, 'Overbought')
os = input(-200, 'Oversold')
OBOS = input(false, 'Show OB/OS')
dynamic = input(true, 'Dynamic zones')
coral = #ffa703
lavender = color.rgb(29, 225, 255)
amber = color.rgb(255, 170, 0)
redorange = #ff9500
chartreuse = color.new(#80FF00, 50)
//-------S/R Zones------
Lookback = SupResPeriod
PerCent = SupResPercentage
Pds = PricePeriod
//
___________________________________________________________________________________
_________
// Based on "Williams Vix Fix"
//
___________________________________________________________________________________
_________
shows_Vix_Fix = input(false, title = '═════════ Show Vix Fix ═════════')
pd = input(22, title = 'LookBack Period Standard Deviation High')
bbl = input(20, title = 'Bolinger Band Length')
mult = input.float(2.0, title = 'Bollinger Band Standard Devaition Up', minval = 1,
maxval = 5)
lb = input(50, title = 'Look Back Period Percentile High')
ph = input(.85, title = 'Highest Percentile - 0.90=90%, 0.95=95%, 0.99=99%')
swvfm = input.float(1.0, title = 'Multiplier (Suggested values 0.5 to 2)', minval =
0.5, maxval = 2)
// Criteria
str = 3 // Entry Price Action Strength--Close > X Bars Back---Default=3, minval=1,
maxval=9
ltLB = 40 // Long-Term Look Back Current Bar Has To Close Below This Value OR
Medium Term--Default=40, minval=25, maxval=99
mtLB = 14 // Medium-Term Look Back Current Bar Has To Close Below This Value OR
Long Term--Default=14, minval=10, maxval=20
upRange = low > low[1] and close > high[1]
upRange_Aggr = close > close[1] and close > open[1]
// Filtered Criteria
filtered = (wvf[1] >= upperBand[1] or wvf[1] >= rangeHigh[1]) and wvf < upperBand
and wvf < rangeHigh
filtered_Aggr = (wvf[1] >= upperBand[1] or wvf[1] >= rangeHigh[1]) and not(wvf <
upperBand and wvf < rangeHigh)
// Alerts Criteria
alert1 = upRange and close > close[str] and (close < close[ltLB] or close <
close[mtLB]) and filtered ? 1 : 0
alert2 = upRange_Aggr and close > close[str] and (close < close[ltLB] or close <
close[mtLB]) and filtered_Aggr ? 1 : 0
//_____________________________________________________________
// Based on "QQE signals"
//_____________________________________________________________
shows_QQE = input(false, title = '═════════ Show QQE Signals ═════════')
Wilders_Period = RSI_Period * 2 - 1
longband = 0.0
shortband = 0.0
trend = 0
DeltaFastAtrRsi = dar
RSIndex = RsiMa
newshortband = RSIndex + DeltaFastAtrRsi
newlongband = RSIndex - DeltaFastAtrRsi
longband := RSIndex[1] > longband[1] and RSIndex > longband[1] ?
math.max(longband[1], newlongband) : newlongband
shortband := RSIndex[1] < shortband[1] and RSIndex < shortband[1] ?
math.min(shortband[1], newshortband) : newshortband
cross_1 = ta.cross(longband[1], RSIndex)
trend := ta.cross(RSIndex, shortband[1]) ? 1 : cross_1 ? -1 : nz(trend[1], 1)
FastAtrRsiTL = trend == 1 ? longband : shortband
// Plotting
plotshape(shows_QQE and bool(qqeLong), title = 'QQE Long', color = chartreuse,
style = shape.labelup, location = location.bottom, size = size.tiny, text = 'QQE',
textcolor = color.new(color.white, 25))
plotshape(shows_QQE and bool(qqeShort), title = 'QQE Short', color =
color.new(redorange, 25), style = shape.labeldown, location = location.top, size =
size.tiny, text = 'QQE', textcolor = color.new(color.white, 25))
//___________________________________________________________________________
// VWAP CCI Signals
//___________________________________________________________________________
shows_VCCI = input(false, title = '═════════ Show VWAP CCI Signals ═════════')
// Inputs
nro = input.int(14, title = 'Length', minval = 1)
// Calculate vwap cci
cci = (ta.vwap - ta.alma(ta.vwap, nro, 0.85, 6.0)) / (0.015 * ta.dev(ta.vwap, nro))
plotshape(shows_VCCI and long, title = 'VWAP CCI Long', color = chartreuse, style =
shape.labelup, location = location.bottom, size = size.tiny, text = 'VCCI',
textcolor = color.new(color.white, 25))
plotshape(shows_VCCI and short, title = 'VWAP CCI Short', color =
color.new(redorange, 25), style = shape.labeldown, location = location.top, size =
size.tiny, text = 'VCCI', textcolor = color.new(color.white, 25))