NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 5 of 5
Search: Posts Made By: Xav1029
Forum: NinjaTrader August 31st, 2012, 06:09 AM
Replies: 9
Views: 1,989
Posted By Xav1029
Thanks for the response. I am still building the...

Thanks for the response. I am still building the foundation for the tool I am working on, and for some reason Peek is not returning the same values as Dequeue. Please see attatched file and what...
Forum: NinjaTrader August 29th, 2012, 08:05 PM
Replies: 9
Views: 1,989
Posted By Xav1029
Here is the code that worked: #region...

Here is the code that worked:


#region Variables
double test = .9898;

private Dictionary<int, DataSeries>indicatorD; //Used to store the indicator values

private Dictionary<int,...
Forum: NinjaTrader August 29th, 2012, 08:01 PM
Replies: 9
Views: 1,989
Posted By Xav1029
Problem Solved

I deleted all the code and gave it another try, and it worked this time. I don't know what I had done wrong before, but had looked over the code 20 times and could not find anything wrong. Time to...
Forum: NinjaTrader August 29th, 2012, 07:48 PM
Replies: 9
Views: 1,989
Posted By Xav1029
Hey gregid I had initialized the Queue...

Hey gregid I had initialized the Queue beforehand. Actually I used the dictionary method you helped me with, but a Queue dictionary. I was able to pass a value directly into the queue, but when I...
Forum: NinjaTrader August 29th, 2012, 07:23 PM
Replies: 9
Views: 1,989
Posted By Xav1029
Enqueue a variable

Does anyone know how to pass a variable unsing Enqueue??

for example:

double myprofit = 99.75;

myQ.Enqueue(myprofit);


This method does not work for some reason. I am looking for a FIFO...
Showing results 1 to 5 of 5

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