struct MqlTick{datetime time;// 价格更新的最近时间double bid;// 当前卖价double ask;// 当前买价double last;// 最后交易的价格(Last)ulong volume;// 当前最后价格的交易量long time_msc;// 价格最后一次更新的时间,以毫秒计算uint flags;// 报价标识double volume_
datetimetm=TimeCurrent();//--- output resultAlert("Formatted: "+(string)tm+", in seconds: "+(string)(long)tm); 由于long 和 ulong 类型变量的值范围涵盖了 datetime 型变量值的范围,所以亦可将其用于存储时间;但这种情况下,要输出格式化的时间,您需要将 long 类型转换为 datetime 类型,然后将其转换...
virtual int LongCondition(void); virtual int ShortCondition(void); virtual double Direction(void); //--- 用于侦测进入市场水平的方法 virtual bool OpenLongParams(double &price,double &sl,double &tp,datetime &expiration); virtual bool OpenShortParams(double &price,double &sl,double &tp,datetime &...
color long ulong datetime short ushort double string void 访问分类符 const private protected public virtual 存储类型 extern input static 操作符 break do return case else sizeof continue for switch default if while delete new 其他 false #define #property ...
sl,tp))printf("Long position by %s to be modified",Symbol());//"多头持仓 %s 将被修改"else...
boolCreateTimeGet(constlongchart_ID,conststring&name,datetime&value ) {datetimeres=0;if(!ObjectGetInteger(chart_ID,name,OBJPROP_CREATETIME,0,res)) {Print(LINE_NUMBER,__FUNCTION__,", 错误 = ",GetLastError(),", 名称: ",name);return(false); ...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
客户资产检测系统如果维持保证金等于使用原始保证金0849symbolmarginlong看涨行情中保证金利润率0850symbolmarginshort看跌行情中保证金利润率0851symbolmarginlimit限价订单中保证金利润率0852symbolmarginstop停止订单中保证金利润率0853symbolmarginstoplimit限制停止订单中保证金利润率0854longsymbolinfointegerstringname交易品种int...
nice!!!
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...