Home     News     Software     Order     Download     Support     Publications     Research     Contacts  
   Home

   News

  •  

  • Latest News
      
  •  

  • World News
      
  •  

  • Our achievements
      
       Software

  •  

  • TradeStation Solutions
      
  •  

  • Genetic Optimizer v.2.0 (TSG2)
      
  •  

  • Trendiness
      
  •  

  • Genetic Optimizer v.1.5 (TSGO)
      
  •  

  • Portfolio Analyzer
      
  •  

  • MATLAB Link Dll
      
  •  

  • Excel Link Dll
      
  •  

  • Wavelet Transform Dll
      
  •  

  • Portfolio Software
      
  •  

  • Genetic Optimization
      
  •  

  • eSignal Solutions
      
  •  

  • Matlab & TradeStation Solutions
      
  •  

  • Excel & TradeStation Solutions
      
       Order

       Download

  •  

  • Free Download
      
  •  

  • Update
      
       Support

  •  

  • Online Help
      
  •  

  • Upgrade Policy
      
       Publications

  •  

  • Fractal dimension – numerical characteristic of trend
      
  •  

  • Volatility Models
      
  •  

  • Genetic optimization. Application in TradeStation environment.
      
  •  

  • Trading Systems Free
      
  •  

  • Money Management
      
       Research

  •  

  • TS Excel Link's using example
      
  •  

  • Strategy Optimization, Curve Fitting and Walk Forward Analysis.
      
  •  

  • Entropy Indicator in TradeStation using Matlab
      
  •  

  • TradeStaion Genetic Optimizer
      
       Contacts

    Overview: TradeStation Indicator Example

    Sample indicator TS.LINK.EXAMPLE:

    EasyLanguage:
     
    {******************************************************************* 
    Name: TS.Link.Example 
    Analysis Type: Indicator 
    Description : Example Indicator for TS Link DLL 
    Used: tslink.dll 
    Provided By : Trade Smart Research (c) Copyright 2001 - 2004  
                  www.tsresearchgroup.com 
    ********************************************************************}
     
     
    Inputs
        Price(close), 
        SetSheet(1), 
        SetRow(3), 
        SetColum(2), 
        GetSheet(1), 
        GetRow(4), 
        GetColum(2), 
        MyIndicatorName("MyIndicator1"), 
        ExcelFileName("TSLinkExample.xls"), 
        ExcelFilePath("C:\Program Files\TradeSmart\TS Link\TSLinkExample.xls"); 
    Var: StartValue(0),SetValue(0), GetValue(0), StrName(""),Str1(""); 
     
    {Declaration functions} 
    defineDLLFunc"tslink.dll"int"TS_StartExcel",LPSTR,LPSTR{initalisation excel file 1 - Short BookName, 2 - full path bookname} 
    defineDLLFunc"tslink.dll"int"TS_SetValue",float,int,int,int,int{value,sheet number, row, column, spleep milisekonds} 
    defineDLLFunc"tslink.dll"float"TS_GetValue",int,int,int,int{sheet number,row, column, spleep milisekonds} 
    defineDLLFunc"tslink.dll"int"TS_SetString",lpstr,int,int,int,int{text,sheet number, row, column, spleep milisekonds} 
    defineDLLFunc"tslink.dll"lpstr"TS_GetString",int,int,int,int{sheet number, row, column, spleep milisekonds} 
     
    if currentbar = 1 then begin 
          If DataCompression = 1 then Str1 = NumToStr(barinterval,0) + "Min"
          if DataCompression = 2 then Str1 = "Daily";  
          if DataCompression = 3 then Str1 = "Weekly"
          if DataCompression = 4 then Str1 = "Monthly"
          if DataCompression = 5 then Str1 = "P&F"
          if DataCompression = 0 then Str1 = NumToStr(barinterval,0) + " " + "Tick"
        StrName =GetSymbolName + " " + MyIndicatorName + " " + Str1+" "
         
        StartValue = TS_StartExcel(ExcelFileName,ExcelFilePath); 
        TS_SetString(StrName,SetSheet,1,2,0); 
    end
     
    {Call Dll and send and receive to it of the value} 
     
    SetValue = TS_SetValue(Price,SetSheet,SetRow,SetColum,0); 
     
    GetValue = TS_GetValue(GetSheet,GetRow,GetColum,0); 
     
     
    Plot1(GetValue, "Value");  
     
     
    {***** Copyright (c) 2001-2004 Trade Smart Research, Ltd. All rights reserved. www.tsresearchgroup.com ***** 
    ***** Trade Smart Research reserves the right to modify or overwrite this analysis technique  
          with each release. *****}
     


    <<< Function Description



    Developed by: webdesign.tria.lv  

      About | Privacy Statement | Terms of use | TradeStation Disclaimer

    Copyright © 2004 TS Smart Research

    time: 0.2712 | queries: 2