Simple MT5 EA - Please Help Coding Noob

To add comments, please log in or register
JKith
7
JKith  

Hello All,

I'm a complete coding noob. But i want to create a simple EA that does the following.


1: Closes all current pending or open orders.

2: Opens two pending orders at candle close (current open chart TimeFrame) X pips away from candle closing price.


Variables:

X: Pips away from close price of candle to place buy and sell pending orders. Buy is (close Price + X) and Sell is (close Price - X).

SL: Pips stop loss will be on pending orders

TP: Pips stop loss will be on pending orders.

Lot size: Trade lot size


Could anyone help me?

Marco vd Heijden
Moderator
8647
Marco vd Heijden  
You can talk to some helpers over here: https://www.mql5.com/en/job
Trading applications for MetaTrader 5 to order
Trading applications for MetaTrader 5 to order
  • www.mql5.com
1. The copier must copy transactions on multiple platforms (master and unspecified number of copying) 2. After uploading to the platform, it copies only new deals or those that are no more than n-pips of difference from the original as well as SL and TP (including deferred cards) 3. The ability to set a fixed lot or% user-defined (for example...
To add comments, please log in or register