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.
    BrettNinjaTrader Product Management

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        77 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        45 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        27 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        62 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X