Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to trade your ninjatrader strategy live?

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

    How to trade your ninjatrader strategy live?

    Hello, I have tried multiple times over the phone and email and no one is able to teach me how to run your ninjatrader strategy live. Does anyone know how to do that?

    I created a strategy and tried using it live and it doesn't work even though the Connection says "Live" and the Strategy is "enabled".

    #2
    Hello jaspindersingh,

    Thanks for your post.

    I have moved this thread to the Strategy Development section of the NinjaTrader Forums since your question is about a custom NinjaScript strategy you have programmed.

    Please see the help guide documentation below that details how to run a custom NinjaScript strategy.

    Enabling a Strategy from the Control Center: https://ninjatrader.com/support/help...t_strateg2.htm

    Enabling a Strategy in a Chart window: https://ninjatrader.com/support/helpGuides/nt8/running_a_ninjascript_strategy.htm

    You could practice enabling a NinjaScript strategy using the SampleMACrossover strategy that comes default with NinjaTrader.

    If the strategy 'Enabled' checkbox is checked in the Strategies tab of the Control Center and the color of the strategy is green, the strategy is ready to place trades and will do so when the conditions to place trades becomes true. If the conditions in the strategy does not become true, no trades would be placed.

    Once you enable the NinjaScript strategy, does the 'Enabled' checkbox appear checked?

    What is the color of the strategy in the Strategies tab of the Control Center?

    If this is a NinjaScript strategy you created, have you added debugging prints to the strategy to understand how the logic in the strategy is evaluating?

    Do you see any error messages appear in the Log tab of the Control Center when running the strategy? If so, what exactly does the error report?​
    <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
      Thanks for the response. The Button is Green in the Control Center and the enabled box is checked. There are no errors or issues so far. The strategy took two trades earlier this morning however, there was no impact to the PnL.

      Comment


        #4
        Hello jaspindersingh,

        Thanks for your notes.

        What version of NinjaTrader are you using? Please provide the entire version number. This can be found under Help -> About (Example: 8.?.?.?)​

        Did the strategy only place entry orders and were the entry orders filled? Or, Limit orders placed by the strategy and those orders have not filled?

        Does the strategy use Stop Loss and Profit Targets in its logic? If so, has the Stop Loss or Profit Target been filled for the filled entry order?

        Do you use Atm Strategy Methods in the strategy?

        Does the Unrealized PnL or Realized PnL column in the Strategies tab of the Control Center report a value for the enabled strategy?

        Send a screenshot of the Strategies tab of the Control Center showing the Unrealized PnL and Realized PnL column on the Strategies tab of the Control Center.
        • To send a screenshot with Windows 10 or newer I would recommend using the Windows Snipping Tool.
        • Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save it as a jpeg file and send the file as an attachment.

        Please test the SampleMACrossover strategy that comes default with NinjaTrader.

        Do you see the Unrealized PnL and Realized PnL columns report values when the SampleMACrossover strategy places trades realtime?

        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


          #5
          8.1.1.7 64-bit
          strategy placed an order and close it out but not on live accounts.
          No-one can answer a simple question of how to run a strategy to a live account.

          Comment


            #6
            I figured it out. Here is how you do it: from the chart: shortcut key Cntr + S ; select your strategy; then on the right side "properties" panel ; scroll down to Account. Select from the drop down here.

            Comment


              #7
              Hello jaspindersingh,

              Thanks for your notes.

              To enable a custom NinjaScript strategy on your live account you would need to set the Account property to your live account and check the 'Enable' checkbox in the Strategy Properties window.

              See the attached screenshot highlighting where the Account property and Enable Property is located in the Properties section of the Strategies window.
              Attached Files
              <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


                #8
                What was it mean when the strategy is enabled but it glows yellow?how will I know a trade has been placed on live market conditions? I built everything through the strategy builder. I am using the most recent release of NinjaTrader
                ​​​​​​

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by NullPointStrategies, Today, 05:17 AM
                0 responses
                41 views
                0 likes
                Last Post NullPointStrategies  
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                124 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                64 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                41 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                46 views
                0 likes
                Last Post TheRealMorford  
                Working...
                X