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

Kill doesnt work for buying power?

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

    Kill doesnt work for buying power?

    Even with kill on. My strategy doesnt end. It sends 350 orders before I realize it. thanks
    Click image for larger version

Name:	Untitled.png
Views:	38
Size:	344.9 KB
ID:	1175531

    #2
    Hi ezrollin, thanks for posting.

    What commands are you doing in the strategy to get this behavior? What is Kill On? I will need more details and context about the strategy.

    Best regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Click image for larger version

Name:	111111111.png
Views:	26
Size:	74.4 KB
ID:	1175590

      Comment


        #4
        Hi ezrollin, thanks for posting that.

        The strategy is running OnEachTick which would explain why it sends so many orders. The condition is being hit on every tick and there is nothing to stop the condition from triggering on every tick. For the strategy to be stopped with this real time order error handling, it needs to hit an Error code, listed here:

        https://ninjatrader.com/support/help...rderupdate.htm

        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by alcorr247, Yesterday, 09:53 PM
        1 response
        37 views
        0 likes
        Last Post NinjaTrader_ChrisSch  
        Started by traderslab, Yesterday, 10:27 PM
        0 responses
        35 views
        0 likes
        Last Post traderslab  
        Started by jjanguda, Yesterday, 09:40 PM
        1 response
        41 views
        0 likes
        Last Post NinjaTrader_ChrisSch  
        Started by jeronymite, Yesterday, 07:15 PM
        0 responses
        60 views
        0 likes
        Last Post jeronymite  
        Started by RT001, Yesterday, 05:07 PM
        2 responses
        44 views
        0 likes
        Last Post RT001
        by RT001
         
        Working...
        X