Download MetaTrader 5
To add comments, please log in or register
Carry on your private correspondence in your profile. It is secure!
harrycosh
30
harrycosh 2016.09.20 21:33 
Hi All

I'm new to MQL and have a request to be able to run the below scenario:

I would like to open two trades at the same time, one to buy and one to sell at a specific date, hour, minute and second. I would be opening 10 lots, with a stop loss of 3 pips for both trades. I would then like to close the remaining open trade(s) 27 seconds after opening.

I have purposfully not set a trailing stop or a take profit level.

Hopefully I have given enough information, but let me know if you need anything else.

Thanks in advance
Harry
Keith Watford
Moderator
7909
Keith Watford 2016.09.20 21:55  
harrycosh:
Hi All

I'm new to MQL and have a request to be able to run the below scenario:

  If you have just started to learn to code in mql4, your scenario is too complicated for you.

I suggest that you start with something simpler.

Read the help files for using datetime variables

whroeder1
13617
whroeder1 2016.09.21 13:35  
harrycosh have a request to be able to run the below scenario:
You have only three choices: Search for it, 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.
/
To add comments, please log in or register