I have created an indicator for risk and reward management, but that’s an indicator so can’t open the order, at this post, I will introduce a cBot version and you can open the order base on the stop-loss, take-profit and risk amount setup.
We can take a look the cBot screen capture:
![](https://www.coderblog.in/wp-content/uploads/2021/01/image-15-1024x592.png)
It’s almost the same as the indicator but with a few more features!
In this cBot, you can create a new order, add the comments and set whether want to use the trailing stop. I will describe the following functions and usage in detail:
![](https://www.coderblog.in/wp-content/uploads/2021/01/image-16.png)
Base Buttons:
[su_label type=”warning”]Buy[/su_label] This is the buy order, so the stop-loss should be less than the entry price, and the take-profit greater than the entry price.
[su_label type=”warning”]Sell[/su_label] This is the sell order, so the stop-loss should be greater than the entry price, and the take profit less than the entry price. When you click the “Sell” button, the cBot will auto calculate the SL & TP and change them
[su_label type=”warning”]Buy Stop[/su_label] This is the buy stop order, that’s mean you can set an entry price above current price and wait for the market to reach it. It will auto open the buy order when the market reaches it. It’s useful when you want to open orders when the market breakout.
[su_label type=”warning”]Sell Stop[/su_label] This is the sell stop order, it’s the same as a buy stop order, but just wait for the market to fall down to your setup price and open a sell order.
[su_label type=”default”]Hide[/su_label] This can hide the panel, when you want to see more chart information and you can hide the panel.
[su_label type=”success”]Create Order[/su_label] Create the order base the above setting values
Risk and reward values:
You can change all of these values just edit the input. When you change the values, the edit button(Pencil icon) will be enabled, after you changed you need to click the button to update the values. The cBot will auto calculate other related values base on your update:
![](https://www.coderblog.in/wp-content/uploads/2021/01/image-17.png)
[su_label type=”info”]Volumes[/su_label] Setup how many volumes do you want to take in this order.
[su_label type=”info”]Stop Loss[/su_label] Setup the stop-loss price, it will auto-update the Risk/Reward Rate and Volumes (base on risk amount), you also can drag the stop-loss line(default is green) to update it.
[su_label type=”info”]Take Profit[/su_label] Setup the take-profit price, it will auto-update the Risk/Reward Rate, you also can drag the take-profit line(default is red) to update it.
[su_label type=”info”]Risk/Reward Rate[/su_label] Setup the risk and reward rate, for example, set the value to 2, which means the take-profit pips will be double with stop-loss pips. It will auto-update the Take Profit value
[su_label type=”info”]Risk Amount[/su_label] Setup the amount you want to take in this order, which means the money you will lose if this trade is failed, this is a very important part to control your money in your trading. This is a fixed amount value by default, if you tick “Use Percentage“, it will calculate the percentage base on your account balance value.
[su_label type=”info”]Has Trailing Stop[/su_label] Setup whether to use the trailing stop in this order. It will use the cTrader default trailing stop feature.
[su_label type=”info”]Comments[/su_label] Setup the comments for this order. It will auto mark the current time frame and risk/reward rate value in comments if you didn’t input anything.
The Parameters
![](https://www.coderblog.in/wp-content/uploads/2021/01/image-18.png)
[su_label type=”info”]Panel alignment[/su_label] Setup the default position for cBot panel. You also can setup the shortcut key for move the panel
[su_label type=”info”]Style Settings[/su_label] Setup the SL,TP and entry price line’s color
[su_label type=”info”]RS Management[/su_label] Setup the default values when startup the cBot:
In the end, this cBot is not free, I just only charge a small fee so that I can create more better indicator or cBot in the future. So, if you like it, please purchase it, thanks for your support 😄