startegy tester button buy/sell

 

Hello community,


I'd like to create an ea that contains 2 buttons: buy / sell and would like to test it through tester, would like to ask if there is any idea how to cope with the problem?


thanks in advance,

Omri

 
OmriNa181287: I'd like to create a … any idea how to cope with the problem?

You have only four choices:

  1. Search for it (CodeBase or Market). 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

 
William Roeder:

You have only four choices:

  1. Search for it (CodeBase or Market). 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

thanks,

didn't ask anybody to create an ea for me but try to get an idea how and what should I look for in order to code it myself.

Already tried to create it, did not work on tester for me.

 
OmriNa181287:

Hello community,


I'd like to create an ea that contains 2 buttons: buy / sell and would like to test it through tester, would like to ask if there is any idea how to cope with the problem?


thanks in advance,

Omri

Check the button's state in OnTick().

OnChartEvent() does not work in the tester.

 
Keith Watford:

Check the button's state in OnTick().

OnChartEvent() does not work in the tester.

Saw it in delay.

Thanks for the answer, it is appreciated!

Reason: