작업 종료됨
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
명시
dear coder i need a ea that -
tp
sl
max open order
pip distance
amount of pip distance (how often)
works on all timeframes
function of one order:
- ea starts with a - buy - order at candleclosing (with tp sl set)! -> if price moves "X pip" (pip distance*) against me from opening point (not spread considered, only opening point),
close this actual order, and open a new order in opposite direction (with tp and stopp loss set), if price moves again against me (pip distance) close order and open new order in opposite direction do this
till amount of pip distance is reached ( for example open opposite side if pip distance reached 15 times) then wait for new singnal (candleclosing and open new function from begining)>
- this function above is for one order! i want him to be able to open maximum amount of orders! so to speak, for example i open 3 orders and all 3 use same function for itself!
One order is finished if tp or sl is reached! if 3 orders are opened at same time for example wait till all 3 finish and then restart 3 order for 3 candles for example
never open more then maximum open order and wait till all 3 finish to open new signal if maximim open order is 3
pipp distance should be able to be set less then 1 !
for example 0.5 pipps
thats it!
examples:
tp:20
sl:20
pip distance 0.5
amount of pip distance 15 times
EUR/USD
1.20000
-buy @candleclosing
price reaches immidiately tp! close order open new
example 2:
tp:20
sl:20
pip distance 0.5
amount of pip distance 15 times
eur/usd
1.20000
buy at candleclosing
price moves to 1.19995
close buy order
open sell order with tp and sl
price moves to 1.20000
close sell order open buy order with tp and sl
do this maximum (the amount that is set)
till tp is reached or amount or sl;)
every candle opening with maximum open order does this function above for itself! not interactiing with different order! if max amount is 3 ! open 3 order and wait till all 3 finished to open new order!
thats it :)
if any question open please ask
please make sure every order will be opened even if its fast movements of price :)