Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
Robot based on RSI cross and Bid price being above or below the middle Bollinger Band.
The basics are:
Robot does not wait for candles to close in order to open/close trades. Opens one trade at a time either buy or sell. Closes on opposite signal, stops trading when X Percent profit or loss has been made, send mobile alerts, screen comments, start and end times, sets order lots sizes based on deposit amount, closes using Bollinger bands or normal SL Tp settings.
Simple robot using Bolinger Bands and RSI, I have done a detailed description bellow. I am allowing extra time for testing, but I would like the robot within a week from starting the job.
Open buy trade:
Bid Price is above middle Bollinger band
Rsi period x crosses over x value
Closes the sell trade if it's open.
Open Buy
Open sell trade:
Bid Price is bellow middle Bollinger band.
Rsi period x crosses bellow x value.
Closes the buy trade if it's open.
Open Sell
Note 1: Only 1 trade at a time either a buy or a sell is allowed by the robot.
Note 2: The robot does not wait for the candle to close it opens the trade when conditions are met.
Note 3: Closes on opposite signal and open opposite trade.
Settings:
Order Sizes:
Set order lot size 0.01 per 100 deposit
Daily profit percentage x%
Daily loss percentage x%
Max lots per order x lots
Note 4: Pause trading for the day if x percent profit or loss has been made. Will resume automatically the next start time the following day. Do Not Wait for candle close.
when x percent profit is made close trade, do NOT wait for candle close. Same for x percent loss close trade and pause trading when profit or loss target percentage is hit close trade do not wait for candle close.
If the robot makes its x percent profit or loss it pause trading and waits until the next day start time to begin again.
More Settings:
Safe exit option:
Set SL to break even after x pips into profit: x Pips
Set SL to x pips after price moves x pips [on/off]
-
Pips move into profit x pips
-
Set Stoploss to x pips
Close trade options:
Daily profit percentage: x%
Daily loss percentage: x%
Take profit pips: x Pips (on/off)
Stop Loss Pips: x Pips (on/off)
When bid price touches outer Bollinger band (on/off) (For sell lower band, for buy upper band)
Close on opposite signal. (Fixed default mode)
Note 5: Close on opposite signal is mandatory fixed mode cannot be changed even if any other option is selected if opposite signal comes it must close and open opposite trade.
Bollinger Band Settings:
Period : x
Deviation : x
Shift : 0
Apply to : close/ open etc
RSI settings:
RSI period : x
Apply to : close/open etc
Open buy when RSI cross above : x
Open sell when RSI cross bellow : x
RSI Bot timing:
Start hour 9
Start min 00
End hour 17
End min 00
Trade Friday yes / no
Note 6: Do not open any trades after end time but close as per the chosen close rule even if it's after end time.
Magic number : 1234
Comment on screen
four comment lines. Place in top left-hand corner.
Robot is waiting for start time. (this is when I attach the robot to the chart and it's out of start time)
Robot is running (during start time until end)
Robot has paused x % profit, waiting for next day. (this message until next start)
Robot has paused x % loss, waiting for next day. (This message until next start)
Today's percentage : - xx.x or + xx.x (updates with each trade)
Total pips for today : - xx.x or + xx.x (updates with each trade)
Comment settings:
Font color: Black
Font size: 18
Font type: Arial
Mobile Alerts:
Send alert when robot has made x profit and paused for the day
Send alert when robot has made x loss and paused for the day
Send alert at end day time with days profit or loss stats
"RSI Bot made $xx.xx Profit and paused"
"RSI Bot made $xx.xx Loss and paused"
Note 7: On the chart show the trade entry and close lines for each trade. Like when you drag a trade from your history to the chart it shows the entry and close.
Note 8: Need source code for the project at the project completion. So, I can edit and recompile if needed.