Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Fill Algorithm

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

    Custom Fill Algorithm

    Hi, I am writing my own custom fill algorithm. Within the fill alogorithm you are able to use predefined variables. Is there anyway I can use the values of a user defined variable used in the stratgey. For example, I use a trigger value. Each bar has a trigger value. Is it possible to use the current value of that trigger within the custom fill algorithm or is it only possible to use the predefined variables? Or is there a way to pass extra paramaters to the fill algorithm?

    Kind regards,
    Rene

    #2
    Hi Rene,

    Thank you for your post.

    Please note that Custom Fill Types are unsupported.

    However, you won't be able to pass values from the strategy script to the Custom Fill. You will need to have your values being set internally per the Fill script that you can use to define for your algorithm.

    Additionally, you can view the current fill types by going to (My) Documents -> NinjaTrader 7 -> bin -> custom -> Type -> @LiberalFillType

    http://www.ninjatrader.com/support/h...fill_types.htm

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    574 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X