Download MetaTrader 5

Need some simple scripts of buy & sell !

To add comments, please log in or register
johnsun888
805
johnsun888  

Hello All:

I am a beginner. I need some simple mql4 codes of buy & sell!

1. Buy: When current market price is lower than last close price,their absolute value of the difference between the last close price and the current market price is 6, then open a buy ticket.

2. Sell: When current market price is higher than last close price,their absolute value of the difference between the last close price and the current market price is 6, then open a sell ticket.

Thanks & Best Regards!

Lin Xie
98
Lin Xie  

I often heard that profitable strategies don't have to be very sophisticated. But this is too simple! Do you want such a mql4 script for learning purpose? If so, take a look at the doucmentation and the book. You can also look at examples (customized indicators, scripts) that come with mt4. HTH.

Edward Moniaga Mo
375
Edward Moniaga Mo  

If I am not mistaken, perhaps what you are looking for is Gap Trading . I believe there is a lot of free expert or code out there.  I have this one but I do not know whether it will be suitable for your need. 

Files:
To add comments, please log in or register