When I run optimizations on time it runs on variables that are not real time and I want to know what it means.
If I want to look to execute a trade between 1000 and 1100 and I run a 15 minute interval in my optimization results it shows how I would have done if my start time 1075... what does that mean???
Always wondered about this and it really bother me.
Optimizing Time
-
- Posts: 261
- Joined: 28 Feb 2008
- Has thanked: 2 times
- Been thanked: 1 time
- furytrader
- Posts: 354
- Joined: 30 Jul 2010
- Location: Chicago, IL
- Has thanked: 155 times
- Been thanked: 217 times
Re: Optimizing Time
You can't optimize over time simply by adding values for the reason you explained. You end up with nonsensical times like 1075. Previously, I wrote a simple EasyLanguage function that allows you to add minutes to a particular time so that the resulting time actually makes sense (so instead of getting 1075, you end up with 1115).
See viewtopic.php?f=5&t=7961&hilit=AddMinutes
See viewtopic.php?f=5&t=7961&hilit=AddMinutes
-
- Posts: 261
- Joined: 28 Feb 2008
- Has thanked: 2 times
- Been thanked: 1 time
Re: Optimizing Time
Awesome. Thanks for pointing me in the right direction. I am going to give your formula a try.You can't optimize over time simply by adding values for the reason you explained. You end up with nonsensical times like 1075. Previously, I wrote a simple EasyLanguage function that allows you to add minutes to a particular time so that the resulting time actually makes sense (so instead of getting 1075, you end up with 1115).
See viewtopic.php?f=5&t=7961&hilit=AddMinutes
I'm suprised the confusion with this aspect of optimizing is not a bigger deal as the two things I care about are price and time. I would still like to hear from the MC developers about how time is computed at 1075, etc.
-
- Posts: 261
- Joined: 28 Feb 2008
- Has thanked: 2 times
- Been thanked: 1 time
Re: Optimizing Time
MC team.
I would still like to know what it means when you optimize for time and get results for something like 1075, 960 etc.
I would still like to know what it means when you optimize for time and get results for something like 1075, 960 etc.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Optimizing Time
The numbers like 1075, 960 are not undertood as time by MultiCharts, they understood as regular numbers.
You can simply ignore them.
Please leave a feature request at this web page if you want to have time-based optimization functionality in the future:
https://www.multicharts.com/pm/
You can simply ignore them.
Please leave a feature request at this web page if you want to have time-based optimization functionality in the future:
https://www.multicharts.com/pm/
-
- Posts: 261
- Joined: 28 Feb 2008
- Has thanked: 2 times
- Been thanked: 1 time
Re: Optimizing Time
Not sure what you mean that those times are not understood. If you use a starttime > 1075 it still returns results. If it was not understood you would think that it would return no results.
Can you check with the developers what it means?
Can you check with the developers what it means?
- furytrader
- Posts: 354
- Joined: 30 Jul 2010
- Location: Chicago, IL
- Has thanked: 155 times
- Been thanked: 217 times
Re: Optimizing Time
When you use a condition like "time > 1075", then any time that is greater than 1075 will return a true result. In this case, any time that is 1100 (11:00 am) or greater will return a true result, since 1100 is greater than 1075 and will normally appear on most intraday charts.
If you had a condition that says "time = 1075", then this condition would never be triggered because you will never see a bar with a timestamp of 1075.
If you had a condition that says "time = 1075", then this condition would never be triggered because you will never see a bar with a timestamp of 1075.
-
- Posts: 261
- Joined: 28 Feb 2008
- Has thanked: 2 times
- Been thanked: 1 time