I´d like to have an EA that execute orders according to price at marketprice, not pending orders.
There will be 4 prices listed, 3 i will set manually and 1 is automatically.
For example, if EURUSD is going up, I will set and BS, SL1, SL2(it´s equation, i will describe below) and SS.
If price is up, cross my BS price, it will open order as market price,
price still up, cross SL1, it will open order as market price,
as soon it hits SL2, I assume price may come down.
So TP of BS will be equal to SL1 entry price
TP of SL1 will be equal to SL1 entry price
TP of SL2 will be equal to SL1 entry price
PS.: SL2 is kind a equation: SL2=(SL1-SS)+SL1 EA must set this one automatically.
Going down, SS, BL, BL, BS.... same configuration but inverted.
it needs to exist a window inside chart for me to set lotsize and also 3 prices. (i set 1 lot size for all prices). If price is null, no order.
It has to draw price lines that will trade.
If price crosses multiple times, it will trade only one time.
Lot size: it has to be set automatically considering difference between BS and SS.