Breakout_Reverse 5 Strategies 11.21 paid

by mparama in category Range at 14/12/2021

Multi TimeFrame Strategies

Pure Price Action

Implemented a Consecutive Losses Protection for Long & / or Short positions, as a prevention in case of high volatility. 

This protection is particularly suitable for Reverse / Mean Reversion strategies where a high volatility can upset the Mean Reversion propensity typical of the Forex currency markets. 

It can also be applied to Breakout & Trend Following strategies to reduce DrawDown (where applicable). 


Open an account with Gumroad and become an affiliate and start earning by selling our products: Become an affiliate for Active cTrader Bot


Multi TimeFrame program uses 5 different strategies based on supports and resistances by calculating the maximum and minimum prices on a certain number of bars on 5 different Timeframes

The 5 strategies work independently and in each strategy the Buy & Sell parameters are different and work autonomously. 

In the event that all the strategies are open with the Buy & Sell operating, there may be a maximum of 10 open positions. 

However, the case in which all strategies are used with activated Buy & Sell is rare. 


In the markets of the major currencies crosses, Metals, oil and Indices some of them adapt better on Breakout strategies and others on Reverse strategies and you can understand it by doing optimization. 

For example, the major currencies cross adapt better on Reverse and mean reverting strategies. American indices such as S&P500 and also the DAX in Europe fit better on Breakout strategies. 

Each strategy must be optimized independently of the others. Buy & Sell as well in each strategy must be optimized separately. 

However in each strategy there are at most 3 main parameters to be optimized. 



  •  Breakout 

  •  Reverse 

  •  Reverse On Livel 

  •  Trend Breakout 

  •  Trend Reverse 

Exit Strategies: (All positions are protected with StopLoss) 

Strategy logic exit 

Trail & Strategy 

StopLoss & Breakeven / TakeProfit 

Trend Follow (TakeProfit is floating and is used only as security in case where the bot is no longer controllable due to connection failure or other causes. The position is closed only by the StopLoss which Trails) 

Solo StopLoss & Take Profit 

Solo Trailing (TakeProfit is floating and is used only as security in case where the bot is no longer controllable due to connection failure or other causes. The position is closed only by the StopLoss which Trails) 


In each strategy: 

5 different Timeframes 

Different Parametrs for Long & Short, they work autonomously. 

StopLoss & TakeProfit are automatically assigned (Depending on volatility and volume traded in the book) 

Trailing Stop is automatically assigned

1 single entry strategy 

6 different exit strategies. Optimization will indicate the best exit strategy. 

- Option to Cut DrawDown (when it's appropriate to use) 

Money Management (Position Sizing) on winning and loosing trade. 

Consecutive Losses Protection for BUY / SELL (Separately) 



The optimization process, must be done for each strategy excluding the others and separately on a single strategy first Buy and then Sell), on a normal computer, it can take longer (consider that you are working on 5 TimeFrame) but in the end it is worth as you will get very satisfying results and succeeding also to understand where the symbol moves better on Buy (long) or Sell (short) in Breakout or in Reverse. When the optimization of a strategy ends, set aside the best parameters. When has been done for all strategies, manually enter the parameters of each strategy in the bot.  

The Trading System has been designed to work at the best on all types of Forex cross currencies, Metals, Oil, Indices, futures and Crypto Currencies. 

Pay attention to the Trade volume for each instrument as it changes from Forex to Indices, Metals, Oil, Futures and Crypto Currencies. Some Brokers for CFD 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 value, the Bot will automatically use the minimum tradable volume. 

Warning: when trading CFDs (Indices, Futures, Crypto Currencies, Metals) 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. In this period consider at minimum to have more than 500 trades. Total trades must be obtained by adding the trades of all the strategies used. Strategies can obtain a minimum of 50 + trades in one way (Buy or Sell) 

Average Trade: The average earnings for each individual trade. Considering an initial capital of $ 10,000, 200 leverage, 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 Pepperstone Broker from 08/02/2011 to 15/03/2020 (with some parameters the Drawdown comes out  higher then 15% because it was worth pushing on the Money Management). 

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 "Livel TF" which is the Timeframe). 

If you get positive results, even if qualitatively lower than the optimized ones, this means that the parameter set is robust and not "Overfitted". 



Additional products:



Active.cTrader.Bot HomePage  

Contacts and information: 


Open an account with Gumroad and become an affiliate and start earning by selling our products: Become an affiliate for Active cTrader Bot







Warning! Executing the following cBot may result in loss of funds. Use it 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.
Formula / Source Code
Language: C#
Trading Platform: cAlgo
´╗┐using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;

namespace cAlgo.Robots
    [Robot("Breakout_Reverse_5_Strategies", TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class Breakout_Reverse_5_Strategies : Robot
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

        protected override void OnStart()
            if (RunningMode != RunningMode.Optimization)
                Chart.DrawStaticText("download_DEMO", "\n\n\n\n\n\nTo download the DEMO Version please visit:" + "\n\nContacts please write to:", VerticalAlignment.Top, HorizontalAlignment.Center, Color.Yellow);

        protected override void OnTick()

            // FOR CONTACTS:

        protected override void OnStop()
            // Put your deinitialization logic here

havenhaven0268 - December 15, 2021 @ 11:56

I agree!

 happy wheels on PC, smartphones...

among012a - December 21, 2021 @ 08:49

I just wanted to let you know that I just came across your website and I found it very interesting, providing me with a lot of valuable information.

coloring pages

davidkanedv - February 22, 2022 @ 17:36

I enjoyed reading your post; it was really helpful to me. If you have any spare time, you may play retro bowl with me. 

alexac0331 - June 17, 2022 @ 13:05

Hey thanks for sharing detailed coding with us. I think the writer who wrote this must know how to combine a quality article writing uk and coding together. Keep up the good work buddy.