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 MacDad, 02-25-2024, 11:48 PM
    7 responses
    158 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    6 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Working...
    X