[警告关闭!]任何新手问题,为了不给论坛添乱。专业人士,不要走过。没有你,哪里都不能去。 - 页 865

 
Dimka-novitsek:

请告诉我 "OP BUY"--预期变量是什么意思?

here while(difference>Span)
( OrderSend (string symbol, OP_BUY, volume, double price, slippage,Bid-stoploss*Point,
Bid+takeprofit*Point, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=Red))

while(0-difference>Red)
( OrderSend (string symbol, OP_SELL, volume, double price, slippage,Ask+stoploss*Point,
Ask-takeeprofit*Point, string comment=NULL, string comment=0, int magic=0, datetime expiration=0, color arrow_color=Black) )


也许只是删除所有的变量 声明?

while(разница>Размах) 
  OrderSend (NULL,OP_BUY,0.1,Ask,3,Bid-stoploss*Point,Bid+takeprofit*Point,"",12345,0,Red);

while(0-разница>Размах)
  OrderSend (NULL,OP_SELL,0.1,Bid,3,Ask+stoploss*Point,Ask-takeprofit*Point,"",12345,0,Black);
 
usver:


也许只是删除所有的变量声明?

while(разница>Размах) 
  OrderSend (NULL,OP_BUY,0.1,Ask,3,Bid-stoploss*Point,Bid+takeprofit*Point,"",12345,0,Red);

while(0-разница>Размах)
  OrderSend (NULL,OP_SELL,0.1,Bid,3,Ask+stoploss*Point,Ask-takeprofit*Point,"",12345,0,Black);
Не NULL, а Symbol()
 
谢谢!!!!!!!我会试着把它放在代码里。
 
酷!!!似乎可以编译!!!!
 
谢谢你!!!!
 

另外,我很抱歉。



{ int C=I;
И++;
AND=C; }
时间[1]-时间[C]=K。
int difference=Close [1]-Close [C]。

再次出现错误,技术上似乎是正确的 "时间"--意外的标记C:\metatrader\experts\Time of Dimon 2.mq4 (40, 13)

'时间'--意外的标记C:\Metatrader\experts\Time of Dimon 2.mq4 (40, 28)

翻译,不明白 "时间"--意外的迹象,请帮助!!!。

 
Dimka-novitsek:

另外,我很抱歉。



{ int C=I;
И++;
AND=C; }
时间[1]-时间[C]=K。
int difference=Close[1]-Close[C]。

再次出现错误,技术上似乎是正确的 "时间"--意外的标记C:\metatrader\experts\Time of Dimon 2.mq4 (40, 13)

'时间'--意外的标记C:\Metatrader\experts\Time of Dimon 2.mq4 (40, 28)

翻译,不明白 "时间"--意外的迹象,请帮助!!!。

这很简单,功能必须从左到右进行!

这不是Time[1]-Time[C]=K。

但K=时间[1]-时间[C]。

 

你好!

你能不能建议一个OrderProfit()的反模式,但要返回所选(open)订单的损失值。

谢谢你!

 
Lim1:

你好!

你能不能建议一个OrderProfit()的反模式,但它应该返回所选(open)订单的损失值。

谢谢你!

如果OrderProfit()函数返回一个负值,这将是所选订单 的损失金额,无论它是否开放。
 
谢谢你!我真是个混蛋!!!。我很抱歉!