[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CL_Easy Language Question



PureBytes Links

Trading Reference Links


-----Message d'origine-----
De : DStan34930@xxxxxxx <DStan34930@xxxxxxx>
À : code-list@xxxxxxxxxxxxx <code-list@xxxxxxxxxxxxx>
Date : vendredi 13 août 1999 21:07
Objet : Re: CL_Easy Language Question


>The immediate answer is no.
>

The not immediate answer is YES if you use TS2000i, that may return arrays of values and variables from user functions.
Her is the inputs used in an use function for the latest version of Sirtrade 2000.
See how we define the import and export array at the end of this function.


SIR20000RTGI
============

Inputs:
{File section}
 FilePath(stringseries),  {Datapath where the FIS files are stored} 
 FileName(stringseries),  {Name of the FIS file in the above directory.}  
 Runtime(numericseries),  
  
{retraining condition}
 RetrainCond(truefalseseries), {Any condition that yo may write,from an user function, or directly}    
  
{zig zag section}    
 deltx(numericseries),     {zig zag setting}
 dFactor(numericseries),     {Strength factor}
 neglag(numericseries), 
 TrainHist(numericseries),    {number of historical bars for retraining}

{retraining section}
 deltabar(numericseries),    {Retraining bar frequency. 0 = no retraining}
 iter(numericseries),     {number of iterations}
 thresh(numericseries),     {threshold setting. -1= reads from FZB file}

{equity curve section} 
 Costs(numericseries),     {Transaction costs, expressed in BigPoints}
 stp(numericseries),      {Stop increment, expressed in BigPoints }
 type(numericseries),     {+1 stop orders -1  limit orders 0 MOC orders(default)}
 tgbuy(numericseries),     {Price for buy orders ( stop or limit)}
 tgsell(numericseries),     {Price for sell orders ( stop or limit)}	

{Settings Summary display}
 
 disp_settings(numericseries),   {1= displays settings to message log 0 = nothing sent}
  
{Import Export Arrays}
 xninputs(numericseries

 xxinp[size1](NumericArray),    {Array of indicators} <=========Inport array values to the UF
 xxback[size2](NumericArrayref);   {Array of results} <======== Load the exported values into such array from the UF
  	



Rgds
-Pierre Orphelin
Représentant exclusif de Omega Research en France.
web: http://www.sirtrade.coMeilleures salutations.