Closing a trader at close of the corrente bar

 
Good morning,
I'm coding an Ea to open trades on 1day or 4h chart.
I'd like it close the trades when the daily or 4h candle close.

There's someone that can help me with the code?


Thanks a lot
 
Claudio Lasso:
Good morning,
I'm coding an Ea to open trades on 1day or 4h chart.
I'd like it close the trades when the daily or 4h candle close.

There's someone that can help me with the code?


Thanks a lot

no code no help i guess.....start by showing your code and maybe some one will help ;) or post as job in Freelance and hire some one to do the work!

 
Kenneth Parling:

no code no help i guess.....start by showing your code and maybe some one will help ;) or post as job in Freelance and hire some one to do the work!

Hi kenneth the problem is that I haven't code for it..I'm now opening manually the code and before realizing an EA complete I like to test with this little snippet of code to close trade as I said on the closing candle

 
Claudio Lasso: There's someone that can help me with the code?
Help you with what? You haven't stated a problem, you stated a want. You have only four choices:
  1. Search for it.
  2. Beg at
  3. MT4: Learn to code it.
    MT5: Learn to code. 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 yours.
  4. or pay (Freelance) someone to code it.
              Hiring to write script - General - MQL5 programming forum
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
          urgent help.
Reason: