• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 RonnieB, Today, 01:51 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_RyanS  
    Started by dtl-saw, Today, 01:52 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_RyanS  
    Started by ralett, Today, 11:28 AM
    4 responses
    12 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by ChazJ, Today, 09:59 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Irukandji, Today, 09:34 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Working...
    X