NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 06-23-2010, 09:10 AM   #1
cboat
Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
Default Performance of Trades for Prior Week

Is there a way to trade on minute bars. Yet to take the performance of my trades for the prior week. Currently when I take the Cumulative profits on every bar update. Now even though this works and is helpful I would rather look at my profits on a weekly basis.
cboat is offline  
Reply With Quote
Old 06-23-2010, 09:31 AM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello cboat,

Yes, this should be possible with custom programming. What you might be able to do is cumulate your daily profits for the week. The reference sample below helps with using these values and tracking them on a daily basis. You can use similar principles for weekly results.
Strategy: Using trade performance statistics for money management
NinjaTrader_RyanM is offline  
Reply With Quote
Old 06-23-2010, 11:59 AM   #3
cboat
Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
Default

I found that NT6 has a ProfitPerMonth function yet there is no way of tracking the profits on a weekly basis. Any other suggestions?
cboat is offline  
Reply With Quote
Old 06-23-2010, 12:55 PM   #4
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Unfortunately there aren't built in methods for tracking weekly performance. It would have to be custom programmed. You may consider hiring a 3rd party NinjaScript consultant to code this for you. A list is available here.
NinjaTrader_RyanM is offline  
Reply With Quote
Old 06-28-2010, 09:26 AM   #5
cboat
Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
Default

Is there a way to have the strategy only calculate the profits for the month once and month instead of on a daily basis?
cboat is offline  
Reply With Quote
Old 06-28-2010, 10:07 AM   #6
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Cboat,

If you need to work with these numbers in your strategy then this must be custom programmed.

When viewing backtesting results through the strategy analyzer you can specify performance by month, week, etc.

You can see a similar real time report for running strategies by right clicking on the running strategy (from strategy tab) > Strategy Performance > Real-Time performance > Periods tab.
Attached Images
File Type: gif SAPeriod.png (84.8 KB, 6 views)
NinjaTrader_RyanM is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trades missing in Account Performance Michael Larsen Miscellaneous Support 6 06-09-2010 12:56 PM
Account Performance, Trades Tab Vegas Golf Pro Miscellaneous Support 8 04-19-2010 03:12 PM
Old trades in my performance report cunparis Miscellaneous Support 6 02-02-2010 02:05 PM
When opening Ninja Strategy Simulated account shows trades enterered prior suitguy1 Automated Trading 1 07-22-2008 10:12 AM
Parsing trades per day of week gsmaster Strategy Development 3 07-24-2007 04:41 AM


All times are GMT -6. The time now is 01:36 PM.