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
free  05 Jul 2017
Hi, This cBOT will display 8-Major Pair Strength (in Pips) in different time frames, sorted.  Basically, it helps in knowing 1. how the Pairs are behaving in group and 2. which are the two opposite Major Pairs and 3. is it wise to trade or not.   4. It is best to trade the two extreme Pairs on Daily or 4Hr Time Frame (when London or US session opens). APLLY cBOT on : 1-min TIME FRAME WAITING :  DUE TO cTRADER internal issue; First TIME OPEN PRICE Loading takes time. so be patient. around 4 to 5 mins. then once loaded, it updates the prices within mili-seconds on each minute. Please give me your feedback on what other features can be displayed.  (inside the code, there is a code of individual 28 pairs that can be used to display the individual pairs also. have disabled it). Thank you ! /// Saleem Khan  
by Vince
free  27 Aug 2018
V.2 - added discription on how to modify the behavior of the indicator - added the possibilty to alert you on screen, with sound and by email (with special thanks to afhacker) (added parts are in Bolt) This is a modification on the Supertrend indicator of spka111. This indicator projects 2 Supertrend indicators on 1 chart with customisable parameters. It will also display the high or low of the last changes above/below the candle that caused the change. You can change the behavior of the Supertrend indicator by modyfing "_averageTrueRangelong" and "_averageTrueRangeshort" in the "Initialize()" part. Delete the ".WilderSmoothing". Insert a "." after "MovingAverageType". It will show you all the options you can change it to. This will affect the behavior of the indicator slightly and you can use it to fit your tradingstyle. To let the indicator part send you emails, alert you on screen or play a soundalert I used a method developed by afhacker. He created an alert popup window. You can find his project here: https://ctrader.com/algos/cbots/show/1692. Here you will find all the info you need to make this work. I will show you the Alert-lines I added to this algorithm to make it so it will create alerts on this indicator. The line you are looking for begins with "Alert.Factory.Trigger". The text between brackets e.g. "Buy Long"  you can change to what you like that the alert will display. As afhacker describes is that the time it will show in the popup window and emails are in UTC. You can this in the popup alert settings to your liking. Thank you afhacker for creating this great project! // Test Notifications on chart { var value = MarketSeries.Close[index - 1]; if (Functions.HasCrossedAbove(_upBufferlong, value, 1)) { var name = "BuyLong"; var high = MarketSeries.High[index - 1]; var text = high.ToString(); var xPos = index - 1; var yPos = high; var vAlign = VerticalAlignment.Top; var hAlign = HorizontalAlignment.Center; ChartObjects.DrawText(name, text, xPos, yPos, vAlign, hAlign, Colors.Lime); Alert.Factory.Trigger(TradeType.Buy, Symbol, MarketSeries.TimeFrame, Server.Time.AddHours(1), "Buy Long"); } } { var value = MarketSeries.Close[index - 1]; if (Functions.HasCrossedBelow(_downBufferlong, value, 1)) { var name = "SellLong"; var low = MarketSeries.Low[index - 1]; var text = low.ToString(); var xPos = index - 1; var yPos = low; var vAlign = VerticalAlignment.Bottom; var hAlign = HorizontalAlignment.Center; ChartObjects.DrawText(name, text, xPos, yPos, vAlign, hAlign, Colors.PeachPuff); Alert.Factory.Trigger(TradeType.Sell, Symbol, MarketSeries.TimeFrame, Server.Time.AddHours(1), "Sell Long"); } } // Test Notifications on chart { var value = MarketSeries.Close[index - 1]; if (Functions.HasCrossedAbove(_upBuffershort, value, 1)) { var name = "BuyShort"; var high = MarketSeries.High[index - 1]; var text = high.ToString(); var xPos = index - 1; var yPos = high; var vAlign = VerticalAlignment.Top; var hAlign = HorizontalAlignment.Center; ChartObjects.DrawText(name, text, xPos, yPos, vAlign, hAlign, Colors.Green); Alert.Factory.Trigger(TradeType.Buy, Symbol, MarketSeries.TimeFrame, Server.Time.AddHours(1), "Buy Short"); } } { var value = MarketSeries.Close[index - 1]; if (Functions.HasCrossedBelow(_downBuffershort, value, 1)) { var name = "SellShort"; var low = MarketSeries.Low[index - 1]; var text = low.ToString(); var xPos = index - 1; var yPos = low; var vAlign = VerticalAlignment.Bottom; var hAlign = HorizontalAlignment.Center; ChartObjects.DrawText(name, text, xPos, yPos, vAlign, hAlign, Colors.Red); Alert.Factory.Trigger(TradeType.Sell, Symbol, MarketSeries.TimeFrame, Server.Time.AddHours(1), "Sell Short"); } } I will upload the new indicator with email notifications when I get this working.
free  26 Sep 2013
This Indicator produces 2 x Moving Averages together on the chart, of which you can edit the settings as follows. ie SET Applied price to Close or Median using Zero, 1 , 2, 3 or 4 Price    = 0 - Close   Price    = 1 - Open   Price    = 2 - High   Price    = 3 - Low   Price    = 4 - Median Price   = (High+Low)/2  
free  26 Mar 2015
3 EMA MTF (Multi-timeframe) using System; using cAlgo.API; using cAlgo.API.Internals; using cAlgo.API.Indicators; namespace cAlgo.Indicators { [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC)] public class EMAMTF : Indicator { [Parameter(DefaultValue = 14)] public int Periods { get; set; } [Parameter("EMA Timeframe1", DefaultValue = "Minute15")] public TimeFrame EMATimeframe1 { get; set; } [Parameter("EMA Timeframe2", DefaultValue = "Hour")] public TimeFrame EMATimeframe2 { get; set; } [Parameter("EMA Timeframe3", DefaultValue = "Hour4")] public TimeFrame EMATimeframe3 { get; set; } [Output("EMA1", Color = Colors.Blue)] public IndicatorDataSeries EMA1 { get; set; } [Output("EMA2", Color = Colors.Red)] public IndicatorDataSeries EMA2 { get; set; } [Output("EMA3", Color = Colors.Yellow)] public IndicatorDataSeries EMA3 { get; set; } private MarketSeries series1; private MarketSeries series2; private MarketSeries series3; private ExponentialMovingAverage Ema1; private ExponentialMovingAverage Ema2; private ExponentialMovingAverage Ema3; protected override void Initialize() { series1 = MarketData.GetSeries(EMATimeframe1); series2 = MarketData.GetSeries(EMATimeframe2); series3 = MarketData.GetSeries(EMATimeframe3); Ema1 = Indicators.ExponentialMovingAverage(series1.Close, Periods); Ema2 = Indicators.ExponentialMovingAverage(series2.Close, Periods); Ema3 = Indicators.ExponentialMovingAverage(series3.Close, Periods); } public override void Calculate(int index) { var index1 = GetIndexByDate(series1, MarketSeries.OpenTime[index]); if (index1 != -1) { EMA1[index] = Ema1.Result[index1]; } var index2 = GetIndexByDate(series2, MarketSeries.OpenTime[index]); if (index2 != -1) { EMA2[index] = Ema2.Result[index2]; } var index3 = GetIndexByDate(series3, MarketSeries.OpenTime[index]); if (index3 != -1) { EMA3[index] = Ema3.Result[index3]; } } private int GetIndexByDate(MarketSeries series, DateTime time) { for (int i = series.Close.Count - 1; i > 0; i--) { if (time == series.OpenTime[i]) return i; } return -1; } } }  
free  27 Sep 2013
This Indicator produces 3 x Moving Averages together on the chart, of which you can edit the settings as follows. ie SET Applied price to Close or Median using Zero, 1 , 2, 3 or 4 Price    = 0 - Close   Price    = 1 - Open   Price    = 2 - High   Price    = 3 - Low   Price    = 4 - Median Price   = (High+Low)/2  
30mingrids
  0
  0
  121
by summer
free  07 Oct 2020
 
free  24 Apr 2020
Version: 1.0.1 - 24 April 2020 You can find this project on GitHub: https://github.com/Obiriec/A3-Cicli-Hosoda-with-tollerance-lines // ------------------------------------------------------------ // //      A3 Cicli Hosoda with tollerance lines //      Versione 1.0.0 del 30/03/2020 //       //      Autore: Armando Brecciaroli (email: a.brecciaroli@me.com - Telegram: https://t.me/Obiriec)   // //      Questo deve essere usato su Daily TF! // //      Questo indicatore mostra i giorni ciclici di Hosoda: //      - la linea grigia è indicato il giorno calcolato //      - la linea rossa indica il giorno di minore tolleranza //      - la linea blu il giorno di maggiore tolleranza. // //      Premere ctrl e spostare il mouse per impostare la data di inizio (linea arancione). // //      Mercato: timeframe Daily //      Coppie: Tutte // //      Changelog: //      v.1.0.1 (Aprile 24, 2020) Cambiati i colori e aggiunta intestazione //       //------------------------------------------------------------ // //      A3 Hosoda cycles with tolerance lines //      Version 1.0.0 of 30/03/2020 // //      Author: Armando Brecciaroli (email: a.brecciaroli@me.com - Telegram: https://t.me/Obiriec) // //      This is to be used on Daily TF! // //      This indicator shows the cyclical days of Hosoda: //      - the Gray line indicates the calculated day //      - the red line indicates the day of least tolerance //      - the blue line on the day of greatest tolerance. // //      Press ctrl and move the mouse to set the start date (orange line). // //      Market: Daily timeframe //      Couples: All // //      Changelog: //      v.1.0.1 (Aprile 24, 2020) Changed colors and added header // //------------------------------------------------------------            
A3 MARSI Cross Alert
  0
  5
  440
free  29 Apr 2020
This indicator derives from the famous RSI-O-MA which is located at this link (https://ctrader.com/algos/indicators/show/2004) to which I added a sound "alert" that warns at each intersection of the two lines . The indicator is obtained with an RSI applied to an exponential moving average, with trigger. The signals of this indicator are not to be confused with the classic RSI, they are very different and give us the opportunity to evaluate the formation of new minimums or maximums in the price trend. This indicator was born from my idea of being able to have a very simple sound signal even if I am not right in front of the graph! Happy trading everyone and ... click "like" if you liked this idea, thanks !!! Support: If you have any question or issue with the product please contact me via telegram.    Parameters If you want this is an example of sound that you could use.  
free  02 Apr 2020
This is a multi timeframe indicator based on the most famous "Ichimoku Kinko Hyo". With this indicator you can have simultaneously on the same screen both the indications of the current timeframe and in overlay the lines that form in the highest timeframe. We recommend using the indicator on a h4 timeframe, the lines of the daily will be drawn on the same screen. The interface allows you to set all the parameters that draw the lines, both as numerical values and as colors and types of lines. The default values are already entered for the projection of the Daily timeframe on the h4 timeframe. The values for timeframes are expressed in minutes and are as follows: h1 = 60 h4 = 240 Daily = 1440 (default) Weekly = 10080 Support: If you have any question or issue with the product please contact me via telegram.  Parameters
Absolute Strength
  6
  5
  1205
free  22 Jun 2019
Follow my cTrader Telegram group at https://t.me/cTraderCommunity; it's a new community but it will grow fast, plus everyone can talk about cTrader indicators and algorithm without restrictions, though it is not allowed to spam commercial indicators to sell them. As requested, I made the Absolute Strength Indicator. Mode = 1, RSI-Like computation Mode = 2, Stoch-Like computation For anything, contact me by commenting below or by joining the telegram group linked above
by adaled
free  02 Jul 2013
The Acceleration/Deceleration Oscillator measures whether the market driving force is increasing or decreasing. It gives you an early warning of changes in price direction.  
Acceleration Bands
  0
  5
  2401
free  20 Sep 2012
Price Headley's Acceleration Bands serve as a trading envelope that factor in a stock\'s typical volatility over standard settings of 20 or 80 bars. They can be used across any time frame, though Headley prefers to use them most across weekly and monthly timeframes as breakout indicators outside these bands, while using the shorter time frames to define likely support and resistance levels at the lower and upper Acceleration Bands. Acceleration Bands are plotted around a simple moving average as the midpoint, and the upper and lower bands are of equal distance from this midpoint