help me

 

Ciao a tutti ho creato il mio primo EA partendo da un indicatore molto valido ma non apre posizioni, mi potete aiutare?? grazie

Hi boy, i have created my first EX, copy the strategy of a good indicator, but the EA doesn't open ordes, can you help me???

Files:
Robot_v5.mq4  28 kb
 

A few things....

You didn't write the code for the EA.

//#property copyright "fxeabuilder.com"
//#property link "www.fxeabuilder.com"


After examining the code you provided however, I can tell you that the code base as supplied is a mess and extremely horribly written.

You would be far better off learning to properly code, or simply hire a professional to do it for you.


Additional resources which you might find helpful would be:


Documentation

https://docs.mql4.com

Book

https://book.mql4.com

MQL4 Reference
MQL4 Reference
  • docs.mql4.com
MQL4 Reference
 
Jack Thomas:

A few things....

You didn't write the code for the EA.


After examining the code you provided however, I can tell you that the code base as supplied is a mess and extremely horribly written.

You would be far better off learning to properly code, or simply hire a professional to do it for you.


Additional resources which you might find helpful would be:


Documentation

https://docs.mql4.com

Book

https://book.mql4.com

Hi Jack thank you for the reply

i have used a tutorial that you can find into the website fxeabuilder.com.

I know my limit, i'm studing the mql4 language, and thanks you for the books...

now i tell you, is it possible to run it? 

whats the code wrong?


thanks a lot

 
marco.nunziatin:

Hi Jack thank you for the reply

i have used a tutorial that you can find into the website fxeabuilder.com.

I know my limit, i'm studing the mql4 language, and thanks you for the books...

now i tell you, is it possible to run it? 

whats the code wrong?


thanks a lot


marco, please do not write your reply inside the quoted text box.

I have moved it outside of the box for you.

 
  1. Don't add text inside quoted text, put it outside. MQL4 Forum editor problem - MQL4 forum
    • We hate EA builder
    • You couldn't be bothered to learn mql4, therefor there is no common language for us to communicate.
    • There are only two choices: learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem, but we are not going to debug your hundreds lines of code.
    • EA builder makes bad code counting up while closing multiple orders.
    • EA builder makes bad code Bars is unreliable (max bars on chart) volume is unreliable (miss ticks) Always use time. New candle - MQL4 forum
    • EA builder makes bad code Not adjusting for 4/5 digit brokers, TP/SL and slippage:
      double   pip          = StringFind(_Symbol,"JPY") < 0 ? 0.01 : 0.0001;
      int      pipDigits    = (int)MathLog10(pip/_Point);
      int      pipsToPoints = int(pip / _Point);
      int      slippage     = 3 * pipsToPoints;
    • EA builder makes bad code not adjusting for ECN brokers.
    • EA builder makes bad code not checking return codes.
    • EATree uses objects on chart to save values - not persistent storage (files or GV+Flush.) No recovery (crash/reboot.)