I use different parameters for different futures. Since there are only a few futures I trade with, I use the following simple method:

 

x_ticker                        =          Name();

 

//         Default values for unknown tickers.

x_decimal                     =          0.0;

x_TimeInForce              =          "DAY";

            …

if (StrLeft(x_ticker,3)    =="ES")

            {

            x_decimal                     =          0.2;

            x_TimeInForce              =          "DAY";

            ….

            }

else if (StrLeft(x_ticker,2)=="6E")

            {

            x_decimal                     =          0.4;

            x_TimeInForce              =          "DAY";

            ….

else if (StrLeft(x_ticker,2)=="6E")

            ….

           

Well, when you change to a new ticker, remember to Reset All. Unfortunately, your modified parameters will be reset. If you stick to a parameter for a particular stock, then, change it to default parameter in codes for that stock.

 

Clement

 

 

 

 

 

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of brhelpdesk
Sent: Saturday, July 15, 2006 5:55 AM
To: [email protected]
Subject: [amibroker] Indicator parameters

 

I use different Indicator parameters for each symbol (like periods).
Is it possible to maintain the parameters for each symbol?

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html






SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to