EasyLanguage Treasure Chest

Discussion in 'Trading Software' started by Tums, Nov 24, 2008.

Thread Status:
Not open for further replies.
  1. This gives me compile errors in OEC:
     
    #141     Jan 21, 2009
  2. Tums

    Tums

    Because those HH/LL are "drawing" objects.
    Read through the thread... I think someone using OEC got it working.
     
    #142     Jan 21, 2009
  3. harsh

    harsh

    Tums;
    Thank you and again Thank you for speedy reply
    harsh
     
    #143     Jan 22, 2009
  4. harsh

    harsh

    Tums;
    Can u convert DeMark Indicator values in to Price format

    so that it will look like Donchian channel on price chart?
    harsh
     
    #144     Jan 24, 2009
  5. Tums

    Tums

    They are different animals.
    One is an oscillator, the other is a price envelope.
     
    #145     Jan 24, 2009
  6. veggen

    veggen

    #146     Jan 25, 2009
  7. harsh

    harsh

    #147     Jan 25, 2009
  8. Tums

    Tums

    THis is a bit beyond me.
    I am on a trip right now. I will take a look at it when I return.
     
    #148     Jan 25, 2009
  9. Tums

    Tums

    Stochastic Momentum Index (SMI)
    William Blau


    <img src=http://www.elitetrader.com/vb/attachment.php?s=&postid=2280559>

    code in next post
     
    #149     Jan 29, 2009
  10. Tums

    Tums

    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
     
    #150     Jan 29, 2009
Thread Status:
Not open for further replies.