Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Theoretical Fill algorithm

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

    Theoretical Fill algorithm

    Hi,

    Following entry situation:
    If a condition is fulfilled, with start of the next new bar, I have a limit order; if this is filled I have a strict profit target and stop loss. I would like to have another fill type than "Default" of "Liberal" (which sometimes fill, sometimes not).

    I would like to see what is the theoretical possible value I could get.
    I do not like to see what a algorithm tries to find out (I do not know what is going on in this blackbox).

    In my situation, there is no problem with intrabar movement, only the question whether it is filled and later exited.

    Does such an algorithm already exist? Or what do I have to do?

    #2
    Hello andorre,

    Thank you for your post.

    You can program your own Fill types. The following help guide article can get you started on this:

    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Yes, I know this link. But there is not much help.

      Does such an algorithm exist I am looking for?

      Or does another algorithm exist which I could use to understand how to program it by myself?

      Comment


        #4
        You can view the code for default and liberal fill algorithms.

        Browse to: My Documents\NinjaTrader6.5\bin\custom\type

        Open up the files DefaultFillType.cs and LiberalFillType.cs
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          I know this as well. But this looks very challenging and I cannot find much help.

          Do you know of any fill algorithm of a user?

          Are there different fill algorithms in NT7?

          Comment


            #6
            There aren't any user sumitted fill algorithms available in our file sharing section. We're not aware of where else they might be shared.

            We have not added or changed the fill algorithms for version 7.

            You may consider hiring a 3rd party NinjaScript consultant to develop your fill algorithm:
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            115 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            161 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            83 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            127 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            87 views
            0 likes
            Last Post PaulMohn  
            Working...
            X