[FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][COLOR=blue][FONT=Verdana]for[/FONT][/COLOR][COLOR=black][FONT=Verdana]([/FONT][/COLOR][COLOR=blue][FONT=Verdana]int[/FONT][/COLOR][COLOR=black][FONT=Verdana] i = [/FONT][/COLOR][COLOR=purple][FONT=Verdana]0[/FONT][/COLOR][COLOR=black][FONT=Verdana]; i < instruments; i++)[/FONT][/COLOR][/COLOR][/SIZE] [COLOR=#0000ff][SIZE=2][COLOR=#282828][FONT=Verdana] { [/FONT][/COLOR][/SIZE] [SIZE=2][COLOR=#282828][FONT=Verdana] if(Positions[i].MarketPosition == MarketPosition.Flat)[/FONT][/COLOR][/SIZE] [SIZE=2][COLOR=#282828][FONT=Verdana] EnterLong(i, shares,"MyStrategy LONG");[/FONT][/COLOR][/SIZE] [SIZE=2][COLOR=#282828][FONT=Verdana] }[/FONT][/COLOR][/SIZE][/COLOR][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT]
Or does it mean that only one long entry per instrument will be executed?
[The above for NT 6.5]
Comment