Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
Hi ,
I need a Simple EA which will work with RSI. Trade logic is like this. For sell order: RSI should be above a level first (70 on this screen shot) then RSI should cross second level from above to below ( 60 on this screen shot) and at that point EA will create a Sell order. For Buy order it's opposite, RSI should be below a level first (30 on this screen shot) then when it cross a certain level from below to above(40 on this screen shot) it should create a BUY order.
SELL BUY
On the second part If first trade closes by stoploss another which means a losing trade. Then EA will create another market order immediatly but to the opposite side. If losing trade was a SELL market order so it will create a BUY market Order. If also that second Market order Which was a Buy order closes by stoploss then 3.Market order will be SELL order. It will continue like this until finding the winning trade. (Closing by limit) Then it will start to work again from the beginning.
Which means every time there will be only 1 open position.
Example: If EA started with SELL Market order sequence will be SELL-BUY-SELL-BUY-SELL
If EA started with BUY market order sequence will be BUY-SELL-BUY-SELL-BUY
EA can create 5 consecutive market order until finding the winning trade ıf it's consecutive 5 losing trades EA should stop trading. And Starts from the begging.
Also I need a time constraint which EA will work between that time period. At stop time EA stop creating market orders and at Close Open order time, EA will close open order if there is and will start to trade from the beggining next day on start time
I need this parameters on settings page of the EA :
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
EA time to start working:
EA time to stop working:
EA Time close open order ıf there is:
RSI Settings period:
RSI Price (closed,open,high,low and so on):
RSI first level to Sell : ( Rsı should be be above this level first)
RSI Second level to Sell : (RSI should cross from above to below this level where EA will create a SELL market order)
RSI first level to Buy: (Rsi should be below this level first)
RSI second level to Buy: (Rsi should cross from below to above this level where EA will create a BUY market order)
1.Market order lot size:
1. Market order limit:
1. Market order stoploss:
2. Market order Lot size:
2. Market order Limit:
2. Market order Stoploss:
3.Market Order Lot size:
3.Market Order Limit:
3. Market Order Stoploss:
4. Market Order Lot size:
4.Market Order Limit:
4. Market Order Stoploss:
5. Market Order Lot size:
5. Market Order Limit:
5. Market Order Stoploss: