行情EA自建20160921
来源:互联网 发布:哪个网络验证好 编辑:程序博客网 时间:2024/04/30 08:19
//+------------------------------------------------------------------+
//|
//|
//|
//+------------------------------------------------------------------+
#property copyright "Copyright 2016, MetaQuotes SoftwareCorp."
#propertylink
#property version
#property strict
//+------------------------------------------------------------------+
//| Expert initializationfunction
//+------------------------------------------------------------------+
extern datetime t_info=D'2016.09.21 16:59:00';
extern double lots=0.01;
extern string aaa="-------下单时距下单时订单价格距市价点数------";
extern int vbpoint=50;
extern int vspoint=50;
//sell_stop
extern int vsl=50;
extern int vtp=1000;
extern string bbb="-----追踪止损------";
extern bool istrailsl=true;
extern int trailsl=100;
int magicnum_buy=9123;
int magicnum_sell=9321;
int glbOrderType=NULL;
int glbOrderTicket=NULL;
string glbOrderSymbol=NULL;
double glbOrderOpenPrice=NULL;
double glbOrderStopLoss=NULL;
double glbOrderLots=NULL;
double glbOrderTp=NULL;
double glbOrderP=NULL;
double glbOrderPoint=NULL;
double p_sl=0;
double glbOrderDigits=NULL;
double glbMinlot=NULL;
int OnInit()
//---
//---
//+------------------------------------------------------------------+
//| Expert deinitializationfunction
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
//---
//+------------------------------------------------------------------+
//| Expert tickfunction
//+------------------------------------------------------------------+
void OnTick()
//---
//
//
if(OrderFind(magicnum_buy)==false&&OrderFind(magicnum_buy)==false&& TimeLocal()==t_info)
//+------------------------------------------------------------------+
//=========================order find
bool OrderFind(int Magic)
//
- 行情EA自建20160921
- EA
- Ea
- EA
- EA
- 二八行情
- 行情软件
- 行情术语
- 行情服务器
- 莱特币行情
- 三行情
- EA注册码
- EA方法论
- EA入门
- ea状态图
- EA范例
- EA学习
- 文件系统EA
- OM_2WAY_v3.6a
- FxPro针对MT4推出全新EA策略工具——…
- Bar上平仓后满足开仓条件不再开仓
- 单纯缴纳社会保险关系不意味…
- 网络协议栈设计(八)---网络层ARP协议代码实现(发送)
- 行情EA自建20160921
- 省政府令〔2001〕第9号河北省失业…
- 【知识整理】Spring整合Hibernate详解
- How to open an app from an unidentified developer
- 2011人保部令第13号实施《中华人民…
- 【转载】qsort函数、sort函数 (精心整理篇)
- java.lang.OutOfMemoryError: PermGen space
- checkbox属性checked="checked"已有,但却不显示打勾的解决办法
- CCI指标详解及实战用法