IndicatorLine

Enumeration of indicator line types

Description

Used in the method onUpdate class Indicator

Example

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]);
     }
}

Elements

const
ChikouSpan Chikou Span
GatorJaw Jaw line 1
GatorLips Lips line 3
GatorTeeth Teeth line 2
KijunSen Kijun-sen
Lower Lower line
Main Base indicator line
MinusDI -DI indicator line
PlusDI +DI indicator line
SenkouSpanA Senkou Span A
SenkouSpanB Senkou Span B
Signal Signal line
TenkanSen Tenkan-sen
Upper Upper line