Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

comparing columns

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

    comparing columns

    Hi I have two question related to market analyser:

    1. is it possible to format a cell comparing its value not with a fixed number (e.g. >0 ) but with another cell? for instance, if price > SMA (200), make it green... I have both price and SMA (200) in the MA window

    2. alternatively to that, is it possible to create a column as a difference of two other variables? for instance, showing the difference between price and SMA(200)?

    thanks

    #2
    Hello kalkanis,

    1. Unfortunately this is not supported in the Market Analyzer. You can only use numeric values.

    You can create custom alerts by programming a custom indicator. Please see the following links for more information.

    Creating custom indicators


    Alert()



    2. You would need to create a custom indicator that calculates the difference and load it as an Indicator column in the Market Analyzer.

    Comment


      #3
      I found in this forum a script for an indicator which does almost what I need. I uploaded it and it works. However I would like to create a slight variant of the same indicator. I edited it and saved with another name. However when I create a new column it does not show among the existing indicators. I only find the original one. I can find it if I choose the edit option ( I can see both the original and the new version -- I need both). but when I try to load it as a new column in market analyser I can only see the old one. how can i access both? thanks

      Comment


        #4
        Hello,

        After you saved the new indicator, did you compile your indicators? This would be required for it to show up.

        You can compile by right clicking on the indicator code and selecting "Compile".
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        61 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        40 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        21 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        23 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        51 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X