Forum: NinjaTrader
October 10th, 2010, 03:20 PM
|
Replies: 9
Views: 3,491
|
Forum: NinjaTrader
October 10th, 2010, 02:53 PM
|
Replies: 9
Views: 3,491
Yes. There is. I just can't think of an...
Yes. There is. I just can't think of an indicator that does it at the moment so can't post sample code, and I've forgotten how to do it exactly, and am no longer using NT.
Perhaps bukkan can...
|
Forum: NinjaTrader
October 10th, 2010, 02:42 PM
|
Replies: 9
Views: 3,491
A simple unfancy way is to let them input...
A simple unfancy way is to let them input whatever, then just do a check once in your code to see if it's odd, and if so make it even.
How to check if a number is odd or even? (C# Knowledge Base)...
|