Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom indicator must calculate but not show

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

    Custom indicator must calculate but not show

    Hi:

    In a custom indicator I want a DataSeries to be calculated, but not shown, displayed on screen. Just data available to be read from a strategy. Where can I find an example?

    Drwaing transparent is not an option as values are -1, 0, 1, and indicator has other plots overlaid with price.

    Thanks.

    #2
    pakricard, Plots would just be convenient to work with since they are per default exposed and accessible, however for your use you would just custom expose a signal series / variable then as per this example - http://www.ninjatrader.com/support/f...ead.php?t=4991
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks Bertrand!

      I copied the BearIndication idea in your example but used a DataSeries instead of BoolSeries as I need 3 states (-1, 1, 0).

      It complies, works, BUT I can't read the data from the DataSeries from Data Box. Is there a way to get it?
      Another detail, can I read the DataSeries from a strategy as is?

      I attach the indicator. Hope you can check the issue better.

      BTW. Where can I find all these examples you use all over the forum? Do you have ant "example index"?
      Attached Files

      Comment


        #4
        All samples and tips for NinjaScript education could be found here on our forums - http://www.ninjatrader.com/support/f...splay.php?f=29

        The custom series would not be displayed in the databox, only Plots would be shown here - so would you see would be expected, it would then really only be available for script access.

        Strategies would not cross communicate, so here a series could not be exposed this way.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by JMont1, Today, 03:05 AM
        0 responses
        4 views
        0 likes
        Last Post JMont1
        by JMont1
         
        Started by llanqui, 12-27-2024, 07:18 AM
        3 responses
        98 views
        0 likes
        Last Post charlesthomas  
        Started by ronniecorrigan, Yesterday, 02:34 PM
        2 responses
        12 views
        0 likes
        Last Post ronniecorrigan  
        Started by Luckychip, Today, 02:08 AM
        0 responses
        8 views
        0 likes
        Last Post Luckychip  
        Started by DoomNM, Today, 01:12 AM
        0 responses
        13 views
        0 likes
        Last Post DoomNM
        by DoomNM
         
        Working...
        X