Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

On history works, but in reality no ! What could be the problem ?

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

    On history works, but in reality no ! What could be the problem ?

    Why do I run the strategy and it does not work today, but the history of transactions reflects from the previous day ? What am I doing wrong and what could be my mistake ? In Strategy Analyzer everything works and in real life is not present ?

    #2
    Hello marakano,

    Thanks for your post and welcome to the NinjaTrader forums!

    Are you "Enabling" the strategy when you apply it to the chart?

    If you are enabling the strategy, please check the strategy color code in the strategy tab. Is the strategy name shown in Green or yellow/Orange, or Black/white?
    Reference: https://ninjatrader.com/support/help...tegies_tab.htm

    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Strategy was Enable, and mark green color.

      Comment


        #4
        Hello marakano,

        Thanks for your reply.

        Does the strategy tab show any information regarding Position or Acct position, unrealized or Realized?

        Please check the control center's log tab for any error messages.

        Is the strategy applied to a live account or the sim101 account?

        Paul H.NinjaTrader Customer Service

        Comment


          #5
          During the trading session, there were signals on which the strategy should work, but it is silent. What is strange, but on the same signals it shows the transaction on the history since yesterday. I have written a filter according to time and days of the week. I don't know what's wrong.

          Comment


            #6
            Hello marakano,

            Thanks for your reply.

            I can see the strategy is enabled and is green indicating it is ready to place trades but has not placed trades.

            I would suggest that you debug your strategy perhaps starting with the time filter.

            Here is a link to our debugging tips: https://ninjatrader.com/support/help...script_cod.htm
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              Thanks, I figured out what the problem was !

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by bmartz, 03-12-2024, 06:12 AM
              5 responses
              32 views
              0 likes
              Last Post NinjaTrader_Zachary  
              Started by Aviram Y, Today, 05:29 AM
              4 responses
              13 views
              0 likes
              Last Post Aviram Y  
              Started by algospoke, 04-17-2024, 06:40 PM
              3 responses
              28 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by gentlebenthebear, Today, 01:30 AM
              1 response
              8 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by cls71, Today, 04:45 AM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Working...
              X