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

Re: [amibroker] Programming Techniques - Modules



PureBytes Links

Trading Reference Links

Yes ...
 
Include modues are a clean way of modularizing your code, and unctions are a good way to keep variables contained withing a module, so they don't interefe with other variables with same name.
 
So use include files and use functions. If you need some variable to be global, so be it ... just make sure you do not use the same name for them
 
Ara
 
 
----- Original Message -----
Sent: Monday, June 11, 2007 5:04 AM
Subject: [amibroker] Programming Techniques - Modules

Up to now I have been cutting and pasting code to create my systems and indicators.  Some are becoming very big and it would seem to make sense to ?module-ize? these as ?all good programmers are   taught?.   It just seems to make sense to parse out the AT Interface, Informational functions to help in the decision process (RS,CCI, Resistance and Support, Reversals indicators, volume pressure, etc.) used in the Exploration but are not part of the actual trading system, enhancements using color in the exploration and interpretations, as well as others tested parts.  Is the #include the way to go? Or is there some other technique I should consider like creating a ?function? --- to help create modules and reuse code.  

 

Thanks Dave

__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___