if Bid<OrderOpenPrice() (当前买入价)
if Ask<OrderOpenPrice() (当前卖出价)
if Ask<OrderOpenPrice() (当前卖出价)
wangjh2004:
if Bid<OrderOpenPrice() (当前买入价)
if Ask<OrderOpenPrice() (当前卖出价)
if Bid<OrderOpenPrice() (当前买入价)
if Ask<OrderOpenPrice() (当前卖出价)
More correctly will be such
if (Bid<OrderOpenPrice()) {....} (当前���入价) if (Ask<OrderOpenPrice()) {....} (当前卖出价)
See also https://docs.mql4.com/cn/trading/OrderSelect
问题解决了!多谢指教!
You're welcome!
请问在MT4中怎么表达:
如果当前价格<开仓价格,则……,(也就是说如果头寸<0,则……)。
多谢指教!