Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to draw a few points on the chart by the values ​​of the array?

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

    How to draw a few points on the chart by the values ​​of the array?

    How to draw a few points on the graph by the values ​​of the array?

    How to update them all every tick?

    I need it to build Hodrick–Prescott filter.

    It changes all of their value when new data.

    #2
    Hello,
    You can override the plot and use the graphics method to draw the points. Unfortunately the Plot method is beyond what we can support but you can refer to the CustomPlotSample indicator that comes with NinjaTrader for any reference.
    • In Control Center menu bar goto Tools>Edit NinjaScirpt>Indicators...
    • In the Indicator dialog select CustomPlotSample and click on the Ok button


    Please let me know if I can assist you any further.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    249 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    161 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    165 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    250 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    203 views
    0 likes
    Last Post CarlTrading  
    Working...
    X