PureBytes Links
Trading Reference Links
|
Hi,
I have a few include modules that (I guess) do similar thing.
I'm not sure what you need so I tell what it does.
It reads in a "config file" for a security only once and stored the
values in static vars of that sec. All static vars have names like
<security name><parametername>. Each security has a config file or
using an alias file their config file can be redirected to an other
file. This way if I use a backtest symbol or I do live trading all
the systems can use the same config file.
Using static vars named in this way it implies that if you use them
and you change the security in a chart the used static vars will
change as well and the parameter set is changed as well. All you need
to do is access the static vars like Name() + "<parametername>".
E.g.: MA(Avg, StaticVarGet(Name()+"Period");
So if the chart shows X it will use X's config data. If you change it
to Y it will use Y's config data.
I hope it gives some idea.
Y
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL 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
*********************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|