If you choose "real tick based on real ticks", you will should get the same tick data irrespective of time-frame, provided that (and this is important) ...
- the testing period is within the period of available historical tick data,
- there are no gaps or data-mismatch between the tick data and the OHLC bar data.
i would know if there is any correlation in Tester about "modelling" option and timeframe option.
That is, can I be sure that if I choose the "real tick based on real ticks" modelling, I will get the same ticks regardless of the timeframe chosen? I ask because I tried running a test on M1 and another on H4, with the same indicator, but on H4 it is much faster, as if it were not receiving the same ticks in this case.
The indicator I want to test is based on ticks, not bars, so which option should I choose?
How exactly did you test the indicator? Visual mode and invocation from an expert have some differencies. To make sure the indicator is always calculated on every tick it's better to ensure its code contains the directive #property tester_everytick_calculate.
If you choose "real tick based on real ticks", you will should get the same tick data irrespective of time-frame, provided that (and this is important) ...
- the testing period is within the period of available historical tick data,
- there are no gaps or data-mismatch between the tick data and the OHLC bar data.
Should not the virtual ticks be generated only using one-minute timeframe? At least i read so in documentantion, i didn't read the "generated ticks" are affected by timeframe. See here: https://www.metatrader5.com/en/terminal/help/algotrading/tick_generation
- www.metatrader5.com
In theory, yes! However, in practice, I have had "weird" experiences in the past (for reasons unknown). So, draw your own conclusions!
EDIT: However, please note that in my case, it could have been simply some silly mistake on my part, just as it can be in your case. So, check your code completely to my make sure there are no bugs in the code logic that could cause the issue.
In theory, yes! However, in practice, I have had "weird" experiences in the past (for reasons unknown). So, draw your own conclusions!
EDIT: However, please note that in my case, it could have been simply some silly mistake on my part, just as it can be in your case. So, check your code completely to my make sure there are no bugs in the code logic that could cause the issue.
The test is done trough an expert. I get the indicator hanlde using iCustom inside the expert, and then add it to chart using ChartIndicatorAdd (adding or not on the cart is configurable by expert inputs parameter). Should i add that property to have indicator calculated on each tick?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
i would know if there is any correlation in Tester about "modelling" option and timeframe option.
That is, can I be sure that if I choose the "real tick based on real ticks" modelling, I will get the same ticks regardless of the timeframe chosen? I ask because I tried running a test on M1 and another on H4, with the same indicator, but on H4 it is much faster, as if it were not receiving the same ticks in this case.
The indicator I want to test is based on ticks, not bars, so which option should I choose?
Thanks