Home     News     Software     Order     Download     Support     Publications     Research     Contacts  
   Home

   News

  •  

  • Latest News
      
  •  

  • World News
      
  •  

  • Our achievements
      
       Software

  •  

  • TradeStation Solutions
      
  •  

  • Portfolio Software
      
  •  

  • Genetic Optimization
      
  •  

  • eSignal Solutions
      
  •  

  • Matlab & TradeStation Solutions
      
  •  

  • Excel & TradeStation Solutions
      
       Order

       Download

  •  

  • Free Download
      
  •  

  • Update
      
       Support

  •  

  • Online Help
      
  •  

  • TS Trendiness Dll
      
  •  

  • Easy Language Code Converter
      
  •  

  • Genetic Optimizer
      
  •  

  • Portfolio Analyzer
      
  •  

  • Excel Link Dll
      
  •  

  • Matlab Link Dll
      
  •  

  • TradeStation Wavelet Transform Dll
      
  •  

  • eSignal Wavelet Transform Dll
      
  •  

  • 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

    Matlab Link Dll: Functions and Indicators

    Function and Indicators EasyLanguage code:


    Function "TS.MATLAB.LINK"

    EasyLanguage:
     
    {*************************************************************************************** 
    Name: TS.MATLAB.LINK 
    Analysis Type: Function  
    Used: TSMATLABLINK.dll 
    Description: Using MATLAB The MathWorks, Inc (http://www.mathworks.com/) 
    Provided By: Trade Smart Research (c) Copyright 2001 - 2004 www.tsresearchgroup.com 
    Return of value: Float (Numeric) 
    ***********************************************************************}
     
    Input: Transmit(StringSimple);   
      
    defineDLLFunc"tsmatlablink.dll"float"TS_ExecMatlabCmd",lpstr;    
       
    TS.MATLAB.LINK = TS_ExecMatlabCmd(Transmit);   
     
    {***** 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. *****}
     



    Example Indicator: "TS.MATLAB.MEAN"

    EasyLanguage:
     
    {*************************************************************************************** 
    Name: TS.MATLAB.MEAN 
    Analysis Type: Indicator  
    Used: TSMATLABLINK.dll 
    Description: Calculated Mean using MATLAB The MathWorks, Inc (http://www.mathworks.com/) 
    Provided By: Trade Smart Research (c) Copyright 2001 - 2004 www.tsresearchgroup.com 
    ***********************************************************************}
     
     
    Input: Length(21);    
    Vars: MA(0);   
    if currentbar = 1 then begin    
     Value1 = TS.MATLAB.LINK("A = ["NumToStr(C,4)+" ]"); {create array A and add value}   
    end else begin    
      Value1=TS.MATLAB.LINK("A=[A "NumToStr(C,4) +" ]");  {add next value to array}  
      if currentbar > Length then   
        Value1=TS.MATLAB.LINK("A(1)=[]");   {if array > our periods then delete first element from array} 
        MA=TS.MATLAB.LINK("mean(A)");   {calculating mean} 
    end;    
    Plot1(MA, "Mean"); 
     
    {***** 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. *****}
     


    Important notice!
    Values of TradeStation need to be converted to string, for example using EasyLanguage function «NumToStr», right before exporting to MATLAB.


    <<< Matlab Documentation



    Developed by: webdesign.tria.lv  

      About | Privacy Statement | Terms of use | TradeStation Disclaimer

    Copyright © 2004 TS Smart Research

    time: 0.0319 | queries: 2