Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicator Plot

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

    indicator Plot

    Hi,
    I developped an indicator, and have two plots.
    The problem I got is that I want know an other indicator to calculate the mean of the 5 last bars for each bar. It is pretty easy for the first plot, but how to do it for the second plot?

    Thank you in advance,
    R.E.

    #2
    Hello R.E.,

    Thank you for writing in. You would pass Plots[1] to the indicator instead of Plot0 or whatever you were using for the first plot, but otherwise everything should be pretty much the same. For a more specific example, please attach the relevant code you are working with. If you do not wish to share it on the forums, please send it in an email to platforumsupport[AT]ninjatrader[DOT]com and reference this ticket number in the body of the email: #1362681

    Please let me know if you have any questions.
    Michael M.NinjaTrader Quality Assurance

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    164 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    318 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    246 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X