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

[amibroker] Re: template problem



PureBytes Links

Trading Reference Links

I have includes for many of my indicators. I set them up so that I can 
override the parameters in the using program. 

This is they way I set the parameters up in the include.

fEMA = Param("Ema period", pEma, 2, 20, 1);

Then in the program just before the include I set pEma to a value I 
want in that program. 

pEma = 5;
#include "pathToInclude\emaInclude.afl"

If I override the parameter in the using program then that is saved 
when I exit AB. 

Barry

--- In amibroker@xxxxxxxxxxxxxxx, "goodland_888" <goodland888@xxx> 
wrote:
>
> Anybody has solutions for this problem??
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "wel6" <e9981@> wrote:
> >
> > After changing parameters like colors or periods of MAs and save to 
a
> > specific name of template, when I load this particular template next
> > time, all parameters change back to default and I have to reset them
> > again. Why it cannot be done when I save a template it also save the
> > parameters I set to?
> >
>



------------------------------------

**** 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/