Download MetaTrader 5

expert advisor - miscellaneous questions - page 42

To add comments, please log in or register
Max Enrik
998
Max Enrik  
Marco vd Heijden:

Only for the chart symbol.

These are all related to the chart symbol.

Use MarketInfo when you are working with symbols other then the chart symbol.


OK!

Sounds good! Because I only open orders same as chart symbols.

Keith Watford
Moderator
10638
Keith Watford  
Ticket = OrderSend( _Symbol, OP_BUY, lotsize, Bid, slippage, sl, tp, "trade panel", magic, 0, clrRed );

You don't open a buy with Bid

Max Enrik
998
Max Enrik  
Keith Watford:
Ticket = OrderSend( _Symbol, OP_BUY, lotsize, Bid, slippage, sl, tp, "trade panel", magic, 0, clrRed );

You don't open a buy with Bid

Yes you are right! I changed it.

Max Enrik
998
Max Enrik  
#Multiple Orders Close - Closed for now
Max Enrik
998
Max Enrik  

#Expert Advisor Name - Open

Q:  Is it possible to change of EA name by the code, please?

Thanks in advance.

Marco vd Heijden
Moderator
5298
Marco vd Heijden  
Only the comment in OrderSend()
Max Enrik
998
Max Enrik  
Marco vd Heijden:
Only the comment in OrderSend()

I meant on Chart. Is not possible, please?

ea name

Marco vd Heijden
Moderator
5298
Marco vd Heijden  
I dont think so.
Max Enrik
998
Max Enrik  
Marco vd Heijden:
I dont think so.

OK! Thanks!

#Expert Advisor Name - Closed

Max Enrik
998
Max Enrik  

#Margin Call & Stop Out Level - Open

I try to get Margin Call & Stop Out levels with below code but it isn't give me right value.

Q:  How can I write code for Margin Call & Stop Out levels ( for Currency and Percentage ), please?

Thanks in advance.

( I still research and trying something for them )

1...353637383940414243
To add comments, please log in or register