Optimizing Time

Questions about MultiCharts and user contributed studies.
flipflopper
Posts: 261
Joined: 28 Feb 2008
Has thanked: 2 times
Been thanked: 1 time

Optimizing Time

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???

Posts: 353
Joined: 30 Jul 2010
Location: Chicago, IL
Has thanked: 155 times
Been thanked: 215 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).

These users thanked the author furytrader for the post (total 3):
TJflipflopperJoshM

flipflopper
Posts: 261
Joined: 28 Feb 2008
Has thanked: 2 times
Been thanked: 1 time

Re: Optimizing Time

furytrader wrote: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).

Awesome. Thanks for pointing me in the right direction. I am going to give your formula a try.

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.

flipflopper
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.

Henry MultiСharts
Posts: 8663
Joined: 25 Aug 2011
Has thanked: 1218 times
Been thanked: 2788 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/

flipflopper
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?

Posts: 353
Joined: 30 Jul 2010
Location: Chicago, IL
Has thanked: 155 times
Been thanked: 215 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.
These users thanked the author furytrader for the post (total 4):
TJHenry MultiСhartsflipflopperJoshM

flipflopper
Posts: 261
Joined: 28 Feb 2008
Has thanked: 2 times
Been thanked: 1 time

Re: Optimizing Time

You're pretty smart for a cat.