# cBots By PopularityBy RatingBy DateBy Name

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
Robot based on  crossings between Third Gen Moving Average and Exponential Moving Average. Input: Source Period Sampling Period Moving average type Improvement suggestions are welcome Backtesting 06/03/2013 04/10/2013
09 Jan 2014
2167
4
Rating
0
#DONT FORGET TO REFERENCE THE TWO FILES IN THE CODE This robot trades the fibonacci bands.    I had sucess trading 4H GBPJPY with  AtrPeriod = 21 ; emaPeriod = 54 ; velperiod = 10 With a little optimization you can get good results for others symbols and timeframe. If you find something good, please share! If the trend is bullish the robot place a buy order in the first fibo band and a sell in the second band and vice-versa.
09 Jan 2014
5395
18
Rating
3
For an example we use Bollinger Bands.  We assume, that if bargains do not cross the top and bottom strip we are in chaos(weak balance across Nish). Further it is necessary for us to define the leader or a dominant. It depends on band height and  periods of domination. If the strip is crossed, and the given period of domination achieves, it means formation of a direction on growth(buy) or falling (sell).   Using more difficult calculations (in this example they aren't present), we can predict formation of a trend and its size. // ------------------------------------------------------------------------------- // // Simple example with use of "Games Theory". // Vsoft(c). // // ------------------------------------------------------------------------------- using System; using cAlgo.API; using cAlgo.API.Indicators; using cAlgo.API.Requests; using cAlgo.Indicators; namespace cAlgo.Robots { [Robot(TimeZone = TimeZones.UTC)] public class SampleBreakoutRobot : Robot { [Parameter] public DataSeries Source { get; set; } [Parameter("Band Height", DefaultValue = 1.0, MinValue = 0)] public double BandHeight { get; set; } [Parameter("Stop Loss", DefaultValue = 10, MinValue = 1)] public int StopLossInPips { get; set; } [Parameter("Take Profit", DefaultValue = 10, MinValue = 1)] public int TakeProfitInPips { get; set; } [Parameter("Volume", DefaultValue = 10000, MinValue = 1000)] public int Volume { get; set; } [Parameter("Bollinger Bands Deviations", DefaultValue = 2)] public int Deviations { get; set; } // BB [Parameter("Bollinger Bands Periods", DefaultValue = 20)] public int Periods { get; set; } // BB [Parameter("Bollinger Bands MA Type")] public MovingAverageType MAType { get; set; } // BB [Parameter("Domination Periods", DefaultValue = 1)] public int DominationPeriods { get; set; } // Definition a dominant. private BollingerBands bollingerBands; private int Domination; protected override void OnStart() { bollingerBands = Indicators.BollingerBands(Source, Periods, Deviations, MAType); } protected override void OnBar() { double top = bollingerBands.Top.LastValue; double bottom = bollingerBands.Bottom.LastValue; if ((top - bottom)/ Symbol.PipSize <= BandHeight) { Domination= Domination+1; } else { Domination=0; } if ( Domination >= DominationPeriods) { if (Symbol.Ask > top && MarketSeries.Close[MarketSeries.Close.Count - 2]> MarketSeries.Open[MarketSeries.Close.Count - 2]) { var request = new MarketOrderRequest(TradeType.Buy, Volume) { Label = "SampleGameTheory", StopLossPips = StopLossInPips, TakeProfitPips = TakeProfitInPips }; Trade.Send(request); Domination = 0; } else if (Symbol.Bid < bottom && MarketSeries.Close[MarketSeries.Close.Count - 2]< MarketSeries.Open[MarketSeries.Close.Count - 2]) { var request = new MarketOrderRequest(TradeType.Sell, Volume) { Label = "SampleGameTheory", StopLossPips = StopLossInPips, TakeProfitPips = TakeProfitInPips }; Trade.Send(request); Domination = 0; } } } } }
09 Jan 2014
1969
0
Rating
0
This is a collaborative work  based on a forum post : http://ctdn.com/forum/cbot-support/1109 Any suggestions welcome.
28 Jun 2013
2116
2
Rating
0
This is a Robot based on the GannHighLow Indicator.  If close price rises above the GannHighLow indicator a buy is triggered and if the prices falls below the GannHighLow  indicator a sell is triggered. There is only one position open at a time. So, if a buy is triggered and a sell is open the sell will be closed. The default parameters use no SL/TP (Default to zero) If SLTrigger and TrailingStop are greater than zero then Trailing stop is used. Any suggestions for optimization are welcome.
09 Jan 2014
2679
0
Rating
0
Regarding http://ctdn.com/forum/cbot-support/753.
19 Apr 2013
1868
10
Rating
0
Concerning this post: http://ctdn.com/forum/cbot-support/745
17 Apr 2013
3029
21
Rating
3.75
Il n'y a ici que le money management d'Alembex, à vous d'y rajouter votre technique (les positions sont prises aux hasard sur l'exemple) Montrez vos résultat de ce Money management + votre technique :) Merci MISE A JOUR : - Corrections des bugs - Nouvelles images  avec les tests d'optimisations :
29 Dec 2014
3494
23
Rating
1.67
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
27 Feb 2013
38763
32
Rating
4.17
27 Feb 2013
1457
3
Rating
0
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