Parameter values in AmiBroker are stored separately for each ChartID. A ChartID is a number that uniquely identifies chart. This makes it possible that parameters having same name can hold different values when they are used in different charts (different ChartIDs). This also allows to share parameters if two panes use same ChartID. (A detailed explanation can be found here: http:\/\/www.amibroker.com\/kb\/2014\/10\/06\/relationship-between-chart-panes\/<\/a> )<\/p>
As a result – we have a setup of several chart windows, where we can quickly access given symbol showing chart with its separately stored parameters.<\/p>
<\/p>
There is also a way to handle the chart parameter values directly from the AFL formula, which would detect the active symbol and set the parameter values accordingly. Here is an example of such implementation using switch<\/strong> statement:
http:\/\/www.amibroker.com\/guide\/keyword\/switch.html<\/a><\/p>