Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple Trading Times Splits

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

    Multiple Trading Times Splits

    I have created a strategy on builder that has 6 different time intervals to trade in on each day. My problem is it will have a trade that was taken at 4:30pm when the last time interval I have is 1:59pm - 3.59. It takes trades during time periods I have blocked out. I have attached some pics to help see what I mean. How can I get it to obey the time intervals I have laid out?
    Thanks
    Attached Files

    #2
    Hello Barrett,

    What is the execution time of the order on the Executions display?

    What is the bar type and interval of the chart?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      It looks like it enters trades at like 12:28pm and waits until it hits the stoploss around 12:48pm which is causing the bad time between 12:30 and 1:00 pm. I am using regular japanese candlesticks on the 1 minute timeframe. I thought it would just stop everything at the end time no. Is there a way to make it just exit all positions after the end times I set? It seems to be a pattern with it keeping the trade going after the stop time which is causing it to be bad at certain times. I would like to stay away from those times even if I have a loss. If the trade enters at 12:28 I would rather it stop out at 12:29 for a small loss than running into the times I want excluded for a large loss.
      Attached Files

      Comment


        #4
        Hello Barrett,

        If you want to exit a position, submit an exit order such as 'Exit long position with a market order' in the condition set with the time conditions.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Is there any way you could show what that would look like. I have 6 different time intervals and I imagine I would need to have an exit for each one. Also how would it work if I have a target and stoploss for each position?
          Thanks

          Comment


            #6
            Hi Barrett, The strategy will need to have a condition set that handles the exit time. e.g.



            Note my use of the FromEntrySignal here. It will be important to mark your entries with an exit signal so you can give the same signal name to your stop and target orders, and the exit order so that the orders can be associated with each other and the stop and target can be canceled if the Exit market order is hit before the stop or target gets hit.

            Kind regards,
            -ChrisL

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Yesterday, 05:17 AM
            0 responses
            56 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            133 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            73 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            45 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            49 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X