Forum: NinjaTrader
August 12th, 2010, 12:26 AM
|
Replies: 7
Views: 3,925
Yeah actually the code I gave you was quite...
Yeah actually the code I gave you was quite inefficient, but I am totally out of it lately, very sick. The condition you were evaluating was already a boolean so no need to do the true:false switch...
|
Forum: NinjaTrader
August 11th, 2010, 10:09 PM
|
Replies: 7
Views: 3,925
You should wrap code with php or code tags.
...
You should wrap code with php or code tags.
From memory only, months since I did any NT programming, but I would use approach of:
tradestringlong = (macdSeries[0] >= macdSeries[1] ? true :...
|