Forum: NinjaTrader
August 31st, 2012, 06:09 AM
|
Replies: 9
Views: 1,989
|
Forum: NinjaTrader
August 29th, 2012, 08:05 PM
|
Replies: 9
Views: 1,989
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
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
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
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...
|