请教 OrderProfit()的区别。。。
看到 OrderProfit有2个功能:double OrderProfit()对于选择定单返回净盈利值 (除掉期和佣金外)。对于开仓位当前不真实盈利。对于平仓为固定盈利。
对于当前选择定单返回盈利。
注解:定单必须用OrderSelect()函数提前选定。
void OrderPrint()按照以下形式打印选择定单信息:
定单编号; 买入时间; 交易业务; 手数总数; 开盘价格; 止损; 赢利; 平仓时间; 收盘价格; 佣金; 掉期; 盈利; 注释; 指定编码; 挂单有效日期
定单必须用OrderSelect()函数提前选定。
都必须要选的订单。
我的源码:<div class=\"blockcode\"><div id=\"code_c6l\"><ol>for(int i=OrdersHistoryTotal()-1;i>0;i--){
if(OrderSelect(i, SELECT_BY_POS, MODE_HISTORY)==true){
if (OrderPrint() 加油啊!!!!顶哦!!!!! 帮顶 既然来了,就留个脚印 挺 疯狂的这个EA 找版主 看看,看看。谢谢。你要发,我也要发。 围观中~~~ 看看吧,谢谢分享 路过。。看下先。
页:
[1]
2