Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Shared series between indicators

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

    Shared series between indicators

    Hello

    I am using 2 indicators, the second one using a dataseries which is generated by the former.

    In the second one i have inserted the instruction "Myfirstindic().Serie1" to retrieve the values

    But as we can filled in (between the brackets) some parameters which could potentially differs from used by the indicator one plotted on the chart, i am thinking that the second indicator is accessing a second instance of the first indicator and not the one which is plotted.

    Am I right ?

    If so this way of working could lead to performance issue, is there any other way of doing it?.

    Many thanks in advance

    Lionel

    #2
    Hello,

    When calling different indicators from within a script it will create a new instance and there is not a supported way to have indicator A access values from another script that is actively running.

    You could have indicator A create an instance of indicator B and then obtain values from that instance.

    An example of this can be found here: http://www.ninjatrader.com/support/f...ead.php?t=4991

    Please let me know if I can be of further assistance or clarify any of this.
    LanceNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DayTradingDEMON, Today, 09:28 AM
    2 responses
    15 views
    0 likes
    Last Post DayTradingDEMON  
    Started by Stanfillirenfro, Today, 07:23 AM
    6 responses
    22 views
    0 likes
    Last Post Stanfillirenfro  
    Started by navyguy06, Today, 09:28 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    8 responses
    32 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by helpwanted, Today, 03:06 AM
    2 responses
    22 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Working...
    X