![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
|
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.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
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
Ryan M
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
|
I found that NT6 has a ProfitPerMonth function yet there is no way of tracking the profits on a weekly basis. Any other suggestions?
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
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.
Ryan M
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
|
Is there a way to have the strategy only calculate the profits for the month once and month instead of on a daily basis?
|
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
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.
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |