ENUM_ORDER_TYPE_TIME type_time; // 订单执行时间 datetime expiration; // 订单到期时间(针对 ORDER_TIME_SPECIFIED 类型的订单) string comment; // 订单注释 }; 任何声明为MqlTradeRequest类型的变量可用于为我们的交易操作发送订单。在这里,我们将mrequest声明为MqlTradeRequest类型。 MqlTradeResult 任何交易操...
ENUM_ORDER_PROPERTY_DOUBLE property_id, //属性标识符double& double_var //这里接受属性值); 1338、获得订单的双精度属性信息保存在变量中。 1339、 long OrderGetInteger( ENUM_ORDER_PROPERTY_INTEGER property_id ); _id //属性标识符 1340、获得订单的整数信息。 1341、 ORDER_TIME_SETUP 订单设置时间 134...
全日历minTime ajax 、 我试图通过viewRender上的ajax请求在完整日历中根据数据库日程更改viewRender,但它会进入循环。我的calendarOptions的一部分: header: { center::00' ); });ajax响应为' 浏览1提问于2016-03-17得票数 0 回答已采纳 1回答 如何解决设计错误的OrderSendAsync() -function [mql5] 这就...
OrderSend(); SendFTP(); Sleep(); ExpertRemove(); MessageBox(). 专为指标设计的所有函数在EA交易和脚本中也被禁止: SetIndexBuffer(); IndicatorSetDouble(); IndicatorSetInteger(); IndicatorSetString(); PlotIndexSetDouble(); PlotIndexSetInteger(); ...
MQL5 中文手册 老易 yiwence@ 2010/12/11 目录 1 语言基础14 1.1 语法14 1.1.1 注释15 1.1.2 标识符15 1.1.3 关键词15 1.2 数据类型16 1.2.1 整型数据17 1.2.2 字符型,短整型,整型和长整型18 1.2.3 字符常量20 1.2.4 日期时间型23 1.2.5 颜色型24 1.2.6 布尔类型25 1.2.7 枚举类型25 1.2....
intOnCalculate(constint_rates_total,constint_prev_calculated,constdatetime& Time[],constdouble& Open[],constdouble& High[],constdouble& Low[],constdouble& Close[],constlong& TickVolume[],constlong& Volume[],constint& Spread[]){intstart, i;...
const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const int &spread[]) { //---assign the signal value to the variable SignalMA = TradeSignal_01(); ...
39、字符串到日期时间型函数转换StringToUpper通过存储单位把所有交易品种中已选的字符串转为资本字符串函数StringTrimLeft在字符串的左边切断线路供应字符,空间和标号字符串函数StringTrimRight在字符串的右边切断线路供应字符,空间和标号字符串函数StructToTimeMqlDate Time结构类型变量转化到日期时间值日期和时间Symbol返回当...
For OrderOpenPrice i use (i'm not sure if it is correct, i'haven't still tested it) OrderGetDouble(ORDER_PRICE_OPEN) but for OrderClosePrice i have no idea how to use PriceClose() methods and/or Trade classes to look for (same thing for OrderCloseTime) this is general for all cl...
//--- 追踪止损初始化方法voidInit(stringsymbol,ENUM_TIMEFRAMEStimeframe,booleachtick = true,boolindicator = false,boolbutton = false,intbutton_x =5,intbutton_y =15,colorbgcolor =Silver,colortxtcolor =Blue) {//--- 设置参数m_symbol = symbol;// 交易品种m_timeframe = timeframe;// 时间框架...