Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Alert indicator
Collapse
X
-
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!Tags: None
-
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.Brandon H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by tsantospinto, 04-12-2024, 07:04 PM
|
7 responses
126 views
0 likes
|
Last Post
by aligator
Today, 11:08 AM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
5 responses
56 views
0 likes
|
Last Post Today, 10:57 AM | ||
Started by PeakTry, Today, 10:49 AM
|
0 responses
2 views
0 likes
|
Last Post
by PeakTry
Today, 10:49 AM
|
||
Started by llanqui, Today, 10:32 AM
|
0 responses
5 views
0 likes
|
Last Post
by llanqui
Today, 10:32 AM
|
||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
45 responses
3,994 views
3 likes
|
Last Post Today, 09:51 AM |
Comment