Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Entry

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

    Strategy Entry

    What setting on Strategy builder would I need to use to have an entry at a indicator line, not Click image for larger version

Name:	Touch not close.jpg
Views:	437
Size:	7.9 KB
ID:	1156687 on close of candle? See attached
    When price touches line enter long order.

    #2
    Hello JTizz,

    Thank you for your post.

    To have your strategy enter a position when the current price touches the indicator line before the close of the bar, you would set your strategy to Calculate.OnEachTick or Calculate.OnPriceChange instead of Calculate.OnBarClose.

    The condition in your strategy would check if the Close[0] price >= the indicator and then calls an action of EnterLong().

    See this help guide documentation for more information.
    Calculate - https://ninjatrader.com/support/help.../calculate.htm
    Condition Builder - https://ninjatrader.com/support/help...on_builder.htm
    Actions - https://ninjatrader.com/support/help...MarketPosition

    Let us know if we may assist further.

    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      I tried on each tick and on price change but still enters on bar close? Click image for larger version

Name:	on each tick.jpg
Views:	405
Size:	5.8 KB
ID:	1156849

      Comment


        #4
        From Strat builder Click image for larger version

Name:	oneachtic2.jpg
Views:	405
Size:	113.8 KB
ID:	1156851

        Comment


          #5
          Trade Mngmt Click image for larger version

Name:	enter.jpg
Views:	392
Size:	30.0 KB
ID:	1156853

          Comment


            #6
            Hello JTizz,

            Thank you for your note.

            Are you running the strategy in the Strategy Analyzer, on a Chart window, or from the Strategies tab of the Control Center?

            Are you running the strategy on the Playback Connection with Market Replay data or are you running the strategy on live data?

            If you are running the strategy on a Chart window, are you referring to historical trades that are placed or realtime trades?

            I look forward to assisting further.
            <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

            Comment


              #7
              Chart window, live data,actual real time trade.

              Comment


                #8
                Click image for larger version

Name:	CHANGE.jpg
Views:	411
Size:	60.3 KB
ID:	1156869

                Comment


                  #9
                  Hello JTizz,

                  Thank you for your note.

                  Please send us a reduced copy of your script so we may further investigate this on our end. Note that a reduced copy refers to a copy of the script that contains the minimum amount of code needed to reproduce the issue. All other code is commented out or removed.

                  Below is a link to a video that demonstrates making a copy of a script.
                  https://www.youtube.com/watch?v=BA0W...utu.be&t=8m15s

                  Also, please provide us with the settings that you are using for your strategy. This includes the instrument, bar type, and bar interval you are enabling the strategy on. For example, using the ES 06-21 instrument with 1-minute bars.

                  I look forward to assisting further.
                  <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

                  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
                  71 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