Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calling indicator value

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

    Calling indicator value

    I have an indicator that sets a value of +1 for long and -1 for short and when I tried to call it on the strategy on the same time frame and interval but when the strategy calls it the values of indicator is the closing price of the bar not +1/-1. I even tried to put an Update(); on the public DataSeries of the indicator values.

    #2
    Hi Edward, the Update() call on the series should not be needed, would suggest to go through this sample and have the exact same structure used to expose.



    You could also test via setting the value into regular indicator plots > those would be exposed per default.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    64 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    149 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    99 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    286 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X