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
Forum on trading, automated trading systems and testing trading strategies
Machine learning in trading: theory and practice (trading and not only)
fxsaber, 2018.04.15 16:31
Let's create a custom symbol with the right tick distribution and write a grail TC. Let's make a backtest and post the result.
In this script we need to write only our own GetTicks. Based on the generated history, we will have an almost full-fledged (custom) symbol available for trading in the Tester.
Another scenario of using custom symbols (not necessarily with the help of this library).
It is possible to fully automate the regular backtest of the Expert Advisor on fresh historical data and transfer the test results to the combat Expert Advisor to synchronise the real picture with the tester. This allows you to implement such trading logic without writing your own tester
Another possibility of using this scheme:
A free demo version of the Expert Advisor from the Market is taken and chased in the tester by fresh quotes, the copier takes data from the result of the tester. Accordingly, the paid version is not required.
Perhaps it is necessary to prohibit Market Expert Advisors backtest on custom symbols....
MT5 Build 1880 - works so far.
Two ways to set slippages in the Tester
great library, but, and I quote.
Thank you! As always, a bit more complicated than I'd like ;)
Your codes have one undeniable advantage - they can be taken, and used. But it's quite difficult to tweak anything in them, that's a disadvantage.
It is very convenient that with one line I create a fully ready copy of a custom symbol, but:
tell me how to create your own symbol using your library, but not to copy historical data - I want to modify OHLC, and do not want to spoil your code ))), thank you in advance!
And I wonder why custom symbols are needed ? If real symbols available in DC are traded ?
I develop the thought of dickfix, like "it is not always possible to use any symbol for automatic trading, if the EA does not work on this symbol, perhaps it needs another symbol or use custom charts".
there is a certain rationale in it.
;)
I'm developing the thought of dickfix, like "that it is not always possible to use any symbol for automatic trading, if the EA doesn't work on this symbol, maybe it needs another symbol or use custom charts".
there is a certain rationale in it.
;)
If it can be traded, its name is so-and-so, and if it can't be traded... how can it not be traded?
Why can't it be traded? The Expert Advisor will work in the strategy tester, so you can use the optimiser... which means you can look for patterns.
As they say, everyone has his own way - if you think you can store data in a class, be my guest, it's easier for me to output data into a custom symbol and then use indicators on this chart.
here is the EURUSD - GBPUSD spread from my synthetics.
https://charts.mql5.com/18/849/spread-h1-alpari-international-limited.png
it is very convenient that you can visually see the chart and analyse the time of bars, and in addition, there are all TFs and you can run the strategy in the strategy tester, and it is not a problem to go back to real symbols.
why not? in the strategy tester the Expert Advisor will work, so you can use the optimiser... which means you can look for patterns.
As they say, everyone has his own way - if you think that data can be stored in a class, be my guest, it's easier for me to output data into a custom symbol and then use indicators on this chart.
Of course I do. After all, in 5 you can access different tools at any moment of time. And writing a class for each tool is redundancy. It's like having shapes, and we won't use the basic shape class, but always write a new one. I am not criticising, of course. fxsaber writes quite competent things sometimes. And he knows better, apparently he needs it. But I think it is unnecessary.
why can't you? an Expert Advisor will work in the strategy tester, so you can use the optimiser... which means you can look for patterns
As they say, everyone has his own way - if you think that data can be stored in a class, be my guest, it is easier for me to output data into a custom symbol and then use indicators on this chart.
here's a sketch of the EURUSD - GBPUSD spread from my synthetics.
https://charts.mql5.com/18/849/spread-h1-alpari-international-limited.png
It is very convenient that you can visually see the chart and analyse the time of bars, and in addition there are all TFs and you can run a strategy in the strategy tester, and it is not a problem to go back to real symbols.
If I had known what it would give, maybe I would have supported this idea. But as it is...)))
please tell me how to create your own symbol using your library, but not to copy historical data - I want to modify OHLC, and do not want to spoil your code ))), thanks in advance!
Above is a short code. There are detailed comments there.