Date Range as "Optimizer" parameter

Created at 27 Jan 2023, 11:04
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
MI

mirko-icmarkets

Joined 27.01.2023

Date Range as "Optimizer" parameter
27 Jan 2023, 11:04


I'd like to test my strategies on different periods at the same time.
At the moment I use a parameter to compare the same strategy in different years, but it is really complicated.

                if (Server.Time.Year != Year)
                {
                    return;
                }
                else if (Server.Time.Year > Year)
                {
                    Timer.Stop();
                    return;
                }

 


cTrader Automate
@mirko-icmarkets