![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
I trying to write my own metric for optimizing the systems. I can't seem to access any bar dates via .. Time or Times... Any suggestions? thanks Matt |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Not sure I follow. Within NinjaScript you e.g. can access the time stamp of the current bar by Time[0].
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
|
I'm writing to the files that the optimizer sees in the bin\Custom\Type directory. e.g. (@MinDrawDownShort.cs)... I only seem to get access to systemPerformance here, not anything related to iteration bar data....
Ideally, I would like to get access to when max dd occurs, etc.. Regards Matt |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Unfortunately this is not supported.
Note: You never should overwrite any of the @...cs files in <my documents>/NinjaTrader6/bin/Custom.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
|
I haven't overwritten any of the default metrics, however it is quite handy to use combinations of the systemPerformance methods available. I like the software....
Regards Matt |
|
|
|
|
|
#6 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Glad to hear that.
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| new contract dates in Sim101 | ratherBgolfing | Automated Trading | 3 | 03-20-2010 11:03 AM |
| DashStyle.Custom...? | funk101 | Indicator Development | 3 | 05-06-2007 08:34 AM |
| Custom bars | purpledawn | Indicator Development | 1 | 04-11-2007 06:17 AM |
| Using a custom indicator | SuzyG | Strategy Development | 17 | 03-13-2007 10:59 AM |