Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
Hello guys!
I want to send this orders automatically in accordance with my time to start and to close them all with time to stop.
Let me write you the trading logic I want to set, firstly inputs:
Financial per position: That will convert 5000 usd into shares always rounded by 100
Symbol: I want this EA to do this same logic for a list of symbols as well. And this trade should only occurs ONCE A DAY my time frame desired is Daily
NO STOP PROFIT OR LOSS just closing when time to stop is reached.
Time to start
Time to stop
% between limit orders
Rules :
fuzzy = 0;
if yesterday close > ema[3] fuzzy = fuzzy + 0.25
else
fuzzy = fuzzy - 0.25
if yesterday close > ema[5] fuzzy = fuzzy + 0.25
else
fuzzy = fuzzy - 0.25
if yesterday close > ema[10] fuzzy = fuzzy + 0.25
else
fuzzy = fuzzy - 0.25
if yesterday close > ema[15] fuzzy = fuzzy + 0.25
else
fuzzy = fuzzy - 0.25
if yesterday close > ema[20] fuzzy = fuzzy + 0.25
else
fuzzy = fuzzy - 0.25
if yesterday close RSI > 65 fuzzy = fuzzy + 0.25
else
fuzzy = fuzzy - 0.25
if fuzzy > 1.50
send 1 buy market order at startTime
send 3 buy limit orders at yesterday close
1) yesterday close - (atr(14)/2)
1) yesterday close - (atr(14)/1.5)
1) yesterday close - (atr(14))
if fuzzy < 1.50
send 1 short market order at startTime
send 3 sell limit orders at yesterday close
1) yesterday close + (atr(14)/2)
1) yesterday close + (atr(14)/1.5)
1) yesterday close + (atr(14))