[BRiCK] Verification by Tester

12 June 2018, 10:44
Yutaka Yokouchi
0
31

2. Tester property
      2.1. Tester parameter
      2.2. Argument of Technical Indicator

[Reference]
MetaTrader 4 Help for Tester: https://www.metatrader4.com/en/trading-platform/help/overview/strategy_tester


This section is about the preparation procedure of the tester.

1.1. [Step1] Open the tester & select BRiCK

Open Strategy Tester (Ctrl + R) and select BRiCK from Expert Advisor or Indicator.



1.2. [Step2] Setting property

When using Tester to verify with past data, you can not insert an indicator in the chart beforehand. Therefore, you need to input the value of the technical indicator in the properties of the Expert Advisor or Custom Indicator.

If the type of BRiCK is Expert Advisor, click "Expert properties". If the type is Indicator, click " Indicator properties " to open the properties window.

For details of the properties of "Signal" and "Order" please see BRiCK MT4 EA user manual or BRiCK MT 4 CI user manual.
For "Tester" please see Tester property in the next section.



1.3. [Step3] Test start & confirmation result

Please look at MetaTrader 4 Help for test execution method and results confirmation method


2. Tester property


This section is about the properties of BRiCK used by Tester.

2.1. Tester parameter

Select the technical indicator to be tested from IndicatorName and input to IndicatorParameter like "Argument 1, Argument 2, Argument 3". Indicator parameters selected by IndicatorName_1st are input to IndicatorParameter_1st, IndicatorName_2nd are input to IndicatorParameter_2nd. 

For Variables not to be used, please set IndicatorName to "-" and IndicatorParameter to "-, -, -".

Please see the table below for the meaning and setting method of the parameters for each indicator.

VariableData typeValueDescription
 IndicatorName_1st Enumeration IndicartorName Select the first technical indicator name to verify with the tester
 IndicatorParameter_1st Character Argument Input the parameter of the indicator selected with IndicatorName_1st
 IndicatorName_2nd Enumeration IndicartorName Select the second technical indicator name to verify with the tester
 IndicatorParameter_2nd Character Argument Input the parameter of the indicator selected with IndicatorName_2nd
 IndicatorName_3rd Enumeration  IndicartorName Select the third technical indicator name to verify with the tester
 IndicatorParameter_3rd Character Argument Input the parameter of the indicator selected with IndicatorName_3rd
 IndicatorName_4th Enumeration IndicartorName Select the fourth technical indicator name to verify with the tester
 IndicatorParameter_4th Character Argument Input the parameter of the indicator selected with IndicatorName_4th
 IndicatorName_5th Enumeration IndicartorName Select the fifth technical indicator name to verify with the tester
 IndicatorParameter_5th Character Argument Input the parameter of the indicator selected with IndicatorName_5th

[Invalid argument specification example]

  • Insert a blank in the value. Example " 9,26,52", "9,26,52 ", "9, 26, 52".
  • Delete delimiter comma. Example "14".
  • Delete the hyphen assigned to unused arguments. Example "14,,".
  • Specify a negative value for the arguments. Example "-14,-,-".
  • Entering values for undefined arguments. For example, select Parabolic SAR with argument 0 and enter "14,-,-".


2.2. Argument of Technical Indicator

Indicator nameArgument count Argument1 Argument2Argument3Example input
 Average Directional Movement Index 1 Period - - 14,-,-
 Average True Range 1 Period - - 14,-,-
 Bears Power 1 Period - - 13,-,-
 Bollinger Bands 1 Period - - 20,-,-
 Bulls Power 1 Period - - 13,-,-
 Commodity Channel Index 1 Period - - 14,-,-
 DeMarker 1 Period - - 14,-,-
 Envelopes 1 Period - - 14,-,-
 Force Index 1 Period - - 13,-,-
 Ichimoku Kinko Hyo 3  Tenkan_sen Kijun_sen Senkou_spanB 9,26,52
 MACD 3 Fast_EMA Slow_EMA MACD_SMA 12,26,9
 Momentum 1 Period - - 14,-,-
 Moving Average 1 Period - - 14,-,-
 Moving Average of Oscillator 3 Fast_EMA Slow_EMA MACD_SMA 12,26,9
 Parabolic SAR 0 - - - -,-,-
 Relative Strength Index 1 Period - - 14,-,-
 Relative Vigor Index 1 Period - - 10,-,-
 Standard Deviation 1 Period - - 20-,-,-
 Stochastic Oscillator 3 %K_period %D_period Slowing 5,3,3
 Williams' Percent Range  1 Period - - 14,-,-


Share it with friends: