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

Postby flipflopper » 22 Dec 2011

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.

User avatar
furytrader
Posts: 353
Joined: 30 Jul 2010
Location: Chicago, IL
Has thanked: 154 times
Been thanked: 215 times

Re: Optimizing Time

Postby furytrader » 23 Dec 2011

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

Postby flipflopper » 23 Dec 2011

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

See viewtopic.php?f=5&t=7961&hilit=AddMinutes


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

Postby flipflopper » 28 Dec 2011

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.

User avatar
Henry MultiСharts
Posts: 8479
Joined: 25 Aug 2011
Has thanked: 1211 times
Been thanked: 2720 times

Re: Optimizing Time

Postby Henry MultiСharts » 29 Dec 2011

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

Postby flipflopper » 29 Dec 2011

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?

User avatar
furytrader
Posts: 353
Joined: 30 Jul 2010
Location: Chicago, IL
Has thanked: 154 times
Been thanked: 215 times

Re: Optimizing Time

Postby furytrader » 30 Dec 2011

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

Postby flipflopper » 05 Jan 2012

You're pretty smart for a cat.


Return to “MultiCharts”