export class Main extends Indicator { constructor() { super(); } onInit() { } async onUpdate() { this.print('Starting'); let list = await Indicators.ADX(null, TimeFrame.Current, 6, AppliedPrice.Close, PriceType.Ask); let listADX = list[IndicatorLine.Main]; let listDIPlus = list[IndicatorLine.PlusDI]; let listDIMinus = list[IndicatorLine.MinusDI]; this.print('DIMinus='+listDIMinus[1]); } }