Algorithms

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
ChangeTimeFrameHotkey
  0
  0
  114
free  19 Mar 2021
This tool adds Hotkeys to change the timeframe. (cTrader ver4.0 or later is required) Other tools can be downloaded from Gumroad. (for free) ajinori  
Pattern Drawing
  4
  5
  348
free  14 Apr 2021
The Pattern drawing indicator is developed to allow you draw chart patterns easily on your cTrader chart and as an example of cTrader automate API capabilities. You can use it as a trader for drawing chart patterns like: Triangle Cypher Cycles Head and Shoulders ABCD Three Drives Elliott Impulse Wave (12345) Elliott Triangle Wave (ABCDE) Elliott Triple Combo Wave (WXYXZ) Elliott Correction Wave (ABC) Elliott Double Combo Wave (WXY) If you are developer you can use it as a good advanced code sample, and if you are interested you can contribute to improve this indicator via Github. Github:  spotware/Pattern-Drawing   This indicator only works on cTrader 4.0 or later. Changelog Version 1.0.2.0 Release Date: April 14, 2021 Added: Elliott wave pattern degrees Added: Save/load buttons Version 1.0.1.0 Release Date: March 17, 2021 Added: TimeFrame visibility option
free  15 Mar 2021
GT Margin Visualizer allows you to visualize your actual margin level on the on-chart scale together with 100% and Stop-Out level lines and highlighted areas. You can also simulate effect of a custom leverage set via the Leverage parameter. Version history: 1.0 - Initial release 1.1 - Minor enhancements 1.2 - Fixed error causing deletion of all chart objects Feel free to let me know about any issues or post your suggestions for improvements in the comments! Did you like my work?
PinBar Detector
  2
  0
  290
free  15 Mar 2021
    New Version: 1.1 Add the calculation left room candles function, it can get the number of candles didn't touch the pinbar price New parameters: CustomCalLeftRoomCandle:  set how many left candles needs to be calculated CustomLeftRoomLength(%): the percentage of the pinbar nose length to be compared   Result: This is a PinBar detector indicator and I convert from the MT4 version (not convert by auto online tool)  so you can also go to the below line for detail description: https://www.earnforex.com/metatrader-indicators/Pinbar-Detector/   Pinbar Detector is an indicator that tries to detect Pinbars (also known as "Pin-bar" or "Pin bar") and marks them by placing a "smiling face" symbol below the bullish Pinbars and above the bearish Pinbars. It is a pure price action indicator, which is not using any standard technical indicators in its code. The configuration of Pinbar detection can be done via the indicator's input parameters. Pinbar Detector can issue platform alerts and email alerts on detection. The indicator is available both for MT4 and MT5 versions of the trading platform.   Support parameters:   Input parameters CountBars (default = 0) — the maximum number of bars, on which to detect the pinbars. 0 = all. DisplayDistance (default = 5) — the distance from the candles to the pinbar "smiling face" symbols. UseAlerts (default = true) — tells the indicator to issue platform alert with sound on Pinbar detection. UseEmailAlerts (default = false) — tells the indicator to issue an email alert on Pinbar detection. Email should be properly configured in MetaTrader via Tools->Options->Email. UseCustomSettings (default = false) — tells the indicator to use custom Pinbar detection parameters described below. CustomMaxNoseBodySize (default = 0.33) — maximum allowed body/length ratio for the Nose bar. CustomNoseBodyPosition (default = 0.4) — Nose body should be positioned in the top (bottom for bearish pattern) part of the Nose bar. CustomLeftEyeOppositeDirection (default = true) — tells the indicator that the Left Eye bar should be bearish for bullish Pinbar, and bullish for bearish Pinbar. CustomNoseSameDirection (default = true) — tells the indicator that the Nose bar should be of the same direction as the pattern itself. CustomNoseBodyInsideLeftEyeBody (default = false) — tells the indicator that the Nose body should be inside the Left Eye body. CustomLeftEyeMinBodySize (default = 0.1) — minimum size of the Left Eye body relative to the bar length. CustomNoseProtruding (default = 0.5) — minimum protrusion of the Nose bar relative to the bar length. CustomNoseBodyToLeftEyeBody (default = 1) — maximum size of the Nose body relative to the Left eye body. CustomNoseLengthToLeftEyeLength (default = 0) — minimum Nose length relative to the Left Eye length. CustomLeftEyeDepth (default = 0.2) — minimum depth of the Left Eye relative to its length. Depth is length of the part of the bar behind the Nose.   =================================== Winson CoderBlog: https://www.coderblog.in
paid  13 Mar 2021
 BBands Trend Follower / cTrader platform - Automatic Trading System New release "BBands Trend Follower 02.21" In the new release we have added and implemented the following parameters: - Strategy Auto Select: with the cBot running, change automatically the strategy (Reverse or Breakout) after a certain number of losses specifying from the parameters after how many losing trades will be applied. - Gap/Spike Protection: It protects against opening "Gaps" and sudden "Spikes" that can generate continuous opening and closing of positions. - Solo SL/TP exit: if selected, it uses StopLoss or TakeProfit as the only exit strategy. - SL/TP & BreakEven: if selected, it helps the main exit strategy or the "Solo SL / TP exit" in bringing the StopLoss above EntryPrice as soon as you are in profit. - Money Management (Position Sizing) on winning and loosing trade. If the previous position was closed with a profit, increase the volume of the next position. If, on the other hand, the previous position was closed at a loss, it decreases the volume of the next position. From the parameters you can set the amount of volume to increase or decrease by setting the number of trades where to apply it. Gap/Spike Protection: Opening Gap Spike Equity Line with "Gap/Spike Protection OFF"   Equity Line with "Gap/Spike Protection ON" ---------------------------------------------------------------------------- The Trading System uses Bollinger Bands for volatility, but is used in a different way than usual, with long periods and Standard Deviation from 0.1 to 1 with a weighted moving average (it looks like a river). The Bollinger Bands serve mainly as a filter in entering the market avoiding periods of laterality. cBot can be set as Reverse or Breakout strategy, the optimization will indicate the best strategy for each particular Currencies Cross, indices, Metals, Crypto Currencies. Exit strategy is Trend Follower. This strategy is characterized by more trades in loss of small amounts and less trades in gain with larger amounts, the ratio is 55/60% trades in loss and 45/40% trades in gain. The strategy exploits the evolution of the trend while cutting losing positions if the market moves against. Money Management with Position Sizing on winning and loosing trades. In the event that there is a series of loss trades, Position Sizing (on Lose) is very effective as it reduces the amount of volume (lots) after each losing trade. If you have a series of winning trades the Position Sizing (on gain) increases the volume (lots) quantity after each winning trade. Money Management can be activated or deactivated. STRATEGIES DO NOT USE ANY GRID SYSTEM OR MARTINGALE In the markets of the major Forex Currencies Crosses, Metals, oil, Indices and Crypto some of them adapt better on Reverse/Breakout strategies and you can find it out through optimization. DOWNLOAD DEMO VERSION In the strategy:(All positions are protected with StopLoss) - Select Reverse/Breakout strategy - Strategy Auto Select - Gap/Spike Protection - Solo SL/TP exit - SL/TP & BreakEven - StopLoss & TakeProfit are automatically assigned. (Depending on volatility and volume traded in the book) - Money Management (Position Sizing) on winning and loosing trade.  - Exit Strategy: Trend Follow (TakeProfit is floating and is used only as security in case the bot is no more controllable due to connection failure or other causes. When the Bot is active the position is closed only by the StopLoss which Trails). - As soon as you enter the market if the price moves against your position, the Position is closed before the stop Loss is touched. As soon as the Trend Follower is automatically activated, the position is closed only by the Trailing Stop Loss. The Trading System has been designed to work at the best with all types of Forex Cross Currencies, Metals, Oil, Indices, futures and Crypto Currencies that are sensible to Reverse or Breakout strategies. Pay attention to the Trade volume for each instrument as it changes from Forex to CFD (Indices, Metals, Oil, Futures and Crypto Currencies). Some Brokers for CFDs give you the opportunity to trade all of them with micro lots. Others use different Lotsize (example for Indices minimum 1 contract, Gold 0.1 / 1 Oz). In the Trading System, if you enter a wrong Volume value, the Bot will automatically use the minimum tradable volume. Warning: when trading CFDs the results can vary widely between one broker and another. The suggestion is to operate on CFDs using the same broker in which the optimization was made. Backtest and optimization must be done considering the following parameters at best (lined up in sequence of importance and priority): - SharpRatio: (which is a reward to risk ratio) minimum value 0.13 - Max Balance Drawdown & Max Equity Drawdown: Max 15% better under 10%. Discard higher values. Rather than earning, you should consider what you can lose. If you don't pay attention to Drawdown, working with a high leverage is very easy to lose the whole capital. With high leverage you can earn a lot compared to the capital but you can also easily drain the whole account. Using Position Sizing (on gain) you can double or triple the earnings and in this case the Drawdown can go up to max 23%. Do it only if it is worth on increasing the gain. To reduce the Drawdown use Position Sizing (on lose) the gain in this case will be slightly reduced. - Profit Factor: minimum value 1.40 - better if it is higher than 1.50 - Net Profit - Trades number: all optimizations must be done over a minimum of 8/9 years period to have reliable results. - Average Trade: The average earnings for each individual trade. Considering an initial capital of $ 10,000, 200 leverage, (Forex) ordersize (bet) 0.10 lots (10,000 volume). The Average Trade must be more then 20.00 $ per Trade P.S .: When you optimize or backtest put Commission to 50 (x million) and Spread to 2 for major Forex crosses and more for minor crosses. This is used to amortize slippage. - The parameters attached to the bot have been optimized using ICMarket Broker from 08/02/2011 to 01/03/2020. (with some parameters the Drawdown comes out higher then 15% because it was worth pushing on the Money Management (Position Sizing on gain). Initial capital of $ 10,000, 200 leverage - Forex Currencies: ordersize (bet) 0.10 lots (10,000 volume), Commission 50(x million) and Spread to 2. - BitCoin/USD: ordersize (bet) 0.30 lots, Commission 50(x million) and Spread to 167.   To avoid "Over-Fitting": - Optimizations and Backtests must be performed for at least 8/9 or more years for reliable results. The optimization done on short periods is not absolutely reliable. Professional traders optimize and backtest their automatic systems using very long periods (10/15/20 years) of data feeds with paid Data Feeds providers. All Brokers who use cTrader platform for Forex give a free set of Data Feeds of about 8/9 years and for CFDs 5/6 years. - To test if the parameters obtained are robust, do backtests by varying them slightly (do not change REVERSE/BREAKOUT selection). If you get positive results, even if qualitatively lower than the optimized ones, this means that the parameter set is robust and not "Overfitted". ---------------------------------------------------------------------- DOWNLOAD DEMO VERSION Active.cTrader.Bot HomePage Contacts write to: active.ctrader.bot@gmail.com ======================================================          
free  18 Mar 2021
GT MultiSymbol Spread Analyzer allows you to analyze, evaluate, and compare spreads and trading costs of multiple symbols from the historical Tick data of various brokers. You can set up the following parameters: Watchlist (commission) Name of the Watchlist with symbols charged commission fee Commission per mil Commission charged by the broker is converted by the analyzer to the equivalent pips. Together with the average symbol spread this represents the total cost of trade of the symbol: total cost = average spread (avg) + commission pips (comm) Watchlist (no commission) Name of the Watchlist with commission-free symbols Export to File You can choose to export the aggregated results of one broker's account to a .csv file (saved on the Desktop). Multiple files generated from different accounts (brokers) can be merged e.g. in MS Excel or Google Sheets for further cross-broker analysis  (see the below example) By Hours Data export can be aggregated by hours instead of the standard daily aggregation Normalize Symbol Names When selected the analyzer attempts to convert various symbol names (e.g. EURUSD and EUR/USD) used by brokers to a unified format so that data exported from different brokers can be aggregated and analyzed together (e.g. in a pivot table) See the NormalizeSymbolName() function for the mapping rules. In case of need you can add your broker's symbol names   Make sure to use the Tick data from Server (accurate) for Backtesting (you can ignore the Starting Capital and Commission fields): Choose the time period over which you want to analyze the spreads (no more than 1 year is suggested if you use the Create File together with By Hours option) IMPORTANT NOTE: Should you experience errors during the backtest run, ensure the start date is a working day ​The aggregated results are written to the Log: min - minimum spread identified max - maximum spread identified avg - calculated average spread comm - commission fee converted to the equivalent pips total cost - total cost in pips [new in v1.2] normalized - total cost in "normalized pips" where pip size is determined by the analyzer for each symbol. This ensures the normalized pips to have the same size for selected symbol across all tested brokers, thus allowing for an easier total costs comparison   Example of a further analysis of the extracted data in MS Excel PivotTable: (note the differences between the Ø Total Cost vs. the Ø Normalized Cost on indices and crypto caused by different pip sizes among the tested brokers) Version history: 1.0 - Initial release 1.1 - Zero commission watchlist added 1.2 - Normalized total cost added 1.3 - Fixed usage of normalized symbol names in the backtesting log Feel free to let me know about any issues or post your suggestions for improvements in the comments! Did you like my work?  
free  12 Mar 2021
This is a useful indicator that shows how other currency pairs behave in relation to the symbol traded on your chart with a visual representation of 5 other Forex pairs. Download by following the links below. Download & Read Documentation Watch a Video Tutorial   Contact: instant chat group Website: https://clickalgo.com Twitter | Facebook | YouTube | Pinterest | LinkedIn  
free  12 Mar 2021
//OrglobalFx_BreakEven cBOT // orglobalng@gmail.com // Will move stoploss to breakeven and trail the price.
TrueSessionBox
  0
  0
  224
paid  10 Mar 2021
You can easy understand your upcoming sessions.
by xabbu
free  09 Mar 2021
the TDFI Trend indicator, which has a similar name as the TDI (Traders Dynamic Index) is a completly different indicator. To learn more about it, there is a lot of material online for other platforms, but until now the TDFI indicator was not available for cTrader. I would be happy if this indicator is helpful for your trading journey and if it ends up being part of your NNFX algorithm. In order to make this indicator work properly, you have to download and reference this one also ( Reference for TDFI Indicator | Algorithmic Forex Trading | cTrader... )
Reference for TDFI
  0
  0
  182
by xabbu
free  09 Mar 2021
this indicator is needed to perform the TDFI correctly. I would have been lucky to build the TDFI without that reference indicator, but I was not able to achive (and thanks to Panagiotis, you pointed me is this direction). This indicator multiplies the Close Proce by 1000, and this is needed as input for the TDFI, which I will publish very soon. Without the TDFI, this indicator is nearly useless...
Sarry
  8
  5
  242
paid  09 Mar 2021
#Sarry is one of the most powerful scalper ever, if you don't believe me download the backtest only version and do your tests. Download Here