Need help with a script.

 

I help with script that can open multiple orders in the same currency pair to test multiple strategies, but I've never learnt mql4 before.

For example, I need to open 4 position of 0.1 lot at market order in EURUSD,.....

Could anyone help me? Thank you,

 

Start with the sample script "trade" provided with your MT4 installation.


Search this site for documentation on parameters for OrderSend, and what values to change them to.


Copy and paste line 19 to line 28 three more times in the editor and compile.

 
I tried it but I didn't succeed. By some reason, I can't even run the original script "trade" now, although I already uninstalled and installed it back.
Reason: