NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: redratsal
Forum: NinjaTrader May 22nd, 2012, 02:58 AM
Replies: 6
Views: 4,972
Posted By redratsal
protected override void OnBarUpdate() ...

protected override void OnBarUpdate()

// At the start of a new session
if (Bars.FirstBarOfSession)
{
// Store the strategy's prior cumulated realized profit and number of...
Forum: NinjaTrader May 21st, 2012, 02:44 PM
Replies: 6
Views: 4,972
Posted By redratsal
Ok you did not mention in your op it was for...

Ok you did not mention in your op it was for backtesting concern, if the data range is consistent what I do in this case is import the data into an excel file and filter the information separately...
Forum: NinjaTrader May 21st, 2012, 02:00 PM
Replies: 6
Views: 4,972
Posted By redratsal
try this:...

try this: Performance.RealtimeTrades.TradesPerformance.Currency.CumProfit

** if you stop your strategy and restart it the same day the daily cumprofit will restart from zero.
Showing results 1 to 3 of 3

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top