下载MetaTrader 5
要添加评论,请登录注册
让您的闲置电脑做些有用的事。加入MQL5 Cloud Network!
gget
410
gget 2007.05.10 17:44 

尊敬的版主Rosh先生,您好!

如何在主图上标出EA的交易信号?

谢谢!

okwh
1629
okwh 2007.05.11 05:28  

查帮助中ObjectCreate(..... 函数及相关的所有Object函数

Rashid Umarov
管理员
6602
Rashid Umarov 2007.05.14 10:39  
And EA may to mark trade operations on charts by colored arrows. See https://docs.mql4.com/cn/trading/OrderSend

Parameters:
symbol - Symbol for trading.
cmd - Operation type. It can be any of the Trade operation enumeration.
volume - Number of lots.
price - Preferred price of the trade.
slippage - Maximum price slippage for buy or sell orders.
stoploss - Stop loss level.
takeprofit - Take profit level.
comment - Order comment text. Last part of the comment may be changed by server.
magic - Order magic number. May be used as user defined identifier.
expiration - Order expiration time (for pending orders only).
arrow_color - Color of the opening arrow on the chart. If parameter is missing or has CLR_NONE value opening arrow is not drawn on the chart.
/
要添加评论,请登录注册