auto trade Buy And sell at the same time

 
can someone help me to program an auto trade, for mt4

enter buy and sell at the same time, with tp as low as 10 pips,

everytime it hits the tp it will trade another buy and sell with tp of 10 pips, and so on non-stop trading. 

and with functioning inputs

TakeProfit        = 100;
Lot               = 0.1;
LotExponential    = 2;
MaxTrades         = 20;

and with clickable display

CreateDisplay

   RectLabelCreate(lbl+"Rect",XValue-3,YValue-3,XSize*1+6,YSize*3+6);

   EditCreate(lbl+"Header",XValue,YValue,XSize,YSize,"Trade name");

   ButtonCreate(lbl+"Trade",XValue,YValue+YSize,XSize,YSize,"Trade");

   ButtonCreate(lbl+"CloseTrade",XValue,YValue+YSize*2,XSize,YSize,"Close All Trade");

thank you

Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
  • www.mql5.com
Predefined Macro Substitutions - Named Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I have moved your topic to the MQL4 and Metatrader 4 section.
 

Do not double post!

I have deleted you duplicate topic (in the wrong section again!)

 
Keith Watford:

Do not double post!

I have deleted you duplicate topic (in the wrong section again!)


thank you sir, im new here, still figuring out the site.

 
masterpeejay: can someone help me to program an auto trade, for mt4
  1. Do not double post
  2. Post in the correct place: MQL4 section, (bottom of the Root page)

  3. Help you with what? You haven't stated a problem, you stated a want.
         How To Ask Questions The Smart Way. 2004
              Prune pointless queries.

    You have only four choices:

    1. Search for it. Do you expect us to do your research for you?

    2. Beg at:

    3. MT4: Learn to code it.
      MT5: Begin learning to code it.

      If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into your code.

    4. or pay (Freelance) someone to code it. Top of every page is the link Code Base.
                Hiring to write script - General - MQL5 programming forum 2019.08.21

    We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using CODE button) and state the nature of your problem.
              No free help 2017.04.21

Reason: