the robot assesses historical and real-time data to identify potential trends , key support and resistance levels, and other relevant market signals specific to GBP/USD. The Robot opens positions every day, from Monday to Friday, and all positions are secured with Take Profit, Stop Loss, Traili...
the robot assesses historical and real-time data to identify potential trends , key support and resistance levels, and other relevant market signals specific to GBP/USD. The Robot opens positions every day, from Monday to Friday, and all positions are secured with Take Profit, Stop Loss, Traili...
[in] 订单类型,可以是ENUM_ORDER_TYPE项目里ORDER_TYPE_BUY 或 ORDER_TYPE_SELL值中的一个。 symbol [in] 交易品种名称。 volume [in] 交易操作成交量。 price_open [in] 开盘价。 price_close [in] 收盘价。 profit [out] 计算利润的变量值在函数成功执行后编写进去,估计利润值依据许多因素,并在不同的...
OrderCalcMargin 381 16.2 OrderCalcProfit 382 16.3 OrderCheck 383 16.4 OrderSend 383 16.5 PositionsTotal388 16.6 PositionGetSymbol 388 16.7 PositionSelect 389 16.8 PositionGetDouble 389 16.9 PositionGetInteger 390 16.10 PositionGetString 391 16.11 OrdersTotal 392 16.12 OrderGetTicket 392 16.13 OrderSelect...
OrderCalcProfit used to calculate prices for TakeProfit and StopLoss gives wrong values Hi everyone, I've read some topics on this function, but I'm really stuck with this situation. I wrote two functions to get the takeprofit price and the stoploss price for a position that is already ...
doubleprofit=HistoryDealGetDouble(ticket,DEAL_PROFIT); //检查成交单的盈利如果盈利小于0,表示是亏损单。 if(profit>0.0) break; if(profit<0.0) losses++; } //如果历史上有亏损,则重新调整手数的计算方法。 //历史上亏损的次数除以衰减因子得到的比例来计算手数。
(指定图表子窗口)物件函数OrderCalcMargin用入金货币,计算指定订单类型所需的保证金交易函数OrderCalcProfit以入金货币计算基于传递参量的利润交易函数OrderCheck检测是否有足够资金执行所需 交易操作.交易函数OrderGetDouble返回订单要求属性(双精度型)交易函数OrderGetInteger返回订单要求属性(日期时间或者整型)交易函数OrderGet...
_PROFIT 当前利润 1297、通过这个函数可以得到头寸非常详细的内部信息。 1298、 bool PositionGetDouble( ENUM_POSITION_PROPERTY_DOUBLE property_id, //属性标识符double& double_var //这里接受属性值); 1299、获得头寸双精度值信息保存在提供的变量引用中。 1300、 long PositionGetInteger( ENUM_ _POSITION_ _PRO...
我修改的MQL5交易基本类,并附用法。1.//这是头文件MyTrade.mqh 2.//该文件保存成MyTrade.mqh,然后放在mql5\experts下面 3.//+---+ 4.//| MyTrade.mqh | 5.//| Copyright 2011, MetaQuotes Software Corp. | 6.//| www_mql5_com | 7.//| Author: sun5kong 8.//+---...
MQL5跨平台专家交易系统订单管理器(电子书版)