Breakout Reverse 5 Strategies paid

by mparama in category Range at 16/06/2020

 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 the 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 the 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 on winning and loosing trade.


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".




Active.cTrader.Bot HomePage 

Contacts and information:





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