EasyLanguage Treasure Chest

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

Thread Status:
Not open for further replies.
  1. veggen

    veggen

    BTW Tums, or anybody else, do you have the TRO dynamic S/R indicator? That is the name of the indicator that plots "dots" at pivots right?

    Thanks for creating this thread and helping out Tums!

    Very much appriciated.

    veggen
     
    #41     Nov 29, 2008
  2. Tums

    Tums

    NPP builds a Emini system
    by no_pm_please

    Strictly Educational!

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



    Code by nicknextmove
    Right click... Save as... to download.
    http://elitetrader.com/vb/attachment.php?s=&postid=1297822

    (49)
     
    #42     Nov 29, 2008
  3. Tums

    Tums

    #43     Nov 29, 2008
  4. veggen

    veggen

    Do anybody have the ZigZag indicator in EL codes, with the functions? :)
     
    #44     Nov 30, 2008
  5. Tums, is it the same language used by TradersStudio or is it a universal language as for Trading platforms (as you say it can be imported to MultiCharts, Tradestation? Thanks. :)
     
    #45     Dec 1, 2008
  6. Code:
    [color=blue]
    Inputs: WavePcnt(5), Color(Yellow), Thicknes(1);
    Variables: SH(0), SL(0), RP(0), RPDate(0), RPTime(0), ZigZag(0), Switcher(0), NextZig(0);
    
    IF CurrentBar = 1 Then Begin
    	RP = MedianPrice;
    	RPDate = Date;
    	RPTime = Time;
    	NextZig = Text_New(Date, Time, 0, NumToStr(WavePcnt, 0)+"%-");
    	Text_SetColor(NextZig, Color);
    End;
    
    SH = SwingHigh(1, High, 1, 2);
    SL = SwingLow(1, Low, 1, 2);
    
    IF SH  <> -1 Then Begin
    	IF Switcher <> -1 AND SH >= RP * (1+(WavePcnt*.01)) Then Begin
    		Condition1 = True;
    		Switcher = -1;
    		Condition2 = True;
    	End;
    	IF Condition1 = False AND Switcher = -1 AND SH >= RP Then Begin
    		TL_SetEnd(ZigZag, Date[1], Time[1], SH);
    		Condition2 = True;
    	End;
    	IF Condition2 Then Begin
    		Condition2 = False;
    		RP = SH;
    		RPDate = Date[1];
    		RPTime = Time[1];
    	End;
    End;
    
    IF SL <> -1 Then Begin
    	IF Switcher <> 1 AND SL <= RP - (RP*(WavePcnt*.01)) Then Begin
    		Condition1 = True;
    		Switcher = 1;
    		Condition2 = True;
    	End;
    	IF Condition1 = False AND Switcher = 1 AND SL <= RP Then Begin
    		TL_SetEnd(ZigZag, Date[1], Time[1], SL);
    		Condition2 = True;
    	End;
    	IF Condition2 Then Begin
    		Condition2 = False;
    		RP = SL;
    		RPDate = Date[1];
    		RPTime = Time[1];
    	End;
    End;
    
    IF Condition1 Then Begin
    	Condition1 = False;
    	ZigZag = TL_New(RPDate, RPTime, RP, RPDate[1], RPTime[1], RP[1]);
    	TL_SetSize(ZigZag, Thicknes);
    	TL_SetColor(ZigZag, Color);
    	TL_SetExtRight(ZigZag, False);
    	TL_SetExtLeft(ZigZag, False);
    	IF False Then Plot1[1](RP, "RP");
    End;
    
    IF Switcher = 1 Then Begin
    	Text_SetLocation(NextZig, Date, Time, RP * (1+(WavePcnt*.01)));
    	Text_SetStyle(NextZig, 1, 2);
    End;
    IF Switcher = -1 Then Begin
    	Text_SetLocation(NextZig, Date, Time, RP - (RP*(WavePcnt*.01)));
    	Text_SetStyle(NextZig, 1, 2);
    End;
    [/color]
    
     
    #46     Dec 1, 2008
  7. Tums

    Tums

    EasyLanguage was invented by TradeStation.

    It has since been adapted by a number of charting software... to various extent.
     
    #47     Dec 1, 2008
  8. hektor

    hektor

    #48     Dec 1, 2008
  9. MAESTRO

    MAESTRO

    Easy Language has been developed by Samuel K. Tennis who was an original senior programmer for the System Writer released by Omega Research in late 80s. Later this language became a foundation for Trade Station. Easy Language is an offshoot of Pascal.
     
    #49     Dec 1, 2008
  10. I will post some when I get home. Most of mine are sadly in esignal.
     
    #50     Dec 1, 2008
Thread Status:
Not open for further replies.