PDA

View Full Version : Fill types


NinjaTrader_Josh
05-26-2007, 05:30 PM
I'm trying to make my own fill algorithms as described in the help file.

I notice there are variables like NextOpen and NextHigh. I was wondering what the variable for the current close is. I tried CurrentClose and Close to no avail.

Also is there anywhere with a list of the various things I can set order.Action to? More specifically I'm looking for the command that tells it to cancel the order.

NinjaTrader_Ray
05-26-2007, 08:17 PM
There is not current close.

This is a fill algorithm and should be used to determine a fill price not to cancel an order.

NinjaTrader_Josh
05-27-2007, 12:51 PM
How can I pass a public variable into the fill function for current close?

NinjaTrader_Dierk
05-27-2007, 10:57 PM
Sorry, you can't.

However, I added "NextClose" which will be available with next update.

NinjaTrader_Josh
05-28-2007, 01:56 AM
Very nice. I could use that one. Thanks.