Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can one indicator plot more than 1 col in Mrkt Analyzer?

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

    Can one indicator plot more than 1 col in Mrkt Analyzer?

    Hi;

    Can I, in a custom indicator, make one indicator plot more than 1 column in Market Analyzer?

    Thank you

    #2
    Hello,


    Thank you for your note.


    Unfortunately this is not possible, you would need to setup multiple columns for multiple indicator plots.

    Let me know if I can be of further assistance.

    Comment


      #3
      Ok, thanks, I'm trying to convert an indicator I have in TradeStation to use in NT. It summarizes each symbol's chart in a quote board by calculating 5 moving averages and then displaying the difference between each moving average, as a percent, in individual columns in the quote board. (I also color coded the background of the cell (green = the shorter MA is above the longer MA, red = it's below it; and I also summed these into a score in its own column, and then I can sort the list of symbols by anyone of these columns).

      Here is the core of the TS code:

      MA1LkBk = AverageFC(Close[LkBk1Len], MA1Len);
      MA1 = AverageFC(Close, MA1Len);
      MA2 = AverageFC(Close, MA2Len);
      MA3 = XAverage(Close, MA3Len);
      MA4 = AverageFC(Close, MA4Len);
      MA5 = XAverage(Close, MA5Len);

      DfmMA1LkBktoMA1 = (MA1 - MA1LkBk) / Close * 100;
      DfmMA1toMA2 = (MA2 - MA1) / Close * 100;
      DfmMA2toMA3 = (MA3 - MA2) / Close * 100;
      DfmMA3toMA4 = (MA4 - MA3) / Close * 100;
      DfmMA4toMA5 = (MA5 - MA4) / Close * 100;

      DfmMA3toCls = (Close - MA3) / Close * 100;
      DfmMA4toCls = (Close - MA4) / Close * 100;
      DfmMA5toCls = (Close - MA5) / Close * 100;

      So in NT Market Analyzer, if each column has to be in its own indicator I'll have to calculate each moving average twice (once as the shorter of the two MAs, and then again as the longer of the two MAs). I'm guessing this is ineffecient. Is there a way to calculate the MAs and then call them into the Indicator for each column? If so, could you point me in the direction to begin to learn how to do it?

      Thanks

      Comment


        #4
        What you should be able to do is create an indicator with multiple plots, but then add it multiple times in your MA, so you can select each time a different plot to be used in the column - this way you can still make this happen with one indicator coded up only.

        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Aviram Y, Today, 05:29 AM
        0 responses
        2 views
        0 likes
        Last Post Aviram Y  
        Started by quantismo, 04-17-2024, 05:13 PM
        3 responses
        25 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by ScottWalsh, 04-16-2024, 04:29 PM
        7 responses
        34 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by cls71, Today, 04:45 AM
        0 responses
        6 views
        0 likes
        Last Post cls71
        by cls71
         
        Started by mjairg, 07-20-2023, 11:57 PM
        3 responses
        217 views
        1 like
        Last Post PaulMohn  
        Working...
        X