Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

print to market analyzer column

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

    print to market analyzer column

    Hi,
    I'd like to get this indicator to show the same Print () text in a market analyzer column. Or even show a 1 or a zero, maybe with a change in background color. How might I modify it? Is there a sample somewhere?

    protected override void OnBarUpdate()
    {
    if (Range()[0] > ATR(14)[0] * 2)
    {
    Print("1 ATR is exceeded");
    }
    }

    thanks,
    David
    Last edited by trader3000a; 01-18-2022, 08:37 AM.

    #2
    Hello trader3000a,

    Thanks for your post.

    You can add a transparent plot to your indicator (transparent so it does not change your display) and you can set the plot to some known value when the condition occurs, such as 1 when true or zero when false.

    In the market Analyzer, you would add the indicator through the indicator column. You can then use the 1 or 0 values to set up the cell conditions to display text and colors as you wish.

    For an example of a transparent plot, you can check out the indicator CandleStickPattern which has a plot identified as "PatternFound" which will be 1 when the selected pattern has been found or it will be a zero meaning the pattern has not been found.

    Here is a link to the market analyzer cell conditions: https://ninjatrader.com/support/help...lter_condi.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    579 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X