glaz

Matrix Series

4382 14 645
For those who are using charts with white backround they should change from the indicator options->style the black color to white.
OB/OS zones are at 200 and -200 and marked with aqua color above below the candles.

http://www.wisestocktrader.com/indicators/1087-matrix-series
and the repost here http://www.wisestocktrader.com/indicators/2739-flower-indicator
Remove from Favorite Scripts Add to Favorite Scripts
study("Matrix Series",shorttitle="MS",precision=1)
Smoother=input(5)
nn = Smoother
//--Sup/Res Detail
SupResPeriod = input(50)
SupResPercentage =input(100)
PricePeriod = input(16)
ob = input(200,title="Overbought")
os = input(-200,title="Oversold")
OBOS= input(type=bool,defval=false,title="Show OB/OS") 
dynamic=input(true,title="Dynamic zones")
ys1 = ( high + low + close * 2 ) / 4
rk3 = ema( ys1, nn )
rk4 = stdev(ys1, nn)
rk5 = (ys1 - rk3 ) * 200 / rk4
rk6 = ema( rk5, nn )
up = ema(rk6, nn )
down = ema( up, nn )
Oo = iff( up < down, up, down )
Hh = Oo
Ll = iff( up < down, down, up )
Cc = Ll
vcolor= Oo > Cc ? red : up > down? green:red 

// Body Calculations
bodyHigh = up>down ? up : down
bodyLow = Oo<down ? up : down
body0 = (up>0 and down>0) or (up>0 and down<0) ? bodyHigh : (up<0 and down<0) or (up<0 and down>0) ? bodyLow : 0
body1 = up<0 and down>0 ? bodyHigh : up>0 and down<0 ? bodyLow : 0
bodyCover = up>0 and down>0 ? bodyLow : up<0 and down<0 ? bodyHigh : 0
// Wick Calculations
wick0 = Hh>0 ? Hh : Ll
wick1 = Hh>0 and Ll<0 ? Ll : Hh
wickCover = Hh>0 and Ll>0 ? Ll : Hh<0 and Ll<0 ? Hh : 0
plot(Oo, linewidth=3, color=vcolor, style=histogram)
plot(Cc, linewidth=3, color=vcolor, style=histogram)
plot(bodyCover, linewidth=3, color=black, style=histogram)



//-------S/R Zones------
Lookback = SupResPeriod
PerCent = SupResPercentage
Pds = PricePeriod

C3 = cci(close,Pds )

Osc = C3
Value1 = Osc
Value2 = highest( Value1, Lookback )
Value3 = lowest( Value1, Lookback )
Value4 = Value2 - Value3
Value5 = Value4 * ( PerCent / 100 )
ResistanceLine = Value3 + Value5
SupportLine = Value2 - Value5
plot(dynamic?ResistanceLine:na,color=green)
plot(dynamic?SupportLine:na,color=red)

//--Overbought/Oversold/Warning Detail
UPshape = up > 200 and up>down ? highest(up,1) + 20:up > 200 and up<down?highest(down,1) + 20:na
DOWNshape = down < -200 and up>down ? lowest(down,1) - 20:down < -200 and up<down?lowest(up,1) - 20 :na
plot(UPshape,style=cross,color=aqua,linewidth=2)
plot(DOWNshape,style=cross,color=aqua,linewidth=2)
x1=OBOS?ob:false
x2=OBOS?os:false
hline(x1)
hline(x2)
//http://www.wisestocktrader.com/indicators/2739-flower-indicator
Very interesting.
+2 Reply
Hatmans
2 years ago
What determines the length of the candle?
+1 Reply
glaz Hatmans
2 years ago
Its kinda like Heiken Ashi,but it has an option to smooth it more.
+1 Reply
Thank you very much... does look very interesting.
+1 Reply
ChartArt
2 years ago
I agree with the others here :) A truly interesting indicator. Even the default periods look useful on the BTC daily chart:
snapshot
+1 Reply
glaz ChartArt
2 years ago
I mostly use it at USDJPY with a length of 16-19 and find potential reversals
+1 Reply
Alphaoptions
2 years ago
Glaz - thanks for sharing this study. As we learn how to use it can you expand on possible settings we might try? When you say 16-19 I presume you mean the PERIOD and not the SMOOTHING - or do you mean both? Also any commentary would be helpful on how you think it indicates accumulation and distribution? One of the links seemed to suggest it was measuring AD but it appears to be based on moving averages and CCI without reference to volume. Look forward to any thoughts to help us get going with it.
+1 Reply
glaz Alphaoptions
2 years ago
The main option is Smoother wich is used inside the calculations about 5 diferent times,i could add 5 more options in the script and make it more customizable.
like in this example i added an option for the up calculation to be the same as smoother as the build in and for the down a diferent length.
So the original has 12 for up and down, and the new one "at the bottom" has 12 for the up and 6 for the down lenth
snapshot

also the CCI is only for the channel "green/red lines".
Reply
snapshot


I like using LOG Scale here, only to scan for the best possible plays. Also put a TRIX 3 length to get an even faster look for divergences that i might miss or better confirm with Matrix Series.
Reply
glaz QuantitativeExhaustion
2 years ago
Looks good :D ill try it.
Reply
Iou1melon PRO
2 years ago
really interesting approach! thank you!
Reply
smp.coe PRO
2 years ago
Very nice, Glaz! This fits in nicely with predictive candlestick patterns & stochastics... Thank you, SMP.Coe
Reply
Robski PRO
2 years ago
Nice one, Glaz. Using MTFs set ups, I've done a bit of back testing on a few major currencies and I quite like what I see / get.
Reply
selfmade04
2 years ago
for what platform you can use this scrip?
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out