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

Re: [amibroker] #Include question



PureBytes Links

Trading Reference Links

Landry said>>If you're concerned about processing impact, I don't think there's much of an impact if you load more code then you use, but then that depends on how much code you're talking about.
=================================
Joe, I have some Custom indicators in which I created  a HUGE amount of repetive code, in order to find the best time frames to use.
 
The end result is that I am using only a very small % of the HUGE amount of coding still residing in the indicator .
 
I interpret your answer above to mean that I should get rid of the coding that I am not actually using if I want thigs to run at absolute maximum speed.  Is this a correct conclusion of your answer above.  Ron  D.
 
 
 
 
 
 
 
 
----- Original Message -----
From: Joe Landry
Sent: Monday, October 31, 2005 6:31 AM
Subject: Re: [amibroker] #Include question

Chuck
If you're concerned about processing impact, I don't think there's much of an impact if you load more code then you use, but then that depends on how much code you're talking about.  
 
For example I've seen a utility with 800 lines of code that has 10 function calls with each function being about 80 lines of code.   All of this AFL is loaded with one include statement, and with the AFL logic you can "call"/use any one of the functions you'd like.
 
Hope this helps, I'm making assumptions of where you want to go with this
JOE
 
 
----- Original Message -----
From: Chuck
Sent: Monday, October 31, 2005 6:21 AM
Subject: Re: [amibroker] #Include question

Thanks Joe.  Is there any other way to use a parameter to choose blocks of
code?  That would be SO useful.

chuck
----- Original Message -----
From: "Chuck" <cstangor232@xxxxxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, October 31, 2005 7:03 AM
Subject: [amibroker] #Include question


> Does anyone know what's the best way to use a parameter to specify which
> file to #include?  I thought I could use Paramlist, but it appears that
> #include doesn't accept a string variable.  Thanks
>
>
>
> 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
>
>
> Yahoo! Groups Links
>
>
>
>
>
>



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





YAHOO! GROUPS LINKS