Linear Regression Envelope <img src=http://www.elitetrader.com/vb/attachment.php?s=&postid=1664817 width=800> click on image to enlarge 423 click here for code in ELD format: http://www.elitetrader.com/vb/attachment.php?s=&postid=1665028 152
Tums; I have downloaded { _SHME_Dynamic_SR - draw dynamic s/rlines indicator from Anek thread. Since I am using MC , i am missing function = _fPushPeriods(xInterval); and can not compile. Can any one post this function? harsh
Updated Awesome Oscillator with Accelerator/Decelerator Bill Williams <img src=http://www.elitetrader.com/vb/attachment.php?s=&postid=2284264>
Here is Blau's True Strength Index. It double smooths momentum and then presents a signal line. Blau was fascinated by double, triple smoothing changes in momentum and how a system could be built around them. Basically, if the TSI is above zero and rising (above signal line) then the market is up. If the TSI is above zero but stepping down and below the signal line then you can't tell if the trend has changed or its just a consolation. Same on the down side. Just reversed. So in his deal you only trade when the TSI was > 0 and above the signal line or when the TSI < 0 and below the signal line. He says that is the only time when you have a clear sense of what the market is(has) doing(done). John First: Create the Function TSI: Code: [color=blue] // Function: TSI [LegacyColorValue = true]; inputs: Price(NumericSeries), Raw(NumericSimple), Smooth(NumericSimple), U(NumericSimple); vars: NetChg(0); NetChg = Price - Price[1]; Value1 = 100 * XAverage(XAverage(XAverage(NetChg,Raw),Smooth),U); Value2 = XAverage(XAverage(XAverage(AbsValue(NetChg),Raw),Smooth),U); if Value2 <> 0 then TSI = Value1 / Value2 else TSI = 0; [/color] Then create the TSI indicator. Code: [color=blue] // Indicator: TSI [LegacyColorValue = true]; [SameTickOpt = True]; inputs: Price(Close), Raw(26), Smoothed(12), Signal(5), OB(20), OS(-20); Plot1(TSI(Price, Raw, Smoothed,1), "TSI"); Plot2(XAverage(Plot1,signal),"XAvg "); Plot3(OB,"Overbought"); Plot4(OS,"Oversold"); [/color] PS. The colors are set for grey charts.
Hi Tums, How would you create the SMI as a straight ribbon instead of the usual presentation? The reason I ask is I have it that way on Amibroker and would like to have the same presentation in Easylanguage. Thank you. Tim
Do you mean it like this? <img src=http://www.elitetrader.com/vb/attachment.php?s=&postid=2284919> you need to include the SMI function from the above post. Code: [color=blue] // SMI in line format Input: Length1(13), Length2(25), Length3(2), UpColor(green), DnColor(magenta); Value1 = SMI(length1,length2,length3); plot1( 0, "SMI" ); If value1>value1[1] then SetPlotColor[1](1,upcolor) else SetPlotColor[1](1,dncolor); [/color] p.s. to set the line at the bottom of the pane, Go to Format> Study> Scaling under Scale Range, select User Defined: set Maximum to 50, Minimum to -1 .