Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

inidcator return series

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

    inidcator return series

    I have an indicator which exposes several series & returns those to be accessible by other indicators/strategies.

    In the strategy i can access those series in the code.

    For the Strategy builder to see those series from the Indicator in the Plots section of the builder it seems i must return those as Plots (setup in the indicator state == state.defaults) using Values[0] Values[2] etc for however many series i return.

    So i am seeing those in the strategy builder - is this the only way i can do so ie i cannot just return a Series<double> from my indicator and access this in the strategy builder?

    Someone can code and see it but they must explicity reference in the code as opposed to being generated via the strategy builder.

    So i am just wanting to confirm the above.

    Also if i have a non price based or non double series i want to return and access - as this cannot be done via a Plot - this would need to be programmatically added ie if i was returning a Enum value related to the logic or a string or other type?

    thanks

    #2
    Hello soulfx,

    You are correct, you may only reference data series which are set to plots through using the strategy builder.

    Also, yes, since you can't set a true or false value to a plot you would not be able to access this series. I might suggest using 1's and 0's, 1 being true and 2 being false.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X