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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    60 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X