Hi, I would like to create my EA based on hedge trading.
These are the parameters I would like in my EA:
-I would like the options Symbol1 and Symbol2 (where to insert the two currency pairs to exchange)
- the Lotsize Symbol1 and Lotsize Symbol2 options (where to enter the size of the two pairs to be exchanged)
- BUY1SELL2 option (means that if it is active, it will open a purchase order on Symbol1 and open a sales order on Symbol2 SIMULTANEOUSLY)
Option -SELL1BUY2 (means that if it is active, a sales order will open on Symbol1 and a purchase order will open on Symbol2 SIMULTANEOUS)
-I would like the EA to make only 2 orders (1 for each symbol) but also to open other transactions with other currency pairs, if requested
- the take profit option, I would like the take-profit to be a percentage (for example, if it is 2%, it means that if you activate the BUY1SELL2 option, the formula is the open price order of the symbol1 divided by the order of open price of the symbol2 multiplied by 2%)
if instead the SELL1BUY2 option is active, the formula is the open price order of the symbol1 divided by the open price order of the symbol2 divided by 2%
- the stop loss option, I would like the stop loss to be a percentage (for example, if 2% means that if the BUY1SELL option is active, the formula is the open price order of the symbol1 divided by the order of symbol 2 opening price divided by 2%)
if instead the SELL1BUY2 option is active, the formula is the open price order of the symbol1 divided by the open price order of the symbol2 multiplied by 2%
I would like the take profit and stop loss options to also include 0.01% and not just whole numbers
Also I would like to add an Email Alert and a Push notification on mobile phone, if the EA has reached the Take Profit or the Stop Loss
I hope it was clear in the description