Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsSinceEntry available in MarketAnalyzer.Column?

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

    BarsSinceEntry available in MarketAnalyzer.Column?

    I need to calculate a value based on the highest high since an entry in an MA Column. I know Strategy (and Indicators) have the BarsSinceEntry() methods.

    Do MA column classes have this available as well?

    I want to know the number of bars in a position across NT restarts for long held positions (days, weeks, and perhaps months).

    Thank you,

    DewSamurai

    #2
    Hello DewSamurai,

    Thank you for your post.

    I am not aware of such a property or method for Market Analyzer @Columns. However, if you know the conditions that enter the position you can develop your own counter for this. for an example of a counter please go to Tools > Edit NinjaScript > Indicator > TickCounter.

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    79 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    66 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X