A call to
Framework.CreateDialog({
…,
settings: {
// Load EMA and ATR indicators onto the chart
loadIndicators: [
{indicator: "EMA", indicatorSettings: {period: 10}},
{indicator: "ATR"} // Use default period (14 bars)
]
}
});
The definition of each indicator is the same as for a ChartChange() instruction:
| Property | Description |
| indicator | The class name of an indicator in the FXB.ta library, such as |
| indicatorSettings:{} | The parameters for the indicator, as specified when creating an instance of the |