Easy Language Software

Discussion in 'Trading Software' started by danmb280, Feb 3, 2008.

  1. Check out ninja trader ... different system, but you can achieve most all of the same things if not more.

    And free (unless you intend to execute live).
     
    #11     Feb 4, 2008
  2. This is a sample of a programm written for TS2000i and TS8.0.
    You will see that the difference is minimal.

    Tradestation 2000i

    Code:
    {Code Paul Menzing}
    Vars: High1(0), Low1(0),MP(0),OKToTrade(false);
    
    MP = marketposition(0);
    
    If Date <> Date[1] then begin
    High1 = High;
    Low1 = Low;
    OKToTrade = true;
    end;
    
    if Close[0] > High1 and OKToTrade then begin
    Buy ("LE")this bar on close;
    OKToTrade = false;
    end;
    
    if Close[0] < Low1 and OKToTrade then Begin
    Sell ("SE")this bar on close;
    OKToTrade = false;
    end;
    
    if MP = 1 then begin
    if Close[0] > 2 * High1 - Low1 then ExitLong("LX")this bar on close; 
    end; 
    if MP = -1 then begin 
    if Close[0] < 2 * Low1 - High1 then ExitShort("SX")this bar on close;
    end;
    
    SetExitOnClose;
    
    
    Versie TradeStation 8.1

    Code:
    {Code Paul Menzing}
    
    Vars: High1(0), Low1(0),MP(0),OKToTrade(false);
    
    MP = marketposition(0);
    
    If Date <> Date[1] then begin
    High1 = High;
    Low1 = Low;
    OKToTrade = true;
    end;
    
    if Close[0] > High1 and OKToTrade then begin
    Buy ("LE")this bar on close;
    OKToTrade = false;
    end;
    
    if Close[0] < Low1 and OKToTrade then Begin
    SellShort ("SE")this bar on close;
    OKToTrade = false;
    end;
    
    if MP = 1 then begin
    if Close[0] > 2 * High1 - Low1 then Sell("LX")this bar on close; 
    end; 
    if MP = -1 then begin 
    if Close[0] < 2 * Low1 - High1 then BuyToCover("SX")this bar on close;
    end;
    
    SetExitOnClose;
    
    
     
    #12     Feb 4, 2008
  3. Hello WarEagle,

    I am not sure why you could never get MultiCharts work with OpenTick. MultiCharts has been working very well with this data feed for a long time.

    Please contact our support service and we'll give you another free trial and help you set up MultiCharts with OpenTick. It will be a very cost effective solution.

    Regards.
     
    #13     Feb 4, 2008
  4. mikehabit

    mikehabit

    I just downloaded a version TS2000i. I got it because I am also an ex-TS user and I love easy language. I couldn’t deal with trade station buggy platform/networks any longer. I have not had much time to spend with it but there are clearly some differences in the code, my entry and exit codes seems to be the big problem.
     
    #14     Feb 12, 2008
  5. TS2000i executes only on the close of the bar.

    TS8.0 was supposed to enable you to look inside a bar, but as a 2000i user you don't know how 8.0 reacts.
     
    #15     Feb 13, 2008