I created parameters for an indicator which must be specific to one chart, but when i open 2 charts with different stocks and apply parameters on one chart, the parameters of second chart gets updated too, which should not happen. How to fix this? @Tomasz
Do not open new charts using New Default Chart, but New Blank Chart instead, to avoid sharing parameters.
I quote from: AmiBroker Knowledge Base ยป Relationship between chart panes
- if Chart ID is the same for both โ then it is essentially the very same chart. It means that all the hand-drawn studies and parameters are common for both charts (changes in one chart pane will affect the other) and all the drag&drop operations or formula changes affect both charts โ that is because as a result of dragging and dropping indicators the underlying code is being modified (new sections are added). Such relationship between chart panes will happen when we open another chart window that uses the same chart template as the previous window (e.g. using File->New->Default Chart) or save chart template and load it from the other window.
2 Likes