Safety Tunnel Version 1.5 Buy Source code included Free Demo

Product Image


Source code included
  • Current version1.5
  • Last updateJanuary 2021
  • Published January 2017
  • Tags

    Grid Trade-management

1. Description

The Safety Tunnel cBot turns your losing trades into winners using a unique imbalanced hedging strategy which places alternative trades until an exit point is reached.

  • Easy to set up and supervise
  • Backtests using random trades, and makes money!
  • Trades mini accounts from €1,000

The usage and configuration of the cBot is very easy.

  • Buy or Sell buy starting the Robot
  • Let the Robot manage the trades!

It offers a complete trade management solution, from initial trade to recovery.

  • First, the Robot tries to apply a configurable trailing stop method
  • The recovery mechanism kicks when a trade goes into negative.

2. How does the recovery mechanism work?

For demonstration purposes, lets assume you buy 0.01 lots of EURUSD at 1.12500. If the trade goes into negative right away, the recovery mechanism kicks in.

  • A sell position of 0.02 lots will be open at 1.12000, aming to exit both trades at 1.11500 plus your take-profit.
  • A buy position of 0.03 lots will be placed at 1.12500, aming to exit at 1.13000 plus your take-profit.
  • If the buy position is open, a sell position of 0.05 lots will be open at 1.12000 aiming to exit all trades at 1.11500 plus your take-profit.

This process will repeat with increasing but not exponential lotsizes until an exit point is found or until the maximum amount of trades is placed. If the Robot has placed the maximum amount of trades, it will start to accept partial losses until the deal is closed.

3. Input Parameters

When creating and instance of the Robot, you will be presented with a set of options as input parameters. Don't despair if you think they are too many, because parameters are grouped into self-explanatory blocks. Each functional parameter is explained below.

Label The Label allows the Robot to identify its own trades when reloaded or the platform restarts. As a rule of thumb, it should not be changed and it should be unique to the current Robot instance.
Lotsize list [,] This parameter controls the size of all trades the robot will open. It should be a sequence of floats (ie: 0.01) seperated by the ',' character. The length of this list should be equal or greater then the Recovery Trades parameter
Stop after last trade If the trade plan is fully allocated and all positions are closed this parameter will stop the robot, otherwise the robot will immediately open a new position to start a new trade plan
TradeType for first trade The tradetype of the first trade that will be open when the robot starts (Buy or Sell)
TakeProfit (0 not used) Take-profit for the first trade. Not used during the recovery process. It will not be used if set to 0
Trailing Stop trigger (0 not used) Number of profitable pips to trigger the trailing stop mechanism on the first trade. The trailing stop is disabled during the recovery process
Trailing step in pips When the trailing stop mechanism is active this parameter sets how much the StopLoss will be set from the current price
Recovery Trades Maximum amount of trades to place during the recovery process.
Zone in pips Distance in pips between buy positions and sell positions. A higher value will decrease trading frequency but will make deals to last longer. If the spread is below one pip, you can use a zone of 50 pips. If the spread is between 2 and 3 pips, you should set a zone over 75 pips. If the spread is above 3 pips, you need a zone of at least 100 pips.
Profit Target for recovery in pips Overall profit at which we wish to close deals. A bigger value will cause deals to last longer in time. Please note this is not the take-profit for the first trade. This profit target is only applied during the recovery process.
Stop adding trades During the recovery process the Robot will stop adding trades and start to cut back exposure.
Show Tunnel This will draw two lines of the upper and lower bounds of the recovery zone
Show Breakeven level This will draw a line of the breakeven level during the recovery process
Show Profit target level This will draw a line of the target profit level during the recovery process. If the Profit Target parameter is set to 0 this will be the same level as the breakeven level

4. Backtest & Results

The Robot takes random trades in backtest mode

Description:   Although backtest cannot give an exact simulation of usage of this robot, because normally it is the traders' responsibility to take entry decisions, the backtest will generated random trades and let the robot manage those open trades. We can clearly see that the robot successfully creates profit from totally random trades. The robot will take the trades into the safety tunnel and lead them twaords profitable exit.

Symbol:   EURUSD

Period:   01/01/2016 - 31/03/2016  3 months

Starting Capital:   €5000

Commission:   30 per Million

Data:   Tick Data from server

Download parameters used for this backtest 

5. Installation Instructions

5.1 Installing Demo Version

  • Copy the downloaded .algo file into your cAlgo Robots Sources folder : cAlgo/Sources/Robots
  • -- OR --
  • Double click the downloaded .algo file. This already installed cAlgo/cTrader platform will install it
  1. Launch cAlgo or cTrader and verify you have the file Safety Tunnel_v1.4_demo in your robots list on cAlgo
  2. You are ready to go!

5.2 Installing Full-Version (source code included)

  • After purchase and on the downloads page, download and extract the Safety Tunnel_v1.5 file anywhere on your computer
  • Copy the Scyware.cAlgo.OrderManager.dll file into cAlgo API folder located in : cAlgo\API
  • copy the Scyware_SafetyTunnel.algo into your cAlgo robots folder : cAlgo\Sources\Robots
  • -- OR --
  • Double click the Scyware_SafetyTunnel.algo file. Your cAlgo/cTrader platform will automatically install it
  • In cAlgo and if you need to re-build the robot, verify that the Scyware.cAlgo.OrderManager.dll library is properly referenced from within the Robot.
  • You are ready to go!

6. FAQ

It is not, please do not trade with an US Broker.
Using a VPS is good but not imperative
No, you can't, because it would confuse the recovery mechanism. When on a single chart, please go only long or only short. In other words don't run many instances of the robot on the same symbol
Please don't. Let the Robot do its job. All you can do is closing the deal completely.
It depends on the Label you set. If other trades have the same Label it will be managed by the Robot, off course this should not happen
This Robot is not designed for fully automated trading
Yes. a take profit and a trailing stop mechanisms can be configured for the first trade

7. User comments

comments powered by Disqus