New release "BIAS Daily Time 2.21" paid

by mparama in category Trend at 06/01/2021

New release "BIAS Daily Time 2.21"

Chart on Daily TimeFrame

In the new release we have enhanced Money Management (Position Sizing) with the ability to reduce the amount of volume in consecutive losses by choosing the number of losses and how much the volume should be reduced.

Money Management is applied differently on Buy / Sell and optimization must be done separately for Buy / Sell for each day of the week.

This protection is particularly suitable in case of high volatility due to global political and macroeconomic factors where prices can undergo strong fluctuations creating considerable volatility by upsetting the natural price trend that creates the possibility of exploiting the market BIAS.

The general optimization must be done by leaving the default values for StopLoss / TakeProfit and excluding the Money Management then optimize the basic parameters (Start hour / minutes, Stop hour / minutes, variables) for the first day of the week (Monday) for Buy and then for Sell.

When the basic parameters are optimized, using the same parameters proceed to optimize the Money Management separately (Buy / Sell).

To speed up optimization we advise you to open a new cTrader instance in "Settings / Startup / Multiple profiles / Create new profile" where on one you optimize Buy and the other Sell on the same day of the week.

Once you have optimized all days of the week (Monday to Friday), including Money Management, enter the values obtained on all days in the cBot and then optimize StopLoss / TakeProfit, (it will only take a few minutes).

BIAS Daily Time cBot

cTrader Platform Trading System based on BIAS Strategy Intraday.

This strategy is characterized by very low DrawDowns from 1 to 5% maximum.

The "Bias" is a recurring / repeated inefficiency of the market from which we can take advantage.

A Bias is an inefficiency that reappears on the market with a certain systematicity: it can be linked to specific time slots, or to certain days of the week, but it can also extend to several weeks, and in these cases we are talking about seasonal trends. It is a fairly simple analysis to conduct, but it can give very useful information, both to the discretionary trader and to the systematic trader.

The "Bias Daily Time cBot", through the optimization on daily time bands, analyzes the market of a specific Forex Currency Cross, CFDs (Indices, Futures, Crypto Currencies, Metals ...), to identify the presence of Bias and detecting the repeated trend over time of a symbol going Short / Long in a daily time slot on a particular day of the week.

The Advantages to operate IntraDay are more than one:

- the higher frequency of operations (which are able to intercept minor but more frequent trends compared to a Multi-Day strategy).

- the possibility of working with tighter stops and managing the position more precisely.

less exposure to upcoming external events due to global macroeconomic factors that can hit the overnight market and create discontinuity in prices.

- up to a more efficient use of the available capital, being able to "fit together" strategies that work at different times of the day during the days of the week.



Each days of the week must be optimized independently. Buy & Sell as well in each day must be optimized separately.

In the strategy:

- Use Daily TimeFrame

UTC Time (time zone): Date and time are based on "Utc Server Time". UTC (country time difference) can be set from the parameters section from -12 to +14

Daylight saving time (where applied) is set automatically.

Different Parameters for Long & Short, they work autonomously.

Automatic adjustment for opening / closing time: During the optimization process if the opening time is greater than the closing time the last one will be moved towards the maximum allowed closing time. The same for CFDs for opening hours.

Symbol Market Hours (Open / Close): for CFDs (Indices, Futures, Crypto Currencies, Metals ...) are already set up for ICMarket and Pepperstone brokers. By sending us an email we can set them up for different brokers.

StopLoss & TakeProfit can be set as Price or Equity percentage. The optimization process will choose the percentage that best suits the price range of the analyzed symbol.

4 indicators to filter market entryMACD CrossoverTriangular Mov. AverageSMA_TRMA_IndSma_Bull_Bear_Ind. (The last 2 indicators are setted for Daily TimeFrame and will be downloaded together with the cBot)

18 variable combinations, using indicators, to filter market entry. From -7 to 10. Negative numbers indicate a reversal bias (mean reverting propensity). With the variable set to 0 (zero) all filters are excluded and the cBot will only work on the time bands. The optimization process will choose the filters that best suit the analyzed symbol.

Optimization Criteria (GetFitness), you can set it to "Custom" with the following Criteria:



ProfitFactor/ minimize MaxEquityDrawDownPercentage



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

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 8/9% better under 5%. 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 10%. 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 400 trades adding up all the Long and Short trades of all the days of the week involved.

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.

Considering that the strategy works on intraday with a few hours in the market, very low DrawDowns are obtained with averagetrades very often below $ 20 per trade. Using Money Management (Position Sizing) the AverageTrade will be raised to values above $ 20 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 and CFDs. This is used to amortize slippage.

- The parameters attached to the bot have been optimized using ICMarket Broker (Forex from 08/02/2011 to 31/10/2020) (with some parameters the Drawdown comes out higher 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. 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. 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(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class BIAS_Daily_Time : Robot
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

        protected override void OnStart()
            if (RunningMode != RunningMode.Optimization)
                Chart.DrawStaticText("download_DEMO", "DEMO:" + "\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