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
by mfejza
free  08 Sep 2022
Relative Momentum Index indicator script. This indicator was originally developed by Roger Altman (Stocks & Commodities V. 11:2 (57-60)). Use this indicator as trade zones; for long when indicator value is above level 70; for short when indicator value is below level 30  
TPO Profile
  7
  0
  311
free  10 Sep 2022
 It is VISUALLY BASED on the best TPO/Market Profile for MT4 (riv-ay-TPOChart.v102-06 and riv-ay-MarketProfileDWM.v131-2) See also -->> Weis & Wyckoff System <<-- It's probably the second Free/Open-Source Market Profile you'll find for cTrader without having to Pay/Trial or allow full access without knowing what it's doing... The first is Market Profile of EarnForex for cTrader which my notebook doesn't run very well, so I made this TPO Profile, which runs like a charm :) This has almost all the functionality of the riv-ay-TPOChart.v102-06 it was based on, plus a few things I added: Preset Settings: Optimized for most assets (Currencies/Metals/Indices) focusing on Precision/Performance Balance, and of course it's not possible to cover everything, but you can Customize if you need to. Presets from 1m to 3 days (Timeframe) TPO Divided into Colums: Just like in the books. Custom TPO Interval/rowHeight: - Want more accuracy at the cost of more processing or just a custom TPO? You can have both. Low Resource Usage: Despite being made to run on a Celeron 1.50hz, still use common sense when customizing the TPO. Tip: Value Area disabled and LineStyle=Solid givens High Performance Lots of color choices - Default is optimized for black background Set your cTrader Timezone to GMT+3 if you want to sync the cTrader's Period Separator with TPO Session. (GMT+3 is the same timezone of MT4 on most brokers) =================== UPDATE ======================= Added POC Migration Fixed critical issue: An Empty field occurred when a new lowest was formed during the Live Market Session. This fix changed the entire vital structure of code and increased CPU usage while in Live Market, to lessen the impact of this on performance, the TPO will be updated when the price moves half of the defined rowHeight Some minor improvements ===  Want to make a donation? === You can do it on: -->>> Donation Link <<<-- All parameters are self-explanatory. The colors of the white background images are not the default, the colors that come by default are for a black background (First image) To see the images clearly, right click inside the image and open in new tab Letters Style Squares Style Pseudo Histogram Style
AlphaTrend indicator
  6
  5
  181
by mfejza
free  01 Sep 2022
This indicator show trend and real market value of the financial instrument Price below indicator when when indicator is green show discount on quote currency Price above indicator value when indicator is red show discount on base currency
TrendValue indicator
  2
  0
  253
by mfejza
free  01 Sep 2022
The TrendValue indicator show trending zones for long and short trades
RSI on Chart
  2
  0
  234
by mfejza
free  04 Sep 2022
Show RSI indicator on chart (in Pips)
AW Macd +MacdLine
  3
  0
  214
free  31 Aug 2022
some user add moving average to macd to see better. in ctrader 4.3.11 there is a problem with this . I make a macd that have macdline for that users.
by mfejza
free  19 Sep 2022
This custom indicator is a combination of TrendValue (https://ctrader.com/algos/indicators/show/3070) indicator and RVI (Relative Vigor Index) The TrendValue indicator are used to identify trading zones for long and short trades (green and red dots) the RVI indicator is used to identify the trade StopLoss based in low and high indicator values (+0.2; -0.2)
Engulfing Candles
  8
  5
  247
free  09 Sep 2022
An engulfing candle pattern consists of two candles, with the current 'engulfing' the previous one. In other words, the body of the current candle is larger than the previous, such that the body of the previous candle would fit inside the current one. This pattern can indicate a sudden increase in pressure from one side of the market onto the other, especially at the end of the trend, and can be used as a confluence for a trend reversal. This indicator draws arrows onto the chart to show when engulfing candles occur, with each arrow coloured appropriately.  Improvements are needed on the positioning of the arrows. Initially, this was all okay on all the pairs I tested, however, due to not re-loading the indicator, it was not re-drawing as expected. I'm sure I'll fix this at some point. Credit goes to ctid306377 for their original Candlestick Patterns DEMO indicator - code snippets were adapted from this indicator. However, the full Candlestick Patterns indicator is more comprehensive and offers all candlestick patterns plus additional information and text options, and is available for purchase from ctid306377 (have a look at the indicator page if you're interested). Usage in cBots: • To use with cBots, declare the EngulfingCandles indicator in your class body (class scope, outside of a method body): private EngulfingCandles _engulfingCandles { get; set; } • Then instantiate inside your OnStart() method: _engulfingCandles = Indicators.GetIndicator<EngulfingCandles>(); • Finally, to reference the last engulfing candle, either in your OnTick() or OnBar() method, access the DataSeries 'PatternData' using the appropriate method calls, e.g. PatternData.LastValue or PatternData.Last(0), for instance: var bull = PatternData.Last(0) == 1 ? true : false; Changelog: - 31/08/2022: Added option to store (keep) last engulfing result in PatternData. Use this if your strategy relies on looking up the last engulfing result (not necessarily on last bar close). - 09/09/2022: Changed 'Bull' to 1 and 'Bear' to 0 inside the Enum. Chartshot: AUDCAD, M1  
Two 34HMA Cross
  5
  0
  215
free  29 Aug 2022
Note: if you are the owner of the original indicator and would like me to remove this port, please feel free to message me and I will be happy to do so. Another port of an existing indicator - this one is by PP Signal. All credit goes to the owner. The original indicator I ported can be found here.  I have only included the calculations of the two 34-period Hull Moving Averages along with a basic trend cloud. I cannot be bothered to add on the buy and sell signal labels, but if anybody would like to, please feel free to build upon this script. This technical works very well in trending markets, but not so well in ranging and consolidating markets (as expected with one based on the Hull Moving Average). Chartshots: EURUSD, H1 - good example of a trending market here, the indicator works reasonably well.   GBPCHF, M15 - a ranging market. You can see that, due to the reliance upon candle closes for calculations, the indicator is very unresponsive to this type of market. Be very cautious when using this indicator.  
free  29 Aug 2022
Note: if you are the owner of the original indicator and would like me to remove this port, please feel free to message me and I will be happy to do so. This is a port of Lancelot_Augur (a.k.a. daichiyea)'s indicator (originally designed for Crypto pairs) to confirm trends in cTrader. All credit goes to the original author - the original indicator can be found here. Since it uses exponential moving averages, it is a lagging indicator, and thus should not be used in attempts to predict reversals. However, I have found this technical to be very reliable at confirming trends and aiding trade set-ups. Changelog: - 28/08/2022: Removed unnecessary imports of directives and fixed OnBalanceVolume dependency.    
paid  28 Aug 2022
Customizable on the go workspace for everyday trading. It makes chart interactions a bit more comfortable, efficient and good looking. - Automated Fibonacci Builder | Tracer | Alerts - Economic Calendar Voice Alerts - Stats | Positions Break-Even | Profit Loss - Scale - Quick Entries with Automatic Volume Calculator - cTrader - Telegram Alerts Bot - and so on, it's a long story My English is not so good, but I've recorded a video overview + a bit more details at my site www.coderias.com/p/ctrader-power-toys.html     Source code is not public. You can download this tool from my website only :  Coderias.com  There is no other way to save copyrights.   ***   Please do not write comments\questions here - I will not see it. U can use chat at my site or contact me directly via Telegram t.me/CoderiasCom   ***   Have a nice day, and hello from Ukraine, Lviv. Якщо ти з України, или русскоязычный, но не Zомби - >  t.me/CoderiasCom        
Stochastic RSI
  3
  0
  248
free  28 Aug 2022
Akin to the Stochastic Oscillator, the Stochastic RSI is a technical indicator which oscillates according to change in the RSI (rather than price). It works by taking a moving average of the cumulative changes in the RSI over a given time period. The K% line is a series of values calculated by the formula:  100 x (current close - max. of RSI in given period) / (max. - min. of RSI in given period).   The D% line is a moving average over a given period of the K% line, which results in a smoother, less sensitive curve. A popular strategy is trading the crosses between the K% and D% lines according to the current market sentiment. This is slightly different to qualitiedx2's versions (#1 and #2) of the Stochastic RSI, which are unfamiliar to me - please do let me know if I've given this an incorrect title. My implementation is similar to that described here and here (like the one on TradingView's platform). Changelog: 27/08/2022 - added missing getters and setters to attributes. 28/08/2022 - removed deprecated 'PersentsK' and 'PersentsD' and implementation of the StochasticOscillator interface. Added cloud. Fixed code style. Added indicator attributes.   For scalping on very short timeframes (<M5), it is recommended to use a Stochastic Length of '8'.  Chartshots: AUDUSD, M1: Settings (3, 3, 14, 8, MovingAverageType.Simple)   AUDUSD, M5: Settings (3, 3, 14, 14, MovingAverageType.Simple)