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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Working...
    X