Current Path : /www/sites/www.coderblog.in/index/
Url:

NameSizeOptions
App_DataDIRnone
backupDIRnone
cgi-binDIRnone
cssDIRnone
imgDIRnone
metaDIRnone
wp-adminDIRnone
wp-contentDIRnone
wp-includesDIRnone
.htaccess3.35 KBDEL
.htaccess.bk1.84 KBDEL
404.html0.13 KBDEL
ads.txt1.07 KBDEL
favicon.ico2.19 KBDEL
index.php0.40 KBDEL
license.txt19.44 KBDEL
php.ini0.58 KBDEL
readme.html7.25 KBDEL
service.php0.00 KBDEL
web.config2.87 KBDEL
wp-activate.php7.21 KBDEL
wp-blog-header.php1.21 KBDEL
wp-comments-post.php2.27 KBDEL
wp-config-sample.php3.26 KBDEL
wp-config.php2.98 KBDEL
wp-cron.php5.49 KBDEL
wp-links-opml.php2.44 KBDEL
wp-load.php3.84 KBDEL
wp-login.php50.21 KBDEL
wp-mail.php8.52 KBDEL
wp-settings.php29.38 KBDEL
wp-signup.php33.71 KBDEL
wp-trackback.php4.98 KBDEL
xmlrpc.php3.13 KBDEL
cBot – Coder Blog https://www.coderblog.in Join the coding revolution! Learn, share, and grow together! Sat, 22 Nov 2025 14:17:38 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.1 How to use the cTrader Risk & Reward Management cBot https://www.coderblog.in/2023/07/how-to-use-the-ctrader-risk-reward-management-cbot/ https://www.coderblog.in/2023/07/how-to-use-the-ctrader-risk-reward-management-cbot/#comments Sun, 16 Jul 2023 15:42:27 +0000 https://www.coderblog.in/?p=780 1. Introduction If you are a .Net programmer and also interested in foreign exchange investment, I will recommend

<p>The post How to use the cTrader Risk & Reward Management cBot first appeared on Coder Blog.</p>

]]>
1. Introduction

If you are a .Net programmer and also interested in foreign exchange investment, I will recommend you to try the cTrader!

cTrader is a popular trading platform used by traders around the world to access the foreign exchange (Forex) market and other financial markets. It was developed by Spotware Systems and offers a range of advanced features and tools for traders of all levels, including beginners and experienced professionals.

One of the key features of cTrader is its intuitive and user-friendly interface, which makes it easy for traders to navigate and access the various trading tools and resources. The platform also offers a range of advanced charting and technical analysis tools, which enable traders to analyze market trends and make informed trading decisions.

The most important that cTrader made by C#, so that’s friendly for c# developer, you can develop your own strategy for automatic trading. I created a cBot for risk and reward management before, and it already updated to version 3.1 these days, so I want to make a more details introduction in this post! This cBot can help you to do the well risk/reward when you create a trading order, but this is not a freeware, and your support will let me to do more better 🙂

But you can free for download and try it as below, there are 30 times for free to use it:

CoderBlog-RS-Management-3.1.algo (5264 downloads )

2. How to Use

2.1. Register Screen

When you use first time, you will get the below popup for show you some information:

Code: This is your machine code, if you want to purchase it, you can send this code for me and I will send you the register key
Key: Input the register key

And you will see how many times you can continue to try, you can click the “CONTINUE TO TRAIL” button for using the try version.

PURCHASE button: This will redirect to the link for purchasing the cBot.
REGISTER button: After purchased and send me your machine code, I will send you the register key, and just click this button after input the key.
COPY THE CODE button: Copy the machine code and send to me 🙂
CLOSE button: Close the register screen and do nothing.

2.2. Setup

There are many buttons and functions with the cBot, let me show you how to use it, please refer the below screen:

Hide button: You can hide the panel when you want to more spaces for trading

  1. Support Order Type
    It’s support 6 order types as below
    Buy : Create the normal buy order
    Sell: Create the normal sell order
    Buy Stop: Create the buy stop order
    Sell Stop: Create the sell stop order
    Buy Limit: Create the buy limit order
    Sell Limit: Create the sell limit order

  2. Risk & Reward Settings
    Expiry(UTC): The expiry time for the stop & limit order
    Volumes: The volumes need to be create in the order
    Stop Loss: The stop loss value of prices
    Take Profit: The take profit value of prices
    Risk/Reward Rate: This is the risk/reward rate. For example, if set to 2, that’s mean the take profit value will be double with stop loss, and the risk reward rate will be 1:2
    Risk Amount: How many amount whould you expected to be lossed. For example, if set to 100, that’s mean you will loss $100 if hit the stop loss value
    Use Percentage: If check this then will be calculate the risk amount base on the balance’s percentage
    Has Trailing Stop: It will use the cTrader’s trailing stop function
    Comments: Add the comments for this order

  3. Auto Take Profit
    Click the “Auto Take Profit” button will goto another screen for setup auto take profit, this function will help to auto take profit base on your settings:

There are two important conditions you need to set before use this function:
1. You need to open and keep running the cTrader and this cBot
2. You need to set the take profit value when create this order

2.3. Setup the values

It’s support 3 take profit cases, and there are two input values in each case:
Take Profit x (1-3): How many profit should be take in this case. If you set the value with percentage (end with ‘%’) then will be base on percentage to calculate the take profit value, otherwise (no ‘%’ in the end) will take profit with this value directly (this is the volumes value)
when: The condition’s value for taking profit, if hit this condition’s value then will be process take profit

2.3.1. Take Profit Conditions

There are 3 conditions for set the auto take profit:
Percent of Total TP: It will take profit base on totale profit’s percentage. For example:
Take Profit 1 case:
1). Set the Take Profit 1 to 50%
2). Set the when value to 60
Result: When the profit increases to 60% of the target profit, it will auto take 50% profit

Price: It will take profit base on the price. For example:
Take Profit 2 case:
1. Set the Take Profit 2 to 2000 (no percentage so that’s the volumes value)
2. Set the when value to 1.12288
Result: When the price hit to 1.12288 then will auto take 2000 volumes profit

Pips: It will take profit base on the Pips value. For example:
Take Profit 3 case:
1. Set the Take Profit 3 to 100%
2. Set the when value to 100
Result: This is the 3 times to take profit, so we want to take all of the remain profit, so set the take profit value to 100%, if the profit pips hit 100, then will take all of the profit and close the order.

2.3.2. Break Even

You also can set the break even in this case. For example:
1. Set the Break Even + to 10
2. Set the when value to 50
3. Check the Pips checkbox
Result: If the profit increases to 50 pips, then set the stop loss value base on your entry price and plus more then 10 pips

2.4. Using

Let’s take a look the screen, you will find there are three line when you run the cBot

2.4.1 Setup Risk/Reward

  1. Update with SL/TP line
    As you can see the label in the line, you just need to drag the SL/TP line what you want, the cBot will auto calculate the other values.

  2. Update values by manual
    When you update any of the values, the pencil icon will be enable, after modified the value, don’t forget click the pencil icon for confirm and update the values, after that, the cBot will auto calculate all of other values

That’s easy to use, right? 🙂

  1. Auto Take Profit
    After you create an order with this cBot, it will auto set the label as below

and you will find it will be auto set the the auto take profit panel

You just need to make sure the label of order for take profit value is same with the order’s label that you want to process, so you can set any of other order’s label for process auto take profit if there are multiple orders, after that, you can click Start Take Profit button and that’s ok! :smiley:

3. Promotion

There is a promotion as below link now, only $30 you can get this cBot :yum:

Get the promotion version

That’s fine, please let me know if you still have any questions :sunglasses:

Loading

<p>The post How to use the cTrader Risk & Reward Management cBot first appeared on Coder Blog.</p>

]]>
https://www.coderblog.in/2023/07/how-to-use-the-ctrader-risk-reward-management-cbot/feed/ 16
New version 3.0 for cTrader Risk/Reward Management cBot https://www.coderblog.in/2022/05/new-version-3-0-for-ctrader-risk-reward-management-cbot/ https://www.coderblog.in/2022/05/new-version-3-0-for-ctrader-risk-reward-management-cbot/#comments Mon, 23 May 2022 13:29:11 +0000 https://www.coderblog.in/?p=690 The new version 3.0 has been released! There are some new features as below 1.Show the label for

<p>The post New version 3.0 for cTrader Risk/Reward Management cBot first appeared on Coder Blog.</p>

]]>
The new version 3.0 has been released!

There are some new features as below😀

1.Show the label for stop loss and take profit line

2.Support set the auto take profit for pending orders. That’s mean you can set the auto TP for stop and limit orders, it will auto get the stop/limit order label:

3.Support to use the Pips for auto take profit

4.Support to use the Pips for break even, and also can set how many pips do you want to do break even

5.Show the auto TP1,2,3 target line in the chart, it will not show all TP lines in same time, just can show one by one

for example:

show the TP1 first

after TP1 has been hit, then will show the TP2 line

and then show the PT3 line

when all TPs are done, it will remove the lines and you will find there are 3 TP orders in the history

And you can also set the difference color for each TP/BE line as below

Download

Loading

<p>The post New version 3.0 for cTrader Risk/Reward Management cBot first appeared on Coder Blog.</p>

]]>
https://www.coderblog.in/2022/05/new-version-3-0-for-ctrader-risk-reward-management-cbot/feed/ 10
New feature in 2.2 version for risk reward management cBot in cTrader https://www.coderblog.in/2021/05/new-feature-in-version-2-2-for-risk-reward-management-cbot-in-ctrader/ https://www.coderblog.in/2021/05/new-feature-in-version-2-2-for-risk-reward-management-cbot-in-ctrader/#comments Sun, 02 May 2021 14:30:46 +0000 https://www.coderblog.in/?p=547 In this new verion, you can set auto take profit with RR value and use percent value for

<p>The post New feature in 2.2 version for risk reward management cBot in cTrader first appeared on Coder Blog.</p>

]]>
In this new verion, you can set auto take profit with RR value and use percent value for take profit:

As you can see the above screen, you can set take profit 1 with 50% when price at RR 1:2

if don’t add the ‘%’ after the value, then it will use the actually number value

And you also can set auto break even when price at RR 1:1, and one more new setting that you can set to add more pips when do break even:

For example set “Break Even + Pips” to 5, it will add 5 pips when do the break even

Loading

<p>The post New feature in 2.2 version for risk reward management cBot in cTrader first appeared on Coder Blog.</p>

]]>
https://www.coderblog.in/2021/05/new-feature-in-version-2-2-for-risk-reward-management-cbot-in-ctrader/feed/ 17
New version 2.0 for risk reward management cBot in cTrader https://www.coderblog.in/2021/04/new-2-0-version-for-risk-reward-management-cbot-in-ctrader/ https://www.coderblog.in/2021/04/new-2-0-version-for-risk-reward-management-cbot-in-ctrader/#comments Sun, 11 Apr 2021 07:42:32 +0000 https://www.coderblog.in/?p=529 This is the new version of the cBot that I created before! In this new version, it can

<p>The post New version 2.0 for risk reward management cBot in cTrader first appeared on Coder Blog.</p>

]]>
This is the new version of the cBot that I created before! In this new version, it can set multiple take profit points and auto-detects them, and it can also set the break-even, let me show you the new feature as below:

[su_label type=”info”]Auto Take Profit[/su_label]
There is a new button for “Auto Take Profit” as below:

It provide 3 take profit steps as below:

You need to set the take profit 1 and then set the take profit 2 and then 3, it will step by step to execute the take profit with the condition what you set. There are two parameters that needs to set, first is the percentage of the total profit that will be taken, the second is the condition value, there are two type of the condition:

“Percent of Total TP” : That’s mean if the current profit reach the percent of total profit then will execute the take profit action

“Price”: It will take profit when the price reach the setting value

For example:

  1. set take profit 1 value to 50% at 60 with Percent of Total TP
  2. set take profit 2 value to 80% at 1.6175 with price

Then the cBot will take profit 1 when the order profit reach 60% of total profit, and colse the 50% position of the order

And then it will take profit 2 when the price reach 1.6175, and colse the 80% remain position of the order

[su_label type=”info”]Set Break Even[/su_label]

If enable this, it will auto set the break even when the condition reach it. For example:

set break even at 50 with percent of total TP

Then the cBot will auto set the stop loss to break even(it will include the spread) when the current profit reach 50% of total profit

After you finish the settings, you can start the take profit, but the last thing that you must input the order lable for trace the take profit action, if you create an order with this cBot, it will auto get the order label, otherwise you need to find the order label in position panel:

if you can see the label column, just right click the position column and show it out

After that, click the green button to [su_label type=”success”]Start Take Profit[/su_label], after start it, you can stop in anytime

[su_label type=”info”]Set Default Values by parameter[/su_label]

There are some new parameters in cBot settings, you can set the default values in here so that you don’t need to set it every time when you stop/start the cBot

You can set all of the default value for auto take profit function, if the value is 0, then this item will be in-active by default.

[su_label type=”warning”]Import[/su_label]

Please note that if you stop the cBot, all of the take profit (break even) settings will be stop and the status will be reset, but if you just stop the take profit, you can start it in anytime and it will continue to work.

Loading

<p>The post New version 2.0 for risk reward management cBot in cTrader first appeared on Coder Blog.</p>

]]>
https://www.coderblog.in/2021/04/new-2-0-version-for-risk-reward-management-cbot-in-ctrader/feed/ 6
Risk and reward management cBot for cTrader https://www.coderblog.in/2021/02/risk-and-reward-management-cbot-for-ctrader/ https://www.coderblog.in/2021/02/risk-and-reward-management-cbot-for-ctrader/#comments Mon, 01 Feb 2021 04:55:58 +0000 https://www.coderblog.in/?p=350 I have created an indicator for risk and reward management, but that’s an indicator so can’t open the

<p>The post Risk and reward management cBot for cTrader first appeared on Coder Blog.</p>

]]>
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:

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:

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:

[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

[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 😄

Loading

<p>The post Risk and reward management cBot for cTrader first appeared on Coder Blog.</p>

]]>
https://www.coderblog.in/2021/02/risk-and-reward-management-cbot-for-ctrader/feed/ 6