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 wzgy0920, Today, 09:53 PM
        0 responses
        1 view
        0 likes
        Last Post wzgy0920  
        Started by mgco4you, Today, 09:46 PM
        0 responses
        1 view
        0 likes
        Last Post mgco4you  
        Started by Rapine Heihei, Today, 08:19 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by Rapine Heihei, Today, 08:25 PM
        0 responses
        6 views
        0 likes
        Last Post Rapine Heihei  
        Started by f.saeidi, Today, 08:01 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X