Matevz Okrslar: I would like to report a bug with MT5 build 3333. group keyword no longer works in strategy tester. (example: input group "some text";) In case group is used, Strategy tester returns "cannot create indicator" error. Please pass this information to the MetaQuotes.
It has already been reported by a moderator. Please do a search on the forum before posting.
Forum on trading, automated trading systems and testing trading strategies
MetaTrader 5 Platform update build 3320: Improvements and fixes
Vladimir Karputov, 2022.06.26 07:50
Build 3333.
An indicator that has an 'input group' (code example here: Two MA Color N Bars Square: )
//--- input parameters input group "MA 0" input int Inp_MA_0_ma_period = 12; // MA 0: averaging period input int Inp_MA_0_ma_shift = 0; // MA 0: horizontal shift input ENUM_MA_METHOD Inp_MA_0_ma_method = MODE_SMA; // MA 0: smoothing type input ENUM_APPLIED_PRICE Inp_MA_0_applied_price = PRICE_CLOSE; // MA 0: type of price input uchar Inp_MA_0_trend_n_bars = 3; // MA 0: trend N Bars input group "MA 1" input int Inp_MA_1_ma_period = 36; // MA 1: averaging period input int Inp_MA_1_ma_shift = 0; // MA 1: horizontal shift input ENUM_MA_METHOD Inp_MA_1_ma_method = MODE_SMA; // MA 1: smoothing type input ENUM_APPLIED_PRICE Inp_MA_1_applied_price = PRICE_CLOSE; // MA 1: type of price input uchar Inp_MA_1_trend_n_bars = 5; // MA 1: trend N Barsdoes not run in the strategy tester in the "Debug on history" mode ( ).
Here's an error:
MetaTester 5 started on 127.0.0.1:3000 initialization finished login (build 3333) template file tester.tpl added. 2766 bytes loaded 4412 bytes of account info loaded 1478 bytes of tester parameters loaded 6340 bytes of input parameters loaded 642 bytes of symbols list loaded (104 symbols) expert file added: Indicators\MyInd\MA Color N Bars\Two MA Color N Bars Square.ex5. 30007 bytes loaded 24058 Mb available, 300 blocks set for ticks generating successfully initialized 32 Kb of total initialization data received Intel Core i7-9750H @ 2.60GHz, 32574 MB program file added: \Indicators\MyInd\MA Color N Bars\Two MA Color N Bars Square.ex5. 30008 bytes loaded connected USDJPY: symbol to be synchronized USDJPY: symbol synchronized, 3720 bytes of symbol info received USDJPY: history synchronization started USDJPY: load 27 bytes of history data to synchronize in 0:00:00.001 USDJPY: history synchronized from 2010.01.04 to 2022.06.21 USDJPY,M5: history cache allocated for 108946 bars and contains 78706 bars from 2021.01.04 00:00 to 2022.01.20 23:55 USDJPY,M5: history begins from 2021.01.04 00:00 USDJPY,M5 (MetaQuotes-Demo): every tick generating USDJPY,M5: testing of Indicators\MyInd\MA Color N Bars\Two MA Color N Bars Square.ex5 from 2022.01.21 00:00 to 2022.06.17 00:00 started with inputs: = Inp_MA_0_ma_period=12 Inp_MA_0_ma_shift=0 Inp_MA_0_ma_method=0 Inp_MA_0_applied_price=1 Inp_MA_0_trend_n_bars=3 = Inp_MA_1_ma_period=70 Inp_MA_1_ma_shift=0 Inp_MA_1_ma_method=0 Inp_MA_1_applied_price=1 Inp_MA_1_trend_n_bars=5 cannot create indicator log file "C:\Users\barab\AppData\Roaming\MetaQuotes\Tester\D0E8209F77C8CF37AD8BF550E51FF075\Agent-127.0.0.1-3000\logs\20220626.log" written test Indicators\MyInd\MA Color N Bars\Two MA Color N Bars Square.ex5 on USDJPY,M5 thread finished disconnected prepare for shutdown
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I would like to report a bug with MT5 build 3333.
group keyword no longer works in strategy tester. (example: input group "some text";)
In case group is used, Strategy tester returns "cannot create indicator" error.
Please pass this information to the MetaQuotes.