Example #1
0
        /// <summary>
        ///     Calculates the DeMarker indicator and returns its value.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="period"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iDeMarker(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period,
                                       int shift)
        {
            string retrunValue = handler.CallMqlMethod("iDeMarker", symbol, ((int)timeframe), period, shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #2
0
        /// <summary>
        ///     Calculates the Parabolic Stop and Reverse system and returns its value.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="step"></param>
        /// <param name="maximum"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iSAR(this MqlHandler handler, string symbol, TIME_FRAME timeframe, double step,
                                  double maximum, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iSAR", symbol, ((int)timeframe), step, maximum, shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #3
0
        /// <summary>
        ///     Calculates the Fractals and returns its value.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="mode"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iFractals(this MqlHandler handler, string symbol, TIME_FRAME timeframe, BAND_MODE mode,
                                       int shift)
        {
            string retrunValue = handler.CallMqlMethod("iFractals", symbol, ((int)timeframe), ((int)mode), shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #4
0
        /// <summary>
        ///     Calculates the Relative Vigor index and returns its value.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="period"></param>
        /// <param name="mode"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iRVI(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period,
                                  MACD_MODE mode, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iRVI", symbol, ((int)timeframe), period, ((int)mode), shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #5
0
        /// <summary>
        ///     Calculates the Bears Power indicator and returns its value.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="period"></param>
        /// <param name="appliedApplyPrice"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iBearsPower(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period,
                                         APPLY_PRICE appliedApplyPrice, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iBearsPower", symbol, ((int)timeframe), period, shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #6
0
        /// <summary>
        ///     Calculates the Ichimoku Kinko Hyo and returns its value.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="tenkan_sen"></param>
        /// <param name="kijun_sen"></param>
        /// <param name="senkou_span_b"></param>
        /// <param name="mode"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iIchimoku(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int tenkan_sen,
                                       int kijun_sen, int senkou_span_b, ICHIMOKU_MODE mode, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iIchimoku", symbol, ((int)timeframe), tenkan_sen, kijun_sen,
                                                       senkou_span_b, ((int)mode), shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #7
0
        /// <summary>
        ///     Calculates the Moving Average of Oscillator and returns its value. Sometimes called MACD Histogram in some systems.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="fast_ema_period"></param>
        /// <param name="slow_ema_period"></param>
        /// <param name="signal_period"></param>
        /// <param name="appliedApplyPrice"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iOsMA(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int fast_ema_period,
                                   int slow_ema_period, int signal_period, APPLY_PRICE appliedApplyPrice, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iOsMA", symbol, ((int)timeframe), fast_ema_period,
                                                       slow_ema_period, signal_period, ((int)appliedApplyPrice), shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #8
0
        /// <summary>
        ///     Calculates the Standard Deviation indicator and returns its value.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="ma_period"></param>
        /// <param name="ma_shift"></param>
        /// <param name="ma_method"></param>
        /// <param name="appliedApplyPrice"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iStdDev(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int ma_period,
                                     int ma_shift, MA_METHOD ma_method, APPLY_PRICE appliedApplyPrice, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iStdDev", symbol, ((int)timeframe), ma_period, ma_shift,
                                                       ((int)ma_method), ((int)appliedApplyPrice), shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #9
0
        /// <summary>
        ///     Calculates the Stochastic oscillator and returns its value.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="Kperiod"></param>
        /// <param name="Dperiod"></param>
        /// <param name="slowing"></param>
        /// <param name="method"></param>
        /// <param name="applyPriceField"></param>
        /// <param name="mode"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iStochastic(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int Kperiod,
                                         int Dperiod, int slowing, MA_METHOD method, APPLY_PRICE applyPriceField,
                                         MACD_MODE mode, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iStochastic", symbol, ((int)timeframe), Kperiod, Dperiod,
                                                       slowing, ((int)method), applyPriceField, ((int)mode), shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #10
0
        /// <summary>
        ///     Calculates the Bollinger bands® indicator and returns its value.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="period"></param>
        /// <param name="deviation"></param>
        /// <param name="bands_shift"></param>
        /// <param name="appliedApplyPrice"></param>
        /// <param name="mode"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iBands(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period,
                                    int deviation, int bands_shift, APPLY_PRICE appliedApplyPrice, BAND_MODE mode,
                                    int shift)
        {
            string retrunValue = handler.CallMqlMethod("iBands", symbol, ((int)timeframe), period, deviation,
                                                       bands_shift, ((int)appliedApplyPrice), ((int)mode), shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #11
0
        /// <summary>
        ///     Calculates the Envelopes indicator and returns its value.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="ma_period"></param>
        /// <param name="ma_method"></param>
        /// <param name="ma_shift"></param>
        /// <param name="appliedApplyPrice"></param>
        /// <param name="deviation"></param>
        /// <param name="mode"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iEnvelopes(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int ma_period,
                                        MA_METHOD ma_method, int ma_shift, APPLY_PRICE appliedApplyPrice,
                                        double deviation, BAND_MODE mode, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iEnvelopes", symbol, ((int)timeframe), ma_period,
                                                       ((int)ma_method), ma_shift, ((int)appliedApplyPrice), deviation,
                                                       ((int)mode), shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #12
0
        /// <summary>
        ///     Gator oscillator calculation.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="jaw_period"></param>
        /// <param name="jaw_shift"></param>
        /// <param name="teeth_period"></param>
        /// <param name="teeth_shift"></param>
        /// <param name="lips_period"></param>
        /// <param name="lips_shift"></param>
        /// <param name="ma_method"></param>
        /// <param name="appliedApplyPrice"></param>
        /// <param name="mode"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iGator(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int jaw_period,
                                    int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift,
                                    MA_METHOD ma_method, APPLY_PRICE appliedApplyPrice, BAND_MODE mode, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iGator", symbol, ((int)timeframe), jaw_period, jaw_shift,
                                                       teeth_period, teeth_shift, lips_period, lips_shift,
                                                       ((int)ma_method), ((int)appliedApplyPrice), ((int)mode), shift);

            return(Convertor.ToDouble(retrunValue));
        }
Example #13
0
 public static int WindowHandle(this MqlHandler handler, string symbol, TIME_FRAME timeframe)
 {
     return(Convertor.ToInt(handler.CallMqlMethod("WindowHandle", (object)symbol, (object)timeframe)));
 }
 public double iFractals(MqlHandler handler, string symbol, TIME_FRAME timeframe, BAND_MODE mode, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iFractals", symbol, ((int)timeframe), ((int)mode), shift);
     return Convertor.ToDouble(retrunValue);
 }
        /// <summary>
        /// Series array that contains close prices for each bar of the current chart.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="i"></param>
        /// <returns></returns>
        public static double iClose(this MqlHandler handler, string symbol, int i,TIME_FRAME timeFrame)
        {
            string retrunValue = handler.CallMqlMethod("iClose", symbol, i, (int) timeFrame);

            return Convertor.ToDouble(retrunValue);
        }
 public double iBullsPower(MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, APPLY_PRICE appliedApplyPrice, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iBullsPower", symbol, ((int)timeframe), period, ((int)appliedApplyPrice), shift);
     return Convertor.ToDouble(retrunValue);
 }
 public double iEnvelopes(MqlHandler handler, string symbol, TIME_FRAME timeframe, int ma_period, MA_METHOD ma_method, int ma_shift, APPLY_PRICE appliedApplyPrice, double deviation, BAND_MODE mode, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iEnvelopes", symbol, ((int)timeframe), ma_period, ((int)ma_method), ma_shift, ((int)appliedApplyPrice), deviation, ((int)mode), shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iGator(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, MA_METHOD ma_method, APPLY_PRICE appliedApplyPrice, BAND_MODE mode, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iGator", (object) symbol, (object) timeframe, (object) jaw_period, (object) jaw_shift, (object) teeth_period, (object) teeth_shift, (object) lips_period, (object) lips_shift, (object) ma_method, (object) appliedApplyPrice, (object) mode, (object) shift));
 }
 public double iStochastic(MqlHandler handler, string symbol, TIME_FRAME timeframe, int Kperiod, int Dperiod, int slowing, MA_METHOD method, APPLY_PRICE applyPriceField, MACD_MODE mode, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iStochastic", symbol, ((int)timeframe), Kperiod, Dperiod, slowing, ((int)method), applyPriceField, ((int)mode), shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iEnvelopes(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int ma_period, MA_METHOD ma_method, int ma_shift, APPLY_PRICE appliedApplyPrice, double deviation, BAND_MODE mode, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iEnvelopes", (object) symbol, (object) timeframe, (object) ma_period, (object) ma_method, (object) ma_shift, (object) appliedApplyPrice, (object) deviation, (object) mode, (object) shift));
 }
 public double iBWMFI(MqlHandler handler, string symbol, TIME_FRAME timeframe, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iBWMFI", symbol, ((int)timeframe), shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iForce(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, MA_METHOD ma_method, APPLY_PRICE appliedApplyPrice, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iForce", (object) symbol, (object) timeframe, (object) period, (object) ma_method, (object) appliedApplyPrice, (object) shift));
 }
 public static double iBearsPower(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, APPLY_PRICE appliedApplyPrice, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iBearsPower", (object) symbol, (object) timeframe, (object) period, (object) shift));
 }
 public static double iBWMFI(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iBWMFI", (object) symbol, (object) timeframe, (object) shift));
 }
Example #25
0
        public int WindowHandle(MqlHandler handler, string symbol, TIME_FRAME timeframe)
        {
            string retrunValue = handler.CallMqlMethod("WindowHandle", symbol, ((int)timeframe));

            return(Convertor.ToInt(retrunValue));
        }
 public static double iIchimoku(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int tenkan_sen, int kijun_sen, int senkou_span_b, ICHIMOKU_MODE mode, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iIchimoku", (object) symbol, (object) timeframe, (object) tenkan_sen, (object) kijun_sen, (object) senkou_span_b, (object) mode, (object) shift));
 }
 public static double iMACD(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int fast_ema_period, int slow_ema_period, int signal_period, APPLY_PRICE appliedApplyPrice, MACD_MODE mode, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iMACD", (object)symbol, (object)timeframe, (object)fast_ema_period, (object)slow_ema_period, (object)signal_period, (object)appliedApplyPrice, (object)mode, (object)shift)));
 }
 public double iSAR(MqlHandler handler, string symbol, TIME_FRAME timeframe, double step, double maximum, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iSAR", symbol, ((int)timeframe), step, maximum, shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iRVI(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, MACD_MODE mode, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iRVI", (object)symbol, (object)timeframe, (object)period, (object)mode, (object)shift)));
 }
 public static double iFractals(this MqlHandler handler, string symbol, TIME_FRAME timeframe, BAND_MODE mode, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iFractals", (object) symbol, (object) timeframe, (object) mode, (object) shift));
 }
 public double iIchimoku(MqlHandler handler, string symbol, TIME_FRAME timeframe, int tenkan_sen, int kijun_sen, int senkou_span_b, ICHIMOKU_MODE mode, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iIchimoku", symbol, ((int)timeframe), tenkan_sen, kijun_sen, senkou_span_b, ((int)mode), shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iBands(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, int deviation, int bands_shift, APPLY_PRICE appliedApplyPrice, BAND_MODE mode, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iBands", (object) symbol, (object) timeframe, (object) period, (object) deviation, (object) bands_shift, (object) appliedApplyPrice, (object) mode, (object) shift));
 }
 public double iMACD(MqlHandler handler, string symbol, TIME_FRAME timeframe, int fast_ema_period, int slow_ema_period, int signal_period, APPLY_PRICE appliedApplyPrice, MACD_MODE mode, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iMACD", symbol, ((int)timeframe), fast_ema_period, slow_ema_period, signal_period, ((int)appliedApplyPrice), ((int)mode), shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iStochastic(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int Kperiod, int Dperiod, int slowing, MA_METHOD method, APPLY_PRICE applyPriceField, MACD_MODE mode, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iStochastic", (object) symbol, (object) timeframe, (object) Kperiod, (object) Dperiod, (object) slowing, (object) method, (object) applyPriceField, (object) mode, (object) shift));
 }
 public double iRVI(MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, MACD_MODE mode, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iRVI", symbol, ((int)timeframe), period, ((int)mode), shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iSAR(this MqlHandler handler, string symbol, TIME_FRAME timeframe, double step, double maximum, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iSAR", (object) symbol, (object) timeframe, (object) step, (object) maximum, (object) shift));
 }
 public double iBands(MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, int deviation, int bands_shift, APPLY_PRICE appliedApplyPrice, BAND_MODE mode, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iBands", symbol, ((int)timeframe), period, deviation, bands_shift, ((int)appliedApplyPrice), ((int)mode), shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iRVI(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, MACD_MODE mode, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iRVI", (object) symbol, (object) timeframe, (object) period, (object) mode, (object) shift));
 }
 public double iDeMarker(MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iDeMarker", symbol, ((int)timeframe), period, shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iOsMA(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int fast_ema_period, int slow_ema_period, int signal_period, APPLY_PRICE appliedApplyPrice, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iOsMA", (object) symbol, (object) timeframe, (object) fast_ema_period, (object) slow_ema_period, (object) signal_period, (object) appliedApplyPrice, (object) shift));
 }
 public double iForce(MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, MA_METHOD ma_method, APPLY_PRICE appliedApplyPrice, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iForce", symbol, ((int)timeframe), period, ((int)ma_method), ((int)appliedApplyPrice), shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iStochastic(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int Kperiod, int Dperiod, int slowing, MA_METHOD method, APPLY_PRICE applyPriceField, MACD_MODE mode, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iStochastic", (object)symbol, (object)timeframe, (object)Kperiod, (object)Dperiod, (object)slowing, (object)method, (object)applyPriceField, (object)mode, (object)shift)));
 }
 public double iGator(MqlHandler handler, string symbol, TIME_FRAME timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, MA_METHOD ma_method, APPLY_PRICE appliedApplyPrice, BAND_MODE mode, int shift)
 {
     string retrunValue = handler.CallMqlMethod("iGator", symbol, ((int)timeframe), jaw_period, jaw_shift, teeth_period, teeth_shift, lips_period, lips_shift, ((int)ma_method), ((int)appliedApplyPrice), ((int)mode), shift);
     return Convertor.ToDouble(retrunValue);
 }
 public static double iEnvelopes(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int ma_period, MA_METHOD ma_method, int ma_shift, APPLY_PRICE appliedApplyPrice, double deviation, BAND_MODE mode, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iEnvelopes", (object)symbol, (object)timeframe, (object)ma_period, (object)ma_method, (object)ma_shift, (object)appliedApplyPrice, (object)deviation, (object)mode, (object)shift)));
 }
Example #45
0
        public double iClose(MqlHandler handler, string symbol, int i, TIME_FRAME timeFrame)
        {
            string retrunValue = handler.CallMqlMethod("iClose", symbol, i, (int)timeFrame);

            return(Convertor.ToDouble(retrunValue));
        }
 public static double iGator(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, MA_METHOD ma_method, APPLY_PRICE appliedApplyPrice, BAND_MODE mode, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iGator", (object)symbol, (object)timeframe, (object)jaw_period, (object)jaw_shift, (object)teeth_period, (object)teeth_shift, (object)lips_period, (object)lips_shift, (object)ma_method, (object)appliedApplyPrice, (object)mode, (object)shift)));
 }
Example #47
0
        /// <summary>
        ///     Returns the system window handler containing the given chart.
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <returns></returns>
        public static int WindowHandle(this MqlHandler handler, string symbol, TIME_FRAME timeframe)
        {
            string retrunValue = handler.CallMqlMethod("WindowHandle", symbol, ((int) timeframe));

            return Convertor.ToInt(retrunValue);
        }
 public static double iBWMFI(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iBWMFI", (object)symbol, (object)timeframe, (object)shift)));
 }
 public static double iSAR(this MqlHandler handler, string symbol, TIME_FRAME timeframe, double step, double maximum, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iSAR", (object)symbol, (object)timeframe, (object)step, (object)maximum, (object)shift)));
 }
        /// <summary>
        /// Calculates the Movement directional index and returns its value. 
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="period"></param>
        /// <param name="appliedApplyPrice"></param>
        /// <param name="mode"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iADX(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, APPLY_PRICE appliedApplyPrice, ADX_MODE mode, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iADX", symbol, ((int)timeframe), period, ((int)appliedApplyPrice), ((int)mode), shift);

            return Convertor.ToDouble(retrunValue);
        }
 public static double iStdDev(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int ma_period, int ma_shift, MA_METHOD ma_method, APPLY_PRICE appliedApplyPrice, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iStdDev", (object)symbol, (object)timeframe, (object)ma_period, (object)ma_shift, (object)ma_method, (object)appliedApplyPrice, (object)shift)));
 }
 public static double iDeMarker(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, int shift)
 {
     return Convertor.ToDouble(handler.CallMqlMethod("iDeMarker", (object) symbol, (object) timeframe, (object) period, (object) shift));
 }
 public static double iBands(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, int deviation, int bands_shift, APPLY_PRICE appliedApplyPrice, BAND_MODE mode, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iBands", (object)symbol, (object)timeframe, (object)period, (object)deviation, (object)bands_shift, (object)appliedApplyPrice, (object)mode, (object)shift)));
 }
Example #54
0
        public double iADX(MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, APPLY_PRICE appliedApplyPrice, ADX_MODE mode, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iADX", symbol, ((int)timeframe), period, ((int)appliedApplyPrice), ((int)mode), shift);

            return(Convertor.ToDouble(retrunValue));
        }
 public static double iFractals(this MqlHandler handler, string symbol, TIME_FRAME timeframe, BAND_MODE mode, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iFractals", (object)symbol, (object)timeframe, (object)mode, (object)shift)));
 }
Example #56
0
        public double iAO(MqlHandler handler, string symbol, TIME_FRAME timeframe, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iAO", symbol, ((int)timeframe), shift);

            return(Convertor.ToDouble(retrunValue));
        }
 public static double iIchimoku(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int tenkan_sen, int kijun_sen, int senkou_span_b, ICHIMOKU_MODE mode, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iIchimoku", (object)symbol, (object)timeframe, (object)tenkan_sen, (object)kijun_sen, (object)senkou_span_b, (object)mode, (object)shift)));
 }
Example #58
0
        public double iForce(MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, MA_METHOD ma_method, APPLY_PRICE appliedApplyPrice, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iForce", symbol, ((int)timeframe), period, ((int)ma_method), ((int)appliedApplyPrice), shift);

            return(Convertor.ToDouble(retrunValue));
        }
 public static double iMomentum(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int period, APPLY_PRICE appliedApplyPrice, int shift)
 {
     return(Convertor.ToDouble(handler.CallMqlMethod("iMomentum", (object)symbol, (object)timeframe, (object)period, (object)appliedApplyPrice, (object)shift)));
 }
        /// <summary>
        /// Calculates the Standard Deviation indicator and returns its value. 
        /// </summary>
        /// <param name="handler"></param>
        /// <param name="symbol"></param>
        /// <param name="timeframe"></param>
        /// <param name="ma_period"></param>
        /// <param name="ma_shift"></param>
        /// <param name="ma_method"></param>
        /// <param name="appliedApplyPrice"></param>
        /// <param name="shift"></param>
        /// <returns></returns>
        public static double iStdDev(this MqlHandler handler, string symbol, TIME_FRAME timeframe, int ma_period, int ma_shift, MA_METHOD ma_method, APPLY_PRICE appliedApplyPrice, int shift)
        {
            string retrunValue = handler.CallMqlMethod("iStdDev", symbol, ((int)timeframe), ma_period, ma_shift, ((int)ma_method), ((int)appliedApplyPrice), shift);

            return Convertor.ToDouble(retrunValue);
        }