cBots

Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
How to install
DescriptionSubmited byDateCategoryPreviewDownloadsCommentsRating
Modified robot to work on two symbols see http://ctdn.com/forum/cbot-support/2045?page=1#2 The robot starts by making a trade in the direction of the last two completed bars if the same. Sets take profit initially and then trails with stop loss. The subsequent trades, up to a max number of trades (input), are in the same direction of the first trade are entered based on the current price compared to the last entry price. If a trade is deleted manually the robot will start from the beginning. Currently not supported in backtesting (GetSymbol not supported)  
10 Dec 2013
Downloads
1113
Comments
3
Rating
0
Download
This is a collaborative work  based on a forum post : http://ctdn.com/forum/cbot-support/1109 Any suggestions welcome. 
28 Jun 2013
Downloads
1314
Comments
2
Rating
0
Download
This robot can help you to set "trailing stop". The parameters in this robot are two: "Trailing Stop (pips)": set the stoploss pips that you want "Initial Stop Loss (pips)": autoset the stoploss if your trade do not have that.
31 May 2013
Downloads
3711
Comments
6
Rating
2.5
Download
Regarding http://ctdn.com/forum/cbot-support/753. 
19 Apr 2013
Downloads
1172
Comments
9
Rating
0
Download
Concerning this post: http://ctdn.com/forum/cbot-support/745
17 Apr 2013
Downloads
2063
Comments
18
Rating
3.75
Download
I've tested this Robot with EURUSD and GBPUSD in H1 timeframe with good results.But the problem is, that in one account I can run only one currency pair (e.g. EURUSD), not together with GBPUSD. Can someone have a look at it please? many thanksRobert
by imWald
27 Feb 2013
Downloads
33679
Comments
23
Rating
4
Download
The objective for this robot is not to develop a real trading robot but to point out the technical architecture and the communication process between cAlgo and an external dll.In order to bring the principle in the foreground, the chosen example is very simple and basic. It consist of a frame with 2 buttons representing the current Bid and Ask prices like the cTrader order button with exact the same prices. By pushing on of the buttons an entry in the cAlgo log frame will be printed (see attached video for more details).The frame application itself will be started from within cAlgo same as a robot, but is acting in a different thread and is therefore managed independent. In addition there is a bidirectional event handling taking care of cAlgo events and events from the external dll to communicate between both threads. You can imagine to adopt this approach to your own needs. I. e. for communication to third party products or intercommunication between different currency pairs respectively time frames.The external dll has been developed using Visual Basic .Net based on Visual Studio 2010 Express edition (free edition). If you intend to follow this example one by one you need to install at least this version of Visual Studio.Create a new project of type class library and copy & paste the following code. Align the code to your needs Imports System.Windows.Forms 'the communication layer between cAlgo and the frame application Public Class ThreadHandler Private sMesText As String Private iDigs As Integer 'declaring the frame application with event handling Private WithEvents myForm As externalForm Public Event ButtonBuyClicked() Public Event ButtonSellClicked() 'constructor for frame application with overloading parameters Public Sub New(ByVal sMsgTxt As String, iDigits As Integer) sMesText = sMsgTxt iDigs = iDigits End Sub 'start the frame application Public Sub Work() 'use the windows visual style Application.EnableVisualStyles() Application.DoEvents() myForm = New externalForm myForm.Text = sMesText myForm.ShowDialog() End Sub Public Sub setButtonText(ByVal cTxt As String, dPrice As Double) 'passing the price from cAlgo to the form application myForm.SetButtonText(cTxt, dPrice) End Sub Private Sub myForm_ButtonBuyClicked() Handles myForm.ButtonBuyClicked 'passing the button click event from frame application to cAlgo RaiseEvent ButtonBuyClicked() End Sub Private Sub myForm_ButtonSellClicked() Handles myForm.ButtonSellClicked 'passing the button click event from frame application to cAlgo RaiseEvent ButtonSellClicked() End Sub End Class Then create a new frame, paste 2 buttons and copy & paste the following code. Align the code to your needs. Imports System.Windows.Forms Public Class externalForm Public Event ButtonSellClicked() Public Event ButtonBuyClicked() Public Delegate Sub dlSetButtonText(ByVal cTxt As String, ByVal dPrice As Double) Private Sub ButtonSell_Click(sender As System.Object, e As System.EventArgs) Handles ButtonSell.Click RaiseEvent ButtonSellClicked() End Sub Private Sub ButtonBuy_Click(sender As System.Object, e As System.EventArgs) Handles ButtonBuy.Click RaiseEvent ButtonBuyClicked() End Sub Public Sub SetButtonText(ByVal cTxt As String, ByVal dPrice As Double) Dim myCont As Control() 'external application (cAlgo) tries to call the frame application. invocation is required myCont = Me.Controls.Find(cTxt, True) If myCont.Count = 0 Then Exit Sub If myCont(0).InvokeRequired Then myCont(0).Invoke(New dlSetButtonText(AddressOf SetButtonText), cTxt, dPrice) Else 'after invocation and 'recall' of the sub the button text can be set myCont(0).Text = dPrice.ToString End If End Sub End Class
27 Feb 2013
Downloads
1016
Comments
3
Rating
0
Download
This robot is intended to be used as a sample and does not guarantee any particular outcome or profit of any kind. Use it at your own risk.
19 Dec 2012
Downloads
1341
Comments
2
Rating
3.33
Download
Uses the MACD Histogram and Signal line for buy and sell signals.
24 Sep 2012
Downloads
3937
Comments
0
Rating
0
Download
Opens a Long position when sma crosses below the trend bars and a short position if it crosses above. One position open at a time.  Works best with Timeframes H1 and above. Good Luck!
by daemon
14 Sep 2012
Downloads
1876
Comments
2
Rating
0
Download
RSI Moving Average Robot
24 Aug 2012
Downloads
1599
Comments
1
Rating
0
Download
This is based on Johnan Prathap’s article in this issue, “Three-Bar Inside Pattern”.
06 Aug 2012
Downloads
1682
Comments
0
Rating
0
Download