Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Schedule a strategy to start at 8:00AM

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

    Schedule a strategy to start at 8:00AM

    Hi,

    I would like to enable a strategy at 8:00AM. Is there a way to enable a strategy at a specific time?

    Every day I disable the strategy at 3:50PM. I disable the strategy (within the strategy) using the command Disable();.

    Once the strategy is disabled, how can I enable the strategy the next day at 8:00AM if the strategy is not running?

    One option is to always run the strategy and make the decisions based on time, but I don't want to do that. Disabling the strategy reset all the variables from that day.

    Thank you.

    #2
    I don't think that is possible.

    You should code your strategy to reset all the variables daily if you want to keep it running. (That's what I did).

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    149 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    84 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    129 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    125 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    102 views
    0 likes
    Last Post CarlTrading  
    Working...
    X