Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Auto trade, time setting

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

    Auto trade, time setting

    Hey guys,
    i just finish building my first bot, now how do I tell it to trade from 9:30AM to 3:30PM Monday to Friday. Do I need to code it or it can be done on strategy builder?
    Thanks guys

    #2
    Hello SuperDude123,

    You can use the strategy builder for that but you would need to add some conditions to check that the time is between the two times.

    To form a time condition you can create two conditions like the following:

    Left: Time -> Time Series
    Center -> Greater equal
    Right: -> Time -> Value -> Start time

    Left: Time -> Time Series
    Center -> less equal
    Right: -> Time -> Value -> End time



    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    61 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    148 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    98 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    286 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X