Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert indicator

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

    Alert indicator

    I would like to know if there is any way for me to add an alert, different from those already available in ninjatrader, for example there are alerts to change the color of the candlestick, or a triangle or an arrow appears! My doubt is if I can add something custom for example a heart or a star, things like that, thanks!

    #2
    Hello marcojabra,

    Thanks for your post.

    You could create a custom indicator that adds drawings to a chart when certain conditions occur by calling Draw methods in NinjaTrader 7.

    For example, to draw a dot on the chart when a certain condition occurs, you would create your condition and call DrawDot() within that condition to draw a dot on the chart at a specified location.

    See this help guide page about Drawing: https://ninjatrader.com/support/help...t7/drawing.htm

    DrawDot(): https://ninjatrader.com/support/help...t7/drawdot.htm

    To change the color of a candle on the chart, BarColor could be used.

    BarColor: https://ninjatrader.com/support/help...7/barcolor.htm

    ​It would be possible to create a custom NinjaScript indicator in NinjaTrader 7.

    NinjaScript indicators are created or modified by navigating to Tools > New NinjaScript > Indicator.

    I've included some educational resources on C# and creating indicators from the NinjaTrader 7 help guide.

    Programming Basics — https://ninjatrader.com/support/help...g_concepts.htm
    Developing Indicators — https://ninjatrader.com/support/help...indicators.htm
    Indicator tutorials — https://ninjatrader.com/support/help...ndicators2.htm

    NT 7 Educational Resources — https://ninjatrader.com/support/help..._resources.htm

    And, our publicly available training video, NinjaScript Editor 401, for your to view at your convenience: https://www.youtube.com/watch?v=K8v_...D7105&index=11

    Please let me know if I may assist further.
    Last edited by NinjaTrader_BrandonH; 02-12-2023, 06:35 PM.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    598 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    555 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X