Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Strategy using Ninjascript does not start on time , in SIM Account

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Custom Strategy using Ninjascript does not start on time , in SIM Account

    Custom Strategy using Ninjascript does not start on time at 830am , in SIM Account due to Controller.Position=Long or Short , when there is no position actually. I reset the Account to zero and nothing seems to work. How to reset this value Position from Past=NULL, manually... Can someone help me to reset the postion from past = NULL in sim ACCT or how to manually close the postion?

    #2
    Hello prabbala,

    You can choose to prevent historical trades, or choose to exit any open position on the last historical bar.

    Below is a link to a forum thread that discusses this.
    https://ninjatrader.com/support/foru...541#post811541
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by morrnel, Yesterday, 09:12 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by 7robert, Yesterday, 04:41 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by soon123, Yesterday, 08:07 PM
    0 responses
    8 views
    0 likes
    Last Post soon123
    by soon123
     
    Started by vantojo, Yesterday, 06:49 PM
    1 response
    13 views
    0 likes
    Last Post vantojo
    by vantojo
     
    Started by GauthamK, Yesterday, 03:47 PM
    2 responses
    22 views
    0 likes
    Last Post GauthamK  
    Working...
    X