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 GussJ, 03-04-2020, 03:11 PM
        15 responses
        3,271 views
        0 likes
        Last Post xiinteractive  
        Started by Tim-c, Today, 02:10 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Taddypole, Today, 02:47 PM
        0 responses
        2 views
        0 likes
        Last Post Taddypole  
        Started by chbruno, 04-24-2024, 04:10 PM
        4 responses
        51 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        10 responses
        403 views
        1 like
        Last Post beobast
        by beobast
         
        Working...
        X