Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Quick questions about using an Indicator as a Market Analyzer column

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

    Quick questions about using an Indicator as a Market Analyzer column

    From within the indicator, is there a flag that can be checked if the indicator is running within Market Analyzer (in order to enable/disable certain features, for example) instead of a chart?

    Also, the primary way Market Analyzer reads information from the indicator is looking at it's Plots, correct? Is there a way to transmit non-numerical information? For example, a string? If I want the column to read "My Setup" or "My Other Setup", is that possible?

    Thank you!

    #2
    Hello neoikon,

    Try:

    Code:
    if (Parent is MarketAnalyzerColumnBase)
    	Print("Running on a Market Analyzer");
    No, if you want something other than a plot read, you would want to make the script as a MarketAnalyzer column and not as an indicator.

    You could use a plot value to trigger a cell filter though with some preset messages
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by andrewtrades, Today, 04:57 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    3 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    7 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    19 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X