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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    58 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    35 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    104 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    184 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    171 views
    0 likes
    Last Post CarlTrading  
    Working...
    X