計算平均定向運動指數指標並返回其值。    
    
                    await Indicators.ADX(symbol:string, timeframe:string, period:int, appliedPrice:int, priceType:int, mode:int)
    
    
            
            Parameters
            
                
                
                    | Name | 
                    Type | 
                    Действие | 
                    Значение по умолчанию | 
                
                
                
                                    
                        | symbol | 
                        string | 
                        將計算指標的數據上的交易品種名稱。 null 表示當前符號。  | 
                        — | 
                    
                                    
                        | timeframe | 
                        string | 
                        大體時間。 它可以是任何 TimeFrame 枚舉值。 0 表示當前圖表時間範圍。  | 
                        — | 
                    
                                    
                        | period | 
                        int | 
                        計算的平均週期。 | 
                        — | 
                    
                                    
                        | appliedPrice | 
                        int | 
                        適用價格。 它可以是任何 AppliedPrice 枚舉值。 | 
                        — | 
                    
                                    
                        | priceType | 
                        int | 
                         Price type | 
                        — | 
                    
                                    
                        | mode | 
                        int | 
                        指標線索引。 它可以是任何 Indicators line 標識符枚舉值。 (0 - IndicatorLine.Main, 1 - IndicatorLine.PlusDI, 2 - IndicatorLine.MinusDI)。 | 
                        — | 
                    
                                
            
         
    
            
            Return value
            
                平均定向運動指數指標的數值。
                            
         
    
    
        
        Example
        let list = await Indicator.ADX(null, 0, 14, AppliedPrice.High, PriceType.Bid, IndicatorLine.Main);