22评论

3收藏

MetaTrader 4 外汇公式加密方法

avatar 靖雨仇 | 6321 人阅读 | 22 人评论 | 2011-09-28

MetaTrader 4  外汇公式加密方法
  (注:正式版加密方法与该演示版加密方法稍微不同)
  1、在外汇公式中,要在前面添加下列代码:
  //////--添加下列代码------------
  #import "mt4whgs.dll"
     int MT4WH(string testlock);
  #import
  int Ret;
  string testlock = "http://www.zlocksoft.com";
  //////--添加上述代码------------
  
  2、在 int init() 中添加:
  //////--添加下列代码------------
     Ret = MT4WH(testlock);        //显示注册窗口
     if(Ret == -1) return(0);
     if(Ret != 0) return(0);
  //////--添加上述代码------------
  limit_date="使用期限:" + DoubleToStr(StringGetChar(testlock,11)+2000,0) + "年" + DoubleToStr(StringGetChar(testlock,12),0) + "月" + DoubleToStr(StringGetChar(testlock,13),0) + "日";
  可以添加上述代码,获得软件使用期限!
   
  3、在 int start() 中添加:
  //////--添加下列代码------------
     if(Ret != 0) return(0); //下面判断语句,最好分散到程序不同位置
     if(StringGetChar(testlock,0)!= 9) return(0);
     if(StringGetChar(testlock,1)!= 4) return(0);
     if(StringGetChar(testlock,2)!= 8) return(0);
     if(StringGetChar(testlock,3)!= 5) return(0);
     if(StringGetChar(testlock,4)!= 5) return(0);
  //////--添加上述代码------------
  
  
  具体例子,参见 $gongsimt4 目录下面的“翔宇加密.mq4”。
  下载演示版。
  
                          泰山翔宇电脑工作室   山东泰山医学院 271000   张裕飞
                          http://www.Zlocksoft.com
                          e-mail: Zlocksoft@Zlocksoft.com zlocksoft@163.com
                          电话:0538-6222485  5389485(小灵通)   13001773563(手机)
  

MetaTrader 4 外汇公式加密方法

MetaTrader 4  外汇公式加密方法
""
还没有人打赏,支持一下

评论|共 22 个

tat12345

发表于 2012-11-21 23:00:05 | 显示全部楼层

真好。。。。。。。。。  

dmpdc

发表于 2012-11-21 23:00:05 | 显示全部楼层

孜孜不倦, 吾等楷模 …………  

心理医生

发表于 2012-11-21 23:00:05 | 显示全部楼层

不错的东西  持续关注  

houlantian

发表于 2012-11-21 23:00:05 | 显示全部楼层

强人,佩服死了。呵呵,不错啊  

醉醒翁

发表于 2012-11-21 23:00:05 | 显示全部楼层

回复一下  

xugs080

发表于 2014-11-17 14:43:10 | 显示全部楼层

想学EA,拜师,谁收了我吧

晕了我呀

发表于 2014-11-24 08:43:03 | 显示全部楼层

没有使用说明书

macc

发表于 2015-1-10 18:08:05 | 显示全部楼层

[s:145]

莫杨

发表于 2015-1-14 05:08:07 | 显示全部楼层


新手加入,期待拜读

123下一页
您需要登录后才可以回帖 登录 | 注册 微信登录

EA之家评论守则