尊敬的版主Rosh先生,您好!如何在主图上标出EA的交易信号?

 

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

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

谢谢!

 

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

 
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.