【问题标题】:When my EA written with mql4 places an order using OrderSend(), the order is placed, but does not show on the chart当我用 mql4 编写的 EA 使用 OrderSend() 下订单时,下订单,但未显示在图表上
【发布时间】:2022-10-01 08:03:22
【问题描述】:

我在 mql4 中编写了一个 EA。它使用 OrderSend() 下单很好,但是显示开盘价、SL 和 TP 的水平线不会像我手动下单时那样显示在图表上。不知道我需要做什么才能使它在图表上显示交易。

这是我用来下订单的代码:

OrderNumber = OrderSend(order_symbol, order_type, lots, ask, 0, sl, tp, comment, magic_number, 0, clrBlue);

    标签: mql4


    【解决方案1】:

    我尝试在另一台 PC 上加载我的 EA,交易线出现了。因此,在这不起作用的 PC 上,我卸载了 MT4 并重新安装,现在可以工作了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-04-05
      • 1970-01-01
      • 2015-09-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多