Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access StochRSI Fields

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

    Access StochRSI Fields

    How do I access the StochRSI field? The indicator has lines: Overbought, Oversold and Natural.

    Click image for larger version

Name:	Screenshot (8).png
Views:	89
Size:	228.1 KB
ID:	1219387

    #2
    Hi zeniaw9095, thanks for writing in. Those are hard-coded lines added with the AddLine() method. You can get those values through the Lines collection:

    Code:
    private StochRSI _stochRSI;
    
    ...
    
    if (State == State.DataLoaded)
                {
                    _stochRSI = StochRSI(14);
                }​
    
    ...
    
    foreach(NinjaTrader.Gui.Line l in _stochRSI.Lines)
                    Print(l.Value);​

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X