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 judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            21 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            10 views
            0 likes
            Last Post cre8able  
            Working...
            X