I have the following question please: when the computer running with Ninjatrader has triggered entries with a script done with Ninjascripteditor and shows positions in positionstab but for whatever reason (eg internet connectioin was lost in between) there is a discrepancy to the positions on the exchange (or Ninjatradercontinuum servers) and real status is flat. When then there is from the script code an exitlong/exitshort or Closeall command will this open a new position? If so, what code should be used to avoid the new position from Exit or Close? Or can be done a position check so that exitlong/exitshort/close will only be executed if positioncheck is true (will this working after a broken internetconnection)?
Thank you!
Tony

Comment