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
...Exactly one month before the end of the test. And no matter where you move the computer time... the result will remain the same, one month before the end of the test.
But if there's no way of knowing the end date of the test, then the idea is impossible.
Well, how can I put it... Once there was a situation with reselling signals, and now there are clients who use this TS to work on their PAMMs.
This trading system is not very "super-duper profitable", however, its stability is very high. And the main thing - the ability to copy trades from the tester is not convenient to its author. And he suggests that I, as a programmer, should think about ways to solve this problem.
Well, unless it's purely a technical problem. But from the customer's point of view it will still be nonsense.
Yes, another option is to know the exact end date of the test. In this case it's OK too, but how do we know this date?
The end date of the test can be put in the future, it doesn't roll.
Try this option: the first run should go without any action, and only with remembering the date of the last tick.
The second run should trade, but only until the desired date (memorized minus a month). Where to remember (and how to encrypt) the date of the last tick is a matter of technique.
The only inconvenience (and so far the least one) - the test must be run twice ;)
Dimitri, the challenge is to stop processing ticks in the tester in advance of the real date. For this you need to know this real date. From the tester it can be found only as written above - by file operation. But, if a sly user moves the time on the computer ahead, the file operation will also give not the real time, but the time shifted forward.
The problem, in fact, is that if the EA is running on timeframe M5 or later (a particular problem on the daily) - it becomes possible to run it in the strategy tester and read the last action, transferring it to another terminal, and not to buy an EA, using only the demo-version.
If so serious, you could get the time from the internet somewhere.
I wonder if the author of this thread can give at least one example when someone was able to reproduce trades on a real account based on testing results and make profit? With only demo-advisor in the tester and nothing else?
If you set your mind to it, you can copy scalper strategies like this. What prevents you from tracking a signal from the tester every 2-3 seconds?
They say that WebRequest doesn't work in the tester...
...
The problem is not as simple as it may first appear. The following can be suggested (follow the thought):
From the user's point of view, it will look as follows: the first time, during the run, it will not trade until the end of the selected optimization period for some reason. However, starting from the second run and onwards, its lag will decrease and correspond to one month or so.
In this case the protection can be removed only by complete decryption of the file by finding a key or decompiling the Expert Advisor. Given today's technology and the quality of MQ's protection of their programs, this is virtually impossible. If the user decides to delete the encryption file, the Expert Advisor will create it anew, with the old date of protection in it at compilation, and the user will still not be able to make a trade at the current moment.
What is good, such a method only slightly limits the user's convenience. Re-running the EA will completely fix the too long delay. At the same time, this kind of protection does not require external DLLs, which means it can be distributed in the marketplace. For example, you can create a free version that trades only until a certain date.