Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Use specific candle (time) close to trigger enter long stop mkt order

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

    Use specific candle (time) close to trigger enter long stop mkt order

    Cheers everyone, first time posting and VERY new to Strategy Builder. As title says, I'm interested in the following, but cannot seem to make the conditions and actions click in the wizard. I've scoured both Google/YouTube and this forum for answers and realize I need personal guidance specifically addressing my vision, beyond the overview videos. Below is how I see my need:

    Conditions:
    1. 2:30 bar be closed

    Actions:
    2. Immediately upon close of 2:30 bar, enter buy stop market 5 ticks above high of 2:30 candle with a profit target of 32 ticks and a stop loss of 20 ticks.​

    I understand (I think) how to make inputs for the profit target and for the stop loss, and I think I understand how to incorporate them into the wizard, but the conditions/actions step is not as clear which item I need to place in the left pane, which operator to choose, and which item goes into the right pane to achieve the conditions or actions.

    Thanks, in advance, for any guidance you can provide...

    #2
    Hello hawkand3,

    To enter with a buy stop market order in the builder you would need to ensure that the price used will be filled within 1 bar otherwise that order will be expired and no targets or entry will be submitted. If you are using a price that will be filled then you can use the stops and targets page of the builder to configure the stop and target using the inputs you made. Stops and targets are only submitted after the entry order has filled. If you configured everything and don't see any orders placed you will need to turn on TraceOrders in the strategies default properties screen and then use the NinjaScript output window to monitor if that entry order is being expired.

    For the entry condition you can see how to make a time condition in the following link. You need to make sure the time you choose is a bar close time that will be present on the chart. https://ninjatrader.com/support/help...imeComparisons

    Comment


      #3
      Thanks for the reply Jesse. I will give the trace orders a look to see if I can figure out how to follow the logic through. That said, the link you provided takes me to a page not found error

      Comment


        #4
        Hello hawkand3,

        I see that the link is working, if you are clicking it and your browser is adding extra content to the link that may be why. You can right click the link and choose copy link address as an alternate option.

        Comment


          #5
          Tried it both ways. Both times takes me here. Also tried it in multiple browsers

          Click image for larger version

Name:	image.png
Views:	121
Size:	93.4 KB
ID:	1286561

          Comment


            #6
            Hello hawkand3,

            Yes it looks like your browser is adding additional data to the link, the link ends with .htm, everything after that needs removed.

            Comment


              #7
              Thanks. Checking it out now...

              Comment


                #8
                Hello hawkand3,

                You can also use the left side navigation in the help guide to access pages, the strategy builder information is located in the section: Operations -> Strategy builder. The Condition builder sub section has samples of how to do tasks in the builder like making time conditions.

                Comment


                  #9
                  Thanks again Jesse, unfortunately though I've already tapped into that - that's how I got this far haha. Still digging.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by NullPointStrategies, Yesterday, 05:17 AM
                  0 responses
                  54 views
                  0 likes
                  Last Post NullPointStrategies  
                  Started by argusthome, 03-08-2026, 10:06 AM
                  0 responses
                  130 views
                  0 likes
                  Last Post argusthome  
                  Started by NabilKhattabi, 03-06-2026, 11:18 AM
                  0 responses
                  72 views
                  0 likes
                  Last Post NabilKhattabi  
                  Started by Deep42, 03-06-2026, 12:28 AM
                  0 responses
                  44 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