What's the code to open a multiorder when I receive a new signal?

 

Hi to all,

this is my first topic and post and I'm here because I'm learning.

I have a question for the community hoping that you can help me. I've created an EA that when receive signals, should open some position.

For example, if I receive a signal of BUY on EUR/USD, my EA should open 3 orders BUY on EUR/USD. I don't know what's the better way to do this.

Can you help me? Thanks a lot for this great support forum!

Regards,



Mauro

 

Have you invested some time in Programming in Algorithmic Language MQL4 - Introductory Course

If you have taken time to code an EA then you must know something about computers...


ALL your "what's the better way to do this" questions will be answered because what you ask is basics of EA programming = is in in The Mql4 Book


Many code examples on site. Surely all will have Trading Operations calls, yes?



Enjoy the trip!

Reason: