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

HELP For ENTRY / EXIT

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

    HELP For ENTRY / EXIT

    Hi all - please somebody can give me the strategie -- enter 2 quantiti - if position is + 5 ticks - close 1 - the other close if ...- --- try it already with sell/buy with limitorder ... - doesnt work-
    thanks for your help.
    regards
    george

    #2
    While I don't have a strategy that does that exactly I'd be happy to assist you.

    So that I can best guide you can you tell me if you're trying to do this with the Strategy Wizard or NinjaScript code?
    LanceNinjaTrader Customer Service

    Comment


      #3
      Hi Lance

      thx for your offer - tried it by Strategie Wizzard

      regards
      George

      Comment


        #4
        I've attached a sample strategy that demonstrates how you can have two positions managed separately. I'ts not exactly what you're looking for but should help get you started

        Also be aware of these two settings when running the strategy:

        Entries per direction
        Sets the maximum number of entries allowed per direction while a position is active based on the "Entry handling" property

        Entry handling
        Sets the manner in how entry orders are handled. If set to "AllEntries", the strategy will process all entry orders until the maximum allowable entries set by the "Entries per direction" property has been reached while in an open position. If set to "UniqueEntries", strategy will process entry orders until the maximum allowable entries set by the "Entries per direction" property per each uniquely named entry.
        Attached Files
        LanceNinjaTrader Customer Service

        Comment


          #5
          Hi Lance

          thx again for your support - try to fix a strategie for Fdx - hope its right to follow your ideas

          regards

          george
          Attached Files

          Comment


            #6
            Hello George,

            Thank you for your response on this item.

            Form your strategy I see you followed Lance's idea correctly. Remember to keep the EntriesPerDirection in mind for this strategy.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by algospoke, Yesterday, 06:40 PM
            2 responses
            19 views
            0 likes
            Last Post algospoke  
            Started by ghoul, Today, 06:02 PM
            3 responses
            14 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            45 views
            0 likes
            Last Post jeronymite  
            Started by Barry Milan, Yesterday, 10:35 PM
            7 responses
            21 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by AttiM, 02-14-2024, 05:20 PM
            10 responses
            181 views
            0 likes
            Last Post jeronymite  
            Working...
            X