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:	84
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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    133 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X