Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get Indicator Output from DataBox

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

    Get Indicator Output from DataBox

    Hi,
    I'm trying to build a strategy using the plots from an indicator.

    The DataBox returns a value on the signal bar, and n/a on non signal bars

    Similar to this

    Click image for larger version

Name:	image.png
Views:	71
Size:	2.4 KB
ID:	1317996


    The chart plots it provides are drawn with OnRender, rather than drawing objects.

    When i the indicator to strategy builder i get these errors
    Click image for larger version

Name:	image.png
Views:	52
Size:	8.3 KB
ID:	1317997
    How do i get the signals into a strategy?

    #2
    Hello yertle,

    It looks like that indicator is not made in a way to be used with a strategy. For the builder the plot would need to have a value for each bar so it can be used in price conditions. The N/A means no value was set for that bar so the builder would have problems doing comparisons with that plot. It additionally seems the way that indicator is coded is causing an issue when using it with the builder and causing a compile error.

    That indicator may be able to be used in manual coding because you can check if the plot has a valid value in manual coding. You could create a condition which checks if there is a value for the plot, if so you can then also check the value and do an action.

    If this is a third party item you purchased or are having developed for you I would suggest to contact the developer to ask that the put in a specific plot for signals. Make sure that plot has a default value in addition to setting a signal value, and to also test it while using the builder to make sure the error you pictured is not present.



    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    45 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    31 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X