Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

BarsSinceEntry in MultiTimeFrame

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

    BarsSinceEntry in MultiTimeFrame

    I have a little issue with Bars Since Entry

    I'm using it in a multi time frame strat.

    therefore i use the overloaded method

    BarsSinceEntry(0,"",0)

    Now, reading the documentation, this should return the numbers of bars since the LAST entry.
    And in fact this returns the numbers of bars since the FIRST entry.

    I've had to modify this to used my named entries, and now it works properly : BarsSinceEntry(0,"Entry"+(i-1),0);


    Could you look into this ?

    #2
    zark.be,

    Please provide an as-simple-as-possible strategy that reproduces what you think is the problem. Thank you.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ETFVoyageur, 05-07-2024, 07:05 PM
    17 responses
    133 views
    0 likes
    Last Post ETFVoyageur  
    Started by ETFVoyageur, Yesterday, 10:13 PM
    1 response
    7 views
    0 likes
    Last Post ETFVoyageur  
    Started by somethingcomplex, Yesterday, 10:36 PM
    0 responses
    7 views
    0 likes
    Last Post somethingcomplex  
    Started by sofortune, 05-10-2024, 10:28 AM
    5 responses
    22 views
    0 likes
    Last Post sofortune  
    Started by guyonabuffalo, Yesterday, 10:01 PM
    0 responses
    4 views
    0 likes
    Last Post guyonabuffalo  
    Working...
    X