EasyLanguage Treasure Chest

Status
Not open for further replies.
Quote from Tums:

Price Action -- HH/LL

This indicator AUTOMATICALLY labels HH LL on your chart.

attachment.php



Right click here to download the code (text format):
http://elitetrader.com/vb/attachment.php?s=&postid=2189965

Right click here to download the code (zipped ELD format):
http://elitetrader.com/vb/attachment.php?s=&postid=2162965
(718,79)




20090119
<hr>NEW !
This is the latest version... with lines
http://www.elitetrader.com/vb/showthread.php?s=&postid=2267115#post2267115

This gives me compile errors in OEC:
 

Attachments

Quote from IronFist:
This gives me compile errors in OEC:
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
 
Quote from harsh:
Tums;
Can u convert DeMark Indicator values in to Price format
so that it will look like Donchian channel on price chart?
harsh
They are different animals.
One is an oscillator, the other is a price envelope.
 
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
 
Status
Not open for further replies.
Back
Top