InvestorsHub Logo
Post# of 102
Next 10
Followers 38
Posts 9736
Boards Moderated 2
Alias Born 06/03/2007

Re: None

Saturday, 05/30/2009 11:08:44 PM

Saturday, May 30, 2009 11:08:44 PM

Post# of 102
Thoughts on the SDC indicator

Since the SDC is essentially a built in function in MT4, what is the best method to read the top and bottom lines? Unlike the BB or MA Envelopes there doesn't seem to be a MODE_UPPER or MODE_LOWER reading for this and the values seem to be built into MT4 as the STD on each side of the central line. This is the best I've come up with so far, any thoughts?

double SDC_top=NormalizeDouble(ObjectGetValueByShift("regression channel",0)*(STD.Rgres.width),2); //top regression line value
double SDC_bottom=NormalizeDouble(ObjectGetValueByShift("regression channel",0)*(-1*STD.Rgres.width),2); //bottom regression line value



"remember the mayonaise jar...keep cool but don't freeze"

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.