Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy always enabled

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

    Strategy always enabled

    My friends, how can I leave a strategy running despite of closing the platform or turning off the PC. I need it to run 24/7 since it will take a trades at any time the conditions are met. It is already programmed to close all trades 30s before market close.

    Thanks

    #2
    Welcome to the forums!

    -=o=-

    Are you talking about your home computer?

    If you turn off your PC or close NinjaTrader, how the heck is
    the strategy supposed to run?

    Think about it. For a strategy to execute, NinjaTrader must
    first be executing, since, uh, by definition, it is the NinjaTrader
    software that enables and runs the NinjaScript strategy.

    NinjaScript strategies cannot run outside of NinjaTrader.

    The only solution to use a different computer, one that is never
    turned off and NinjaTrader is always left running.

    You need a VPS.

    Last edited by bltdavid; 06-18-2024, 09:01 PM.

    Comment


      #3
      Thanks David.

      Yeah I meant for it to run even with the computer turned off. There are many platforms capable of doing that an even web based like Tradingview. I would need to get a decent VPS then. Any suggestions are appreciated

      Comment


        #4
        Hello kingsteven,

        Thank you for your post.

        bltdavid is correct, your strategy cannot run if NinjaTrader is not running and/or your PC is shut off.

        While our support team cannot recommend any VPS services, this thread will remain open for any members of the community who may want to recommend a service.
        Gaby V.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by angelgrace11, Today, 09:42 PM
        0 responses
        1 view
        0 likes
        Last Post angelgrace11  
        Started by angelgrace11, Today, 09:17 PM
        0 responses
        1 view
        0 likes
        Last Post angelgrace11  
        Started by angelgrace11, Today, 09:06 PM
        0 responses
        4 views
        0 likes
        Last Post angelgrace11  
        Started by Rudmax, 07-02-2024, 05:40 AM
        11 responses
        280 views
        1 like
        Last Post Rogue_Two  
        Started by jeronymite, 09-09-2022, 07:48 PM
        5 responses
        81 views
        0 likes
        Last Post mpthouse  
        Working...
        X