Help EA Code

 

Hi mates,


can help me with my code attached?

It is a scalp with martingale. i need that EA buy and sell at same time, in other words, if he enter long and have a signal to short, he execute together. i have problems with magic number and trade management in mql code yet.. i am beginner in codes.


kind regards and tks for all.


philipe
Files:
scalper.mq4  12 kb
 
felipeds5:

It is a scalp with martingale. i need that EA buy and sell at same time, in other words, if he enter long and have a signal to short, he execute together. i have problems with magic number and trade management in mql code yet.. i am beginner in codes.

  1. Why would you want to do that? If you have a signal to short, then by definition you do not have a signal to go long. Why open a guaranteed loser (one of the two definitely will be.)
  2. Since there are no slaves here, there are only two choices: learn to code or pay someone. We're not going to code it FOR you. We are willing to HELP you.
Reason: