NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 2 of 2
Search: Posts Made By: gregid
Forum: NinjaTrader September 1st, 2012, 07:43 AM
Replies: 5
Views: 1,958
Posted By gregid
Xav1029 ToList is an extension method of...

Xav1029

ToList is an extension method of IEnumerable and since Queue:

public class Queue<T> : IEnumerable<T>, ICollection, IEnumerable

You are able to use extension method of IEnumerables...
Forum: NinjaTrader September 1st, 2012, 04:43 AM
Replies: 5
Views: 1,958
Posted By gregid
Xav1029 In your loop you have fixed 0 index...

Xav1029

In your loop you have fixed 0 index for the profitArray. Change it to j:


for(int j = 0; j < LongCount[i]; j++)
{
//Print(profitArray[j]);
tp+= profitArray[j];
}
Showing results 1 to 2 of 2

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