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 Segwin, 05-07-2018, 02:15 PM
    14 responses
    1,789 views
    0 likes
    Last Post aligator  
    Started by Jimmyk, 01-26-2018, 05:19 AM
    6 responses
    837 views
    0 likes
    Last Post emuns
    by emuns
     
    Started by jxs_xrj, 01-12-2020, 09:49 AM
    6 responses
    3,294 views
    1 like
    Last Post jgualdronc  
    Started by Touch-Ups, Today, 10:36 AM
    0 responses
    13 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    11 responses
    63 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X