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

ref PlotSeries

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

    ref PlotSeries

    If I have an indicator that has multiple plots how do I ref the plot?

    For example suppose I have a Method that returns the highest plot value (yes I know there are supported ways of doing this but this is just an easy description) how do I ref the Plot that I want to use. Looking for the syntax that would be similiar to referencing arrays.


    int BarOfLastHigh= GetBarOfLastHigh(ref PlotName);

    private int GetBarOfLastHigh(ref PlotSeries PlotName)
    {
    return the_int;
    }

    This would be similar to the IDataSeries example in the Help
    Last edited by TAJTrades; 06-25-2013, 04:58 AM.

    #2
    No need to reply. I finally found the solution. Was having a serious brain issue.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Jon17, Today, 04:33 PM
    0 responses
    1 view
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    4 views
    0 likes
    Last Post Javierw.ok  
    Started by timmbbo, Today, 08:59 AM
    2 responses
    10 views
    0 likes
    Last Post bltdavid  
    Started by alifarahani, Today, 09:40 AM
    6 responses
    41 views
    0 likes
    Last Post alifarahani  
    Started by Waxavi, Today, 02:10 AM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Working...
    X