/// <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));
        }
 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 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 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 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)));
 }
Beispiel #6
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));
        }
Beispiel #7
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));
        }
Beispiel #8
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));
        }
 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 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);
 }
 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 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 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 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 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 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));
 }