Forum: NinjaTrader
April 1st, 2010, 11:11 AM
|
Replies: 4
Views: 5,945
I moved the thread to NinjaTrader programming...
I moved the thread to NinjaTrader programming from Elite Group Trading methods. So long as you don't post Elite code (Hurley) I think it would be best here. Your example is really non-specific to...
|
Forum: NinjaTrader
April 1st, 2010, 11:09 AM
|
Replies: 4
Views: 5,945
Nano,
Math.Min(GetCurrentBid(), - (20 *...
Nano,
Math.Min(GetCurrentBid(), - (20 * TickSize))
That is saying whatever is the lesser of GetCurrentBid or - 20 ticks. It's not valid. The command in Math.Min separates two values, like...
|