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
Breakout Trend Bot
  2
  5
  139
free  21 Sep 2022
By ForexCove. The Breakout Trend Bot trades in the direction of trend. Pending orders are placed x-pips above or below previous highest high or lowest low, and if market shows strength in the predicted direction, the trade is taken. You can configure desired trend strength with built in ADX filter, and even let TP and SL targets be defined by ATR.  To download a sample config file, visit this link HERE
MACD Market Timer
  2
  0
  108
free  18 Sep 2022
 Robot with MACD signal trend. M30 -H4 GBPUSD. if the market changes the primary trend to high, change the code indicated. I'm working to adjust this function. https://paypal.com/donate/?hosted_button_id=7Z3P95CZYT5CA    
following bot
  17
  0
  384
by al-n
free  03 Aug 2022
this is just a simple bot that opens trades buy/sell and trails with sl in endles loop.
following bot
  6
  0
  222
by al-n
free  03 Aug 2022
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 TrailingStopLossSample : Robot { [Parameter("VolumeInLots", DefaultValue = 1)] public double VolumeInLots { get; set; } [Parameter("Buy")] public bool Buy { get; set; } [Parameter("Stop Loss", DefaultValue = 5)] public double StopLoss { get; set; } [Parameter("Trigger When Gaining", DefaultValue = 1)] public double TriggerWhenGaining { get; set; } [Parameter("Trailing Stop Loss Distance", DefaultValue = 1)] public double TrailingStopLossDistance { get; set; } [Parameter("Step (pips)", DefaultValue = 5)] public double Step { get; set; } private double _highestGain; private bool _isTrailing; protected override void OnStart() { } protected override void OnTick() { // Schaut nach ob Positionen offen sind =) if (Positions.Count == 0) { //Execute a market order based on the direction parameter ExecuteMarketOrder(Buy ? TradeType.Buy : TradeType.Sell, Symbol, VolumeInLots * 100000, "SampleTrailing", StopLoss, null); //Set the position's highest gain in pips _highestGain = Positions[0].Pips; } { var position = Positions.Find("SampleTrailing"); if (position == null) { Stop(); return; } //If the trigger is reached, the robot starts trailing if (position.Pips >= TriggerWhenGaining) { //Based on the position's direction, we calculate the new stop loss price and we modify the position if (position.TradeType == TradeType.Buy) { var newSLprice = Symbol.Ask - (Symbol.PipSize * TrailingStopLossDistance); if (newSLprice > position.StopLoss) { ModifyPosition(position, newSLprice, null); } } else { var newSLprice = Symbol.Bid + (Symbol.PipSize * TrailingStopLossDistance); if (newSLprice < position.StopLoss) { ModifyPosition(position, newSLprice, null); } } TriggerWhenGaining += Step; } } } protected override void OnStop() { // Put your deinitialization logic here } } }  
free  03 Aug 2022
// I need help here bool close_buy = standart_ema.Result.LastValue > fast_ema.Result.LastValue; bool close_sell = standart_ema.Result.LastValue < fast_ema.Result.LastValue; var buy_position = Positions.Find("order_buy", SymbolName, TradeType.Buy); var sell_position = Positions.Find("order_sell", SymbolName, TradeType.Sell); if (standart_ema.Result.LastValue > fast_ema.Result.LastValue) ClosePosition(buy_position); else if (standart_ema.Result.LastValue < fast_ema.Result.LastValue) ClosePosition(sell_position); I am new one in C# programming and cAlgo. Please help me to close position correctly.  When i start my cBot, it stops on next bar. It is hard to work with ClosePosition() method correctly Can you help me in comment?
free  30 Jul 2022
always use 1 minute or 5 minute chart (candlestick) always use 0.01 lot for good returns only work on XAUUSD  open and close bot on same day after 24 hours or after sufficient profit  close the bot after the target is achieved  
AW Manager
  8
  0
  385
free  08 Jul 2022
close position in specefic equity. it's useful for someone that couldn't control himself in live market.
free  04 May 2022
Most traders make use of Pending Orders. A trader may potientally have several pendings set. However due to market uncertainty there is potiental risk of several pendings getting triggered at the same time. This potientally leads to over leverage with mismanagement of risk.  Therefore use of this cBot will notify through email when more than one of your pendings are a certain number of pips away. Distance can be adjusted via parameters, default value is set to 30  pips. A very useful algorithm to run in the background.  To validate your email through ctrader please follow these simple instructions:  https://clickalgo.com/ctrader-email-setup  
LiPiBot (RSI)
  6
  0
  674
by r258
free  02 May 2022
Robot using RSI. Available only for testing purpose (Backtesting and Optimization). Sample with optimized settings:   Parameters with default values:
EMA Power
  7
  5
  1042
free  30 Apr 2022
      ​       Hello friends, today I want to share a simple cBot that should be an example to show that simplicity is always the best solution. Developers can use the Template as a starting point, in fact only the logic of the triggers needs to be changed, the rest is handled. The trigger or market entry is done by just 2 simple EMAs, the real difference is the management of this trigger which can be customised as you see fit.   DESCRIPTION  Identity EMA Power 1.0.7 : The name and version of the cBot, this parameter contains the link to our website, you can change this in case you want to save a new preset. Label ( Magic Name ) : Similar to number magic for MetaTrader, it is used to identify a strategy. Preset information : Some references to the preset in use, useful if you want to specify a specific back test period. Strategy Open Trade Type : The type of trade you want to open, e.g. Buy positions only. Stop Loss : The number of pips for the stop loss, e.g. 10 equals 10 pips. Take Profit R:R 1:? : The risk: reward ratio, e.g. 2 means that the take profit will be 2 times the stop loss, so if the stop loss is 10 the take profit will be 20. Close On Trigger? : With this option it is possible to close trades with the trigger, only those against the trigger, e.g. if we have sell and buy positions in the market when there is a new buy trigger it will only close sell positions. Use BreakEven? : Enables the breakeven protection check of positions, taking into consideration the parameters entered in the BreakEven section. Use Trailing? : Enables the trailing protection check of positions, taking into consideration the parameters entered in the Trailing section. Use Deviation Martingala? (bypass all) : Enables the deviation martingala, taking into consideration the parameters entered in the Deviation Martingala section, enabling this feature excludes controls for recovery positions but not triggers. Pause From (18.0 = 18:00) : This parameter identifies the start time of the break, e.g. 18.0 the cBot will no longer open positions from 18:00. To (8.20 = 08:20) : Marks the end of the pause, e.g. 8.20 the cBot will start opening new trades from 08:20. Filters Max Spread allowed : Only triggers within a certain limit are considered, e.g. 1.5 will only consider spreads equal to or less than 1.5 pips. Max GAP Allowed (pips) : Protects against high volatility, e.g. if the value is 1 then all trades that have a GAP greater than 1 will be ignored, GAP is the distance between the close of the previous candle and the open of the current one which must not exceed 1 pip. Max Number of Trades : The maximum number of trades generated by the triggers, e.g. if the value is 1 after the first trigger no more trades will be opened if there is already 1 trade in the market, no martingale deviation trades are calculated. Money Target Percentage (zero = disabled) : If the value of this parameter is equal to zero then no Money Target is considered, but if for example it is equal to 1 then it means that it will close all positions at the moment when the net profit reaches the value of 1% of the current balance. Minimum Trades to Activation : The minimum number of trades in the market before the control starts, e.g. if the value was 2 then the money target would only be controlled if there were 2 trades or more. Money Management Fixed Lots (bypass all Capital) : If the value of this parameter is equal to zero then it will not enter fixed lots, otherwise it will exclude any calculation, e.g. if the value was 0.02 then it will always open with 0.02 lots. Capital : The capital with which to do the risk calculation if Fixed Lots is zero, you can choose between Balance or Current Equity. % Risk : The percentage of risk to be calculated in proportion to the selected Capital. Pips To Calculate ( empty = stoploss ) : To know how many lots to calculate we need to have the distance in pips, this value serves this purpose, if a value of zero is entered then the cBot will take into consideration the value of the stoploss, if this is also set to zero then a fictitious value of 100 pips will be considered. Drawdown % Max (zero = disabled) : The percentage in proportion to the Maximum Acceptable Loss Balance, if for example the value was 30 out of €1000 Balance then you would close all positions if losses exceed -€300, this is not taken into consideration if in a martingale. EMA Fast : The number of periods to be considered of Exponential Moving Average fast. Slow : The number of periods to be considered of Exponential Moving Average slow. Break Even Activation (zero = disabled) : If the value of this parameter is equal to zero then it is not taken into consideration even if it is enabled, it is the number of pips beyond which the control is activated, for example if it were 12 then when 12 pips are reached it moves the stoploss to entry price + the value entered in the next Distance parameter. Distance : The number of pips to be added to the trade's entry price. Trailing Activation (zero = disabled) : If the value of this parameter is equal to zero then it is not taken into consideration even if it is enabled, it is the number of pips beyond which the control is activated, for example if it were 12 then when 12 pips are reached it moves the stoploss to high price (if buy) - the value entered in the next Distance parameter and this follow the price. Distance : The number of pips to be added to the trade's entry price. Deviation Martingala Multiplier (zero = disabled) : If the value of this parameter is zero then the control will not be considered even if enabled, it is the number of times the volume of the previous trade is multiplied to create exponentiality as positions increase. Max Consecutive Loss (zero = infinite) : If the value of this parameter is equal to zero then it will open an unlimited number of consecutive losing trades, otherwise if it is greater than zero e.g. 3 it would mean that it will get a maximum of 3 consecutive losses. I suggest you optimize only the parameters you need, for example it may be important to optimize the number of EMA periods, or scenarios where there are recoveries with Martingale but also without, this task is up to you. As mentioned at the beginning, use this template as an example of development by changing only the triggers, do not forget to share interesting presets and follow cTrader guru on all social networks. Homepage : https://ctrader.guru/ Telegram : https://t.me/ctraderguru Twitter : https://twitter.com/cTraderGURU/ Facebook : https://www.facebook.com/ctrader.guru/ YouTube : https://www.youtube.com/cTraderGuru GitHub : https://github.com/ctrader-guru     ​
Gann Hilo
  6
  0
  379
free  25 Apr 2022
Hello, can anyone help me? I want to add a condition to this indicator but I do not know how to code I want this  indicator to have another Gan Hilo For example,  two GannHilo 10 and 100, and the position opens when the price crosses both, but when the price returns from the Gun 10, the position closes. My language is not English so I hope you understand what I mean And thank you very much for helping me
ONBAR SELL
  6
  0
  378
free  24 Apr 2022
vende en cada vela segun su periodo de tiempo  whatsapp   3218280967 correo cristianalejandropj@gmail.com