分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]根据自己的策略改成的ea[MT4公式][/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2013-03-04 06:46:02
软件简介:

//+------------------------------------------------------------------+
//|                              RSI  --------    QQE    V01    .mq4 |
//|                                        liu                  song |
//+------------------------------------------------------------------+
#property copyright "liu                  song"
#property link      "liu****gwh@qq.com            qq:56*****90"

extern double a = 1.2;
extern double b = 43.2365;

extern double c = 50.2589;

extern double Lots = 0.1;
extern double slippage=3.0;

extern double diancha=10.0;
extern double kuisun=100.0;
extern int  maxlots =1;

extern int  SL = 2000;
extern int  duan_sl=20;
extern int  TP  = 20000;
extern string  MT4LevelStopReversevB0设置 =" MT4-LevelStop-Reverse-vB0设置";

extern bool UseATRMode = true;
extern int NonATRStopPips =1800;
extern int ATRPeriod = 9;
extern double ATRMultiplier = 2.0;
extern int ATRSmoothing = 0;
extern color UpArrowColor = DodgerBlue;
extern color DnArrowColor = OrangeRed;
extern int ArrowDistance = 0;

int start()
  {
//----
                      double          qqe_0,qqe_1,qqe_2,qqe_3,qqe_5,qqe_6,qqe_7,qqe_day_1,qqe_day_2;
        
                      double           sell,buy,i,guadan,lirun;
                      double  mt4_stop_1,mt4_stop_2,chazhi,chazhi_1;
                     
                     qqe_day_1 = iCustom (Symbol(), PERIOD_D1, "###QQE_Alert_MTF_v3###", 0, 0);
                     qqe_day_2 = iCustom (Symbol(), PERIOD_D1, "###QQE_Alert_MTF_v3###", 1, 0);
                    
                      qqe_0     = iCustom (Symbol(), NULL, "###QQE_Alert_MTF_v3###", 0, 0);
                     
                      qqe_1     = iCustom (Symbol(), NULL, "###QQE_Alert_MTF_v3###", 0, 1);
                      qqe_2     = iCustom (Symbol(), NULL, "###QQE_Alert_MTF_v3###", 0, 2);
                      qqe_3     = iCustom (Symbol(), NULL, "###QQE_Alert_MTF_v3###", 0, 3);
                     
                      qqe_5     = iCustom (Symbol(), NULL, "###QQE_Alert_MTF_v3###", 0, 5);
                      qqe_6     = iCustom (Symbol(), NULL, "###QQE_Alert_MTF_v3###", 0, 6);
                      qqe_7     = iCustom (Symbol(), NULL, "###QQE_Alert_MTF_v3###", 0, 7);
                     
                   mt4_stop_1 = iCustom(NULL,0,"MT4-LevelStop-Reverse-vB0-3",
                  UseATRMode,NonATRStopPips,ATRPeriod,ATRMultiplier,ATRSmoothing,UpArrowColor,DnArrowColor,ArrowDistance,0,1);
                   mt4_stop_2 = iCustom(NULL,0,"MT4-LevelStop-Reverse-vB0-3",
                  UseATRMode,NonATRStopPips,ATRPeriod,ATRMultiplier,ATRSmoothing,UpArrowColor,DnArrowColor,ArrowDistance,0,2);
             
              chazhi=mt4_stop_1-mt4_stop_2;
             
                
               if(chazhi>0){
               
                 chazhi_1=chazhi;
                  }
                  else{
                   if(chazhi<0){
                   chazhi_1= 0 -chazhi;
                    }
                   }
                     
            
int   total = OrdersTotal();
 &n
[url=http://www.70822.com/soft/sort013/sort067/down-58471.html]根据自己的策略改成的ea[MT4公式][/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒