Because those HH/LL are "drawing" objects. Read through the thread... I think someone using OEC got it working.
Tums; Can u convert DeMark Indicator values in to Price format so that it will look like Donchian channel on price chart? harsh
You need the function for the pivots for it to compile. I was able to compile the code, but it still did not work.. Check out this thread: http://www.elitetrader.com/vb/showthread.php?s=&threadid=143585
Tums; I have seen convertion for CCI, known as "CCI Prdict". which is a price enevelope. You can view code at; http://trader.online.pl/ELZ/t-i-CCIPredict. Thanks harsh
Stochastic Momentum Index (SMI) William Blau <img src=http://www.elitetrader.com/vb/attachment.php?s=&postid=2280559> code in next post
smi.indicator.eld.zip Right click to download code in ELD format: http://www.elitetrader.com/vb/attachment.php?s=&postid=1640652 188 or copy and paste the code into your editor. SMI Function Code: [color=blue] {Type : Function, Name : SMI} input: length1(NumericSimple), length2(NumericSimple), length3(NumericSimple); var: HH(0), LL(0); HH = Highest(H,length1); LL = Lowest (L,length1); SMI = 100 * (XAverage(XAverage(C-(0.5*(HH+LL)),length2),length3) / (0.5 * XAverage(XAverage(HH-LL,length2),length3))); [/color] SMI Indicator once you got the function Code: [color=blue] {Type : Indicator, Name : SMI} Input:Length1(13),Length2(25),Length3(2),AlertLevel(40), UpColor(green), DwnColor(magenta); Value1 = SMI(length1,length2,length3); plot1( Value1, "SMI" ); plot2( AlertLevel, "Sell line" ); plot3(-AlertLevel, "Buy line" ); plot4(0, "Zero"); if plot1 crosses above -AlertLevel then alert("SMI crosses above buy line"); if plot1 crosses below AlertLevel then alert("SMI crosses below sell line"); If value1>value1[1] then begin plot1[1](value1[1],"SMI",upcolor); plot1(value1,"SMI",upcolor); end else begin plot1[1](value1[1],"SMI",dwncolor); plot1(value1,"SMI",dwncolor); end; [/color] 20090131 NEW click here for SMI in line format http://www.elitetrader.com/vb/showthread.php?s=&postid=2284919#post2284919