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
this is a test
06 Dec 2016
Downloads
73
Comments
1
Rating
0
Download
This cBot provides signals to pause your robots (x) minutes before, during and after a news release. If you automate your trading using technical indicators the
21 Nov 2016
Downloads
77
Comments
0
Rating
0
Download
         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 CCIReversal : Robot { [Parameter(DefaultValue = 26)] public int cciPeriod { get; set; } [Parameter(DefaultValue = 9)] public int maPeriod { get; set; } [Parameter("Quantity (Lots)", DefaultValue = 1, MinValue = 0.01, Step = 0.01)] public double Quantity { get; set; } private CommodityChannelIndex cci; //private Position _position; private const string robotname = "CCIReversal"; protected override void OnStart() { cci = Indicators.CommodityChannelIndex(cciPeriod); } protected override void OnBar() { var longPos = Positions.Find(robotname, Symbol, TradeType.Buy); var shortPos = Positions.Find(robotname, Symbol, TradeType.Sell); var pre_cci = cci.Result.Last(2); var cur_cci = cci.Result.Last(0); bool LongPosition = _position != null && _position.TradeType == TradeType.Buy; bool ShortPosition = _position != null && _position.TradeType == TradeType.Sell; Print("CCI = " + cur_cci + " Pre CCI" + pre_cci); if ((cci.Result.HasCrossedAbove(-100.0, 1) && cur_cci > pre_cci) || (cci.Result.HasCrossedAbove(100.0, 1) && cur_cci > pre_cci)) { if (shortPos != null) { ClosePosition(shortPos); ExecuteMarketOrder(TradeType.Buy, Symbol, VolumeInUnits, robotname); } else if (longPos == null) { ExecuteMarketOrder(TradeType.Buy, Symbol, VolumeInUnits, robotname); } else { ExecuteMarketOrder(TradeType.Buy, Symbol, VolumeInUnits, robotname); } Print("con1"); } else if ((cci.Result.HasCrossedBelow(-100.0, 1) && cur_cci < pre_cci) || (cci.Result.HasCrossedBelow(100, 1) && cur_cci < pre_cci)) { if (longPos != null) { ClosePosition(longPos); ExecuteMarketOrder(TradeType.Sell, Symbol, VolumeInUnits, robotname); } else if (shortPos == null) { ExecuteMarketOrder(TradeType.Sell, Symbol, VolumeInUnits, robotname); } else { ExecuteMarketOrder(TradeType.Sell, Symbol, VolumeInUnits, robotname); } Print("con2"); } Print("Long" + (longPos != null)); Print("Short" + (shortPos != null)); } private long VolumeInUnits { get { return Symbol.QuantityToVolume(Quantity); } } } /* private void Close(TradeType tradeType) { foreach (var position in Positions.FindAll(robotname, Symbol, tradeType)) ClosePosition(_position); } private void Open(TradeType tradeType) { _position = Positions.Find(robotname, Symbol, tradeType); var volumeInUnits = Symbol.QuantityToVolume(Quantity); if (_position == null) ExecuteMarketOrder(tradeType, Symbol, volumeInUnits, robotname); }*/ }    Backtest on Silver The CCI Reversal Buy when CCI(26) Cross above -100 or 100(when no buy position open), in the case of crossing above -100 the cbot will be selling when CCI(26) cross below 0, but if the CCI(26) reach over 100 it will be selling when CCI(26) cross below 100 .  In case of short position, it's the reversal of buy position. There is parameter name 'MA' but notthing importance for now, I added it for the next version.  and the parameter Trading Size, value 2 mean trade both side long and short, 0 = trade on short side only, 1 = trade on long side only.  If you find any mistake of this algorithm please let me know.
16 Nov 2016
Downloads
191
Comments
0
Rating
0
Download
This bot is based on Money Flow Index indicator and Heiken Ashi, The strategy is very simple it buys when a bullish HA candle closed and MFI was above a user defined level(default 40) and it sells when a bearish HA candle closed and MFI was below a user defined level(default 70). It's not some martingale or grid type bot so it will have losing days, weeks and even consecutive losing months but it keeps your risk low and avoid big draw downs. The above back test result time period was from 29/01/2012 to 16/09/2016 and the data type was tick data with $40 commission per standard lot. Back test parameters file : https://drive.google.com/file/d/0B93GK1Ip4NSMbUt4aFA4dmxaVkU/view?usp=sharing
18 Sep 2016
Downloads
461
Comments
2
Rating
0
Download
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  
13 Sep 2016
Downloads
377
Comments
0
Rating
0
Download
Find uploaded an updated version of the cbot. It has slightly modified logic, RSI filtering property and some more parameters to modify. Also a bidirectional trailing stop has been added (both positive and negative triggers allowed). Backtesting ability has been improved as well. Tested on USDCAD, 2 out of 3 winning trades on average. Some less self-explanatory parameters explained: Equity Risk Value - percentage of available equity as a parameter of trade volume (in %), use values of consecutive tens 10, 20, 30 ... and so on. Breakout Trigger In Pips - number of pips a new bar has to break the previous range for a position to be opened. Below equity curve based on trades spanning over 3 years of data. Currency pair - USDCAD. Starting balance - 1k EUR.   .......................................................................................................................................................................................... This robot trades a very simple strategy of daily bar breakouts. You can read more about it HERE . I am new to programming so expect nothing more than you would do from an experiment. Structural nuances of the code are based on work of nobulart . If you want to backtest this robot be sure to change Backtesting Properties of Market Data to "Tick data from Server (accurate)", otherwise number of trade entries will be missed out. Do fidle with the params in optimization, however, if you're lazy the default ones should give decent results. To unclutter the Log just use comment characters "//" with appropriate lines of code. Comments and improvement ideas greatly appreciated.   ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Do not use on live accounts. This is an experimental algorithm and no results are guaranteed. Losses may exceed an initial deposit. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
22 Nov 2015
Downloads
992
Comments
1
Rating
0
Download
This robot is a fork of Robot_Forex. It is hosted on Github and gives good results. If you want to have the last evolutions of the bot, take it here It manages a stop loss, a money management , a tralling stop and dynamic grid to her positions. For the parameters to use go to Github A video a.bout this bot is on youtube  
10 Jul 2015
Downloads
2330
Comments
28
Rating
5
Download
Smart Grid cBot will open first position based on trend. Next positions will be added using 'PipStep' parameter. Dynamic Volume Exponent & 1 trade per 1 bar to minimize draw-down risk. Follow trend direction manually & open Buy Sell your choice. 
by SaifBD
01 Jul 2015
Downloads
3135
Comments
65
Rating
5
Download
(Bot may have bugs - please report if some bug is found) This bot is useful in breakouts, handling fake breakouts and reducing risk exposure. Instead of risking 100 pips to make 100 pips, its better to risk 10 pips 10 times if you know the price is going to move significantly away from your entry, for example the break change of a trading session or a technical breakout. It can handle both long and short and it displays the number of tries and total profit from all trades for both long/short trades. I repeat this bot is useful if the trader can spot these breakout levels. It's been working good for me so I coded it and I want to share it. Please report any bug so it can get fixed asap. //UPDATE MAY 28 -Added OCO Mode  -Added Both Limit and Stop Orders -Added Close Bots on Stop //UPDATE JUN 04 -Please download the updated bot it had a serious bug issue when reached profit taking it keeps placing orders. -Added (increment position sizes each number of tries, lets say after 2 tries it doubles position, then again after 2 times its 3x the initial position and so on, its is set to false by default)  
by Waxy
05 Jun 2015
Downloads
1468
Comments
12
Rating
5
Download
Reversion & Trend trading robot. Utilizes threshold to determine entry. Includes trailing stop loss. Reversion & Trend trading robot. Utilizes threshold to determine entry. Includes trailing stop loss.
06 Jan 2015
Downloads
2225
Comments
13
Rating
5
Download
Modify all positions to one TP and SL by average price   //    Modify all TakeProfit and StopLoss by Average Price. "Aggressive Trading" //    salr22@hotmail.com, www.borsat.net
by salr22
06 Sep 2014
Downloads
1098
Comments
2
Rating
0
Download
Symbol: EURUSD Time frame: Minute5 Backtesting period: 01/04/2011-12/01/2014 (almost 3 years) Robot is based on Bollinger Bands indicator which combines moving averages and standard deviation. The main purpose of Bollinger Bands is to provide price range. If you know the range you can buy at minimum price level and sell at maximum price level. Robot is listening to following Bollinger Bands signals: close price is above top Bollinger Bands line. Actions: close long position, open short position close price is bellow bottom Bollinger Bands line. Actions: close short position, open buy position Backtesting report: Balance-equity chart:  
by Quant
12 Jan 2014
Downloads
3339
Comments
2
Rating
0
Download