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
free  05 Feb 2018
News Robot Enhanced (NRE) This robot will place one or two (depening on settings) pending orders (Buy and Sell) based on the next news event, and will only place a new order (based on next news event) when the first is finished. Will also show the news in localtime on the chart. Trading is optional and can disabled to just show news on chart André Karlsson   <andre@sess.se> Since the Algo is to big to be uploaded here(?) you have to download it from github. You also have to install the CSV-reader prior to running the cbot. CSV-redaer can be found @  http://www.codeproject.com/Articles/9258/A-Fast-CSV-Reader Download@ GitHub (Algo with source) (Direct link to repository is: https://github.com/joyider/nre ) Link to Video@Youtube Updates: Version 0.9.01b - 2018-02-02 New Feature: Disable trades and only show News(in localtime) on chart Fixes New CSV source (Forexfactory) parsed to new server Timezone fix, now woeking in all timezones without manual hack Fixed a bug that prevented new orders from being placed after previous win Version: Production Will place news trades based on data downloaded from forexfactory using a parser that saves the data @ http(s)://edu.tenforward.io/csvs/Calendar-dd-mm-yyy.csv where the date is the first sunday of the week (US Style)  Place orders based on High/Meedium/Low news importance  Show historical news events onscreen  One Cancle Other or One DON'T Cancel Other  Trailing stop as an option (places SL at half of takeprofit when reached) This Cbot was originally based on the News Robot Cbot and the News - DailyFx Economic Calendar Indicator The News - DailyFx Economic Calendar Indicator is how ever broken and does not work anymore. I've added some trailing stop and Error handeling to manage empty News lists to make it more versatile and to keep it running during weekends. Due to the nature on ths Cbot you can NOT backtest it. To try it run it a few weeks on a demo account... or monitor you trades manually in the begining. This robot will place one or two (depening on settings) pending orders (Buy and Sell) based on the next news event, and will only place a new order (based on next news event) when the first is finished. If you find any bugs/issues, please let me know. Or if you have any ideas on more enhancement set me an email or write a comment.   I Recommend you to only use news with HIGH importance in order to take advantage of the volatility. The Algo file is unfortunately too big to upload here :( so you have to install the CSV reader your self. Source code can be found @: GitHub ShowNewsOnly - Whether to trade or only display upcoming news on chart. Label - Label for current robot, needs to be different for robot running on multiple pairs. ShowLow - Show and trade on Low impact news. ShowMedium - Show and trade on Medium impact news. ShowHigh - Show and trade on High impact news. EventsToDisplay - Number of news to show on chart ShowPastNews - Show previous news events on chart as tine vertical line PastNewsLookback - Download and show historical news number in weeks. 1 is to prefer currently only data for 1 week(2018/02/02) Pips away - The number of pips away from the current market price where the pending buy and sell orders will be placed. Take Profit - Take Profit in pips for each order Stop Loss - Stop Loss in pips for each order Volume - trading volume Seconds before - Seconds Before News when robot will place Pending Orders Seconds timeout - Seconds After News when Pending Orders will be deleted One Cancels Other - If "Yes" then when one order will be filled, another order will be deleted
free  10 Jun 2014
This cBots dumps trendbars data to CSV file. Instructions: create an instance open backtesting tab choose max available date range backtest cBot CSV format: time, open, high, low, close, volume In OnStop method cBot will flush all market series data to the CSV file on your Desktop.
Sample SAR Trailing Stop
  3
  3.33
  2428
free  19 Dec 2012
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.
DerianScalper
  2
  0
  2415
free  13 Sep 2016
This is a scalper used primarily on USDJPY M15. It has not been tested in other currencies yet. Its parameters are: Lots 0.6 for every $10,000 SL: 638 TP: 984 Robot ID: 56477012 Bars Required: 204 -------------------------------------------- CCI Smoothing Period: 86 Level: -555 Multiplier: 0.273 ----------------------------------------------- Moving Average Crossover Fast MA: 96 Slow MA: 189 Fast MA Shift: 3 Slow MA Shift: 33  
free  10 Dec 2013
Modified robot to work on two symbols see /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)  
free  06 May 2019
This bot is usefull to check your manual strategy. You can choose some past days and trade on ctrader in backtesting. To use this bot you must set visual mode flag in backtesting and run the back testing. After start the back testing you will see a windows form where you can buy and sell by hand. There is also a combobox where you can choose one of open positions and change the stop loss, the take profit and the volume. Enjoy Amerigo    
Memory Manager Bot
  9
  5
  2353
free  27 Aug 2015
The memory manager when attached as robot periodically (configurable) frees the memory used by cAlgo thus keeping it down pressured. Don't set the "Reclaim Period" to very low values which may effect the performance of cAlgo. On each tick received it displays the current working set (memory used by cAlgo) and the last memory reclaimed. Since it's checking to free or not on tick received event on slow trading hours the text will be updated less frequent. The bot needs "FullAccess" permission to work, so you need to allow them when asked.  
forex
  10
  0
  2346
free  19 Apr 2013
Regarding /forum/cbot-support/753. 
free  01 Nov 2019
This is an enhanced pending order cBot. Instead of defining a price to enter the market, you define a price range where a trade may open. Order is opened when the current ask price is in the range defined and volatility and trend strength are picking up. You may set “Open trade on Start” to yes and the order will open immediately after you start the cBot. How it works The “Target TP” price used as take profit and the “Pivot SL” price used as the stop loss. Trade will open on the criteria bellow: If ask price is smaller than target price, buy order is opened. If ask price is bigger than target price, sell order is opened. Ask price must be between target and pivot price. “Distance from Target/Pivot” in pips defines the minimum distance between ask price/pivot price and ask price/target price. ADX value must be greater than 20. If MACD signal line cross above MACD line open sell order. If MACD signal line cross bellow MACD line, open buy order. Volume is calculated depending on the Pivot/SL price you’ve defined and the amount in your account’s currency you want to ris http://sifneosFX.com  
FX Martingale
  3
  0
  2304
paid  02 Dec 2019
Please check details here /forum/calgo-support/11265?page=2#12 ----------------------------------------------------------------------------------------------------------------------------------------------------- V0: cBot download ( no source code ) https://www.dropbox.com/s/otqivbvubkm6zcx/MartingaleFX_V0_Stable_Final_Trial.algo?dl=0 ----------------------------------------------------------------------------------------------------------------------------------------------------- V2: Very stable version of martingale with 2 important features which i personally wanted 1) All trades will be open from Monday and will be closed by Friday, so no weekend risk. 2) PnL threshold acts as weekly TakeProfit. No more trades for that week if PnL Threshold has hit. This ensures that i can just run it on several instruments every Sunday night and turn it off on next Saturday morning. Peace of mind for myself !! New parameters added  Enable gridSizeLast4Steps : If enabled you can specify exact pips for last 4 steps of martingale grid. GridSize for Last4Steps : Size of grid spacing for last 4 steps of martingale sequence. V2: cBot download V2 ( no source code ) https://www.dropbox.com/s/ivoi416seu44k77/MartingaleFX_V2_Stable_Final_Trial.algo?dl=0   ( updated ) ------------------------------------------------------------------------------------------------------------------------------------------------------- ( Below is RISKY version of Martingale , this bot has not been shared because it is risky in my opinion, and thus use above V0 & V2 versions which are much stable and works on a lot of instruments ) https://www.myfxbook.com/members/TRMR/martingale-fx-v0/1977124
cTrader Read Excel Data
  16
  5
  2293
free  26 Feb 2021
Execute trades example using LinqToExcel and LINQ to easily read an Excel or CSV file into your Automated Trading Robot. Download Source Code Here Please note that this is an example and not a working robot. I found this very useful tool for working with Microsoft Excel data that I would like to share with you. If you need to get data out of Excel, which can be done using ADO.NET. However using LINQ to Excel makes this very easy for people who are not experienced programmers. DATA - ANALYSIS - TRADE This robot is an example to demonstrate the power you can have at your fingertips using cTrader, cAlgo and C#, this robot reads trades from an excel file and executes them in real time with the robot, you can dynamically modify the trade results with user defined parameters from the robots user interface or from within the code. Watch uTube video about LinqToExcel to find out more... https://www.youtube.com/embed/t3BEUP0OTFM THE SIMPLEST WAY OF READING DATA FROM EXCEL The example shows a list of trades for the day that have been entered onto a spreadsheet with separate sheets for different instruments, it does not matter if this would not be useful in real life, it is just to show what can be accomplished and possibilities. The image below shows information for opening new positions when the price reaches the entry price, the expiry date and time allows you to filter these out using LINQ from within your robot. You will notice in the source code that there is a class called DailyTrade, this class is the data container which will automatically be populated with data from the spreadsheet.  As you can see the class name is the same as the spreadsheet name dailyTrades.xls and each property has an attribute [ExcelColumn], this maps to the name of columns in the spreadsheet, so the property name does not have to be the same as the property name and you can have spaces in the column name. The code that injects all the data into the class is a collection of DataTrade objects, so you will end up with a list of daily trades which you can iterate through to open the trades. You will be able to access the data in a clean and readable manner like; trade.EntryPrice or trade.ExpiryDate. Download Source Code Here   Contact: instant chat group Website: https://clickalgo.com Twitter | Facebook | YouTube | Pinterest | LinkedIn  
Hedging progresivo
  6
  0
  2292
free  27 Oct 2016
La idea inicial de este cbot es abrir ordenes opuestas con un SL definido, de manera que cuando el precio cierre una posición se abran de nuevo 2 posiciones nuevas en hedging con SL definido de nuevo y así succesivamente acumulando beneficio en las posiciones abiertas siempre y cuando el precio no gire de nuevo. Creo que es una muy buena opción para momentos en los que hay mucha volatilidad como por ejemplo en noticias. Como tengo unos conocimientos en programación muy limitados este cbot tiene un problema que no se resolver, si operas en otro mercado mientras esta activo y cerras alguna posición, abre de nuevo 2 posiciones. Espero que alguien pueda ayudarme a mejorar este problema.   using System; using System.Linq; using cAlgo.API; using cAlgo.API.Indicators; using cAlgo.API.Internals; using cAlgo.Indicators; namespace cAlgo { [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class sergi : Robot { [Parameter("Volume", DefaultValue = 1000)] public int Volume { get; set; } [Parameter("Stop Loss (pips)", DefaultValue = 20, MinValue = 1)] public int StopLossInPips { get; set; } protected override void OnStart() { Positions.Closed += closedposition; ExecuteMarketOrder(TradeType.Buy, Symbol, Volume, "Sergi", StopLossInPips, 0); ExecuteMarketOrder(TradeType.Sell, Symbol, Volume, "Sergi", StopLossInPips, 0); } private void closedposition(PositionClosedEventArgs arg) { var pos = arg.Position; if ((pos.NetProfit < 0)) Positions.Closed -= closedposition; OnStart(); } } }