PureBytes Links
Trading Reference Links
|
There are a couple of ways to do this. When I build an indicator I copy
the code from ABs indicator folder into a new formula file and rename
it. Then I add other indicators in the same formula to make a system of
indicators and whatever rules apply. If you assign default parameters
in you new formula then those will follow the chart created by your new
indicator and will not follow the indicators on other charts.
Then if you want to tailor the parameters for specific symbols on your
new chart use and IF statement and change the parameters when a
predefined symbol is displayed and use the default for all other
symbols.
pCCI = param("CCI period", 15, 2, 50);
if(name() == "IWM") pCCI = 12;
if(name() == "QQQQ") pCCI = 18;
fCCI = CCI(pCCI);
Now your calculations for CCI follow the symbol name or use the default.
Barry
--- In amibroker@xxxxxxxxxxxxxxx, "Tim" <raven4ns@xxx> wrote:
>
> Hello,
> Is it possible to have parameters locked to a specific chart? Instead
> of having the parameters that affected charts globally, you could have
> the parameters fixed for that symbol. Then you could adjust the
> parameters for each individual chart if you so wished.
> The reason I ask is that I use labels on my charts. When I have them
> adjusted correctly for 1 symbol the next symbol I bring up they may
> very well be adjusted incorrectly and I need to go through the process
> again. I used labels as an example but there are other things and it
> would be nice to lock in the parameters for a chart so it appears
> correctly everytime you bring it up. Thank you for your ideas and
help.
>
> Kindest regards,
>
> Tim
>
------------------------------------
**** 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/
|