PDA

View Full Version : double up after a win or a loss


avlasov
01-04-2008, 01:36 PM
Hello,

how do I get ninja to look back at the last trade and assign the next trade double the lots of the previous trade.


//new trade x lots
// if last trade looser
//next trade double (2x) the lots of first trade

NinjaTrader_Ray
01-04-2008, 02:02 PM
You could check between flat states if the PnL has changed up or down. If down, you can then change an internal quantity variable to twice the current size.