Simulation Setup for MT4 Indicators

These are a few Matters I discovered when simulating MT4 utilizing History data. As the quality and precision of this history depends very much associated with your own trading strategy index and stop loss & profit taking. a Simulating M1 Period result appears to yield the most accurate results from your EA. If you’re using period H1 or some other period index or measurement of time, then please replace 0 with PERIOD_H1 or some other time frame. Do not use in the plan tester period H1, as the results won’t be accurate if you intend to compare with real outcome. Consequently, use period M1 on your strategy tester. And change your EA to operate on in. Downloading M1 Outcome and using period converter for 5, 15, 30, 60, 240, 1440 minutes will be receiving more precise results rather than simply download and import M1 result on the web. This will synchronize the other time period with M1 as the foundation. The most realistic result you can get is from M1 interval, thus all other interval is truly using this M1 base. You may download from any online site that provide time period M1 from 2001 till date.

The above will step Through your Stage M1 and your Use date from the program automatically increment 30 seconds into nextRund just a title datetime variable and trigger the if statement to exit the application via return0. Which will leave the program or looping function also finally exit the app , and cause the plan tester to measure the MT4 インジケーター to next phase M1. Throughout the tester, the TimeCurrent will be simulated from begin to end. Since the program will exit, so all of your factors which will need to be valid remain in memory as soon as your program exist and execute again, please indicate static in front. This will enable that factor in order to be use again retain previous value from the program.

MT4 Indicators

You may need some Times to comprehend the above, but browse through and give it a try on the EA and you’ll discover how to use the above to your benefit. Delay isn’t Applicable to the plan but you can use it freely in your EA whilst running live account. But using it on your EA to postpone your looping or program while waiting for new live money price is beneficial if you intend to run multiple money using multiple strategies. Play around with different delay and you’ll observe the use of your CPU averaging over time rather than peaking at one stage.

You may also like...