Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding Multiple TF Custom Bar Type to the strategy

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

    Adding Multiple TF Custom Bar Type to the strategy

    Hi, I have custom renko bar type developed and I want to use it within the strategy, how do I add the object to the strategy if my bar type uses 2 parameters instead of just one.

    I found this as an example on here (for MTF):

    // Add a 5 minute Bars object to the strategy
    Add(PeriodType.Minute, 5);

    // Add a 15 minute Bars object to the strategy
    Add(PeriodType.Minute, 15);

    I'm using Period.Type = Final2 for my custom renko bar type, how do i specify both of them?

    Will something like this work?
    Add(PeriodType.DynamicRenko, 2, 2);
    Add(PeriodType.DynamicRenko, 4, 4);

    Regards,
    snu

    Add(PeriodType.

    #2
    Hello,

    Unfortunately it is not currently possible to add a custom bar type to a strategy. You would only be able to run a custom bar type as the primary input series.

    Please let me know if you have additional questions.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Waxavi, Today, 02:10 AM
    0 responses
    4 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Started by TradeForge, Today, 02:09 AM
    0 responses
    9 views
    0 likes
    Last Post TradeForge  
    Started by Waxavi, Today, 02:00 AM
    0 responses
    2 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Started by elirion, Today, 01:36 AM
    0 responses
    4 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by gentlebenthebear, Today, 01:30 AM
    0 responses
    4 views
    0 likes
    Last Post gentlebenthebear  
    Working...
    X