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 frankthearm, Today, 09:08 AM
            5 responses
            14 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            43 views
            0 likes
            Last Post jeronymite  
            Started by yertle, Today, 08:38 AM
            5 responses
            15 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by adeelshahzad, Today, 03:54 AM
            3 responses
            19 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by bill2023, Yesterday, 08:51 AM
            6 responses
            27 views
            0 likes
            Last Post NinjaTrader_Erick  
            Working...
            X