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 Jimmyk, 01-26-2018, 05:19 AM
|
6 responses
835 views
0 likes
|
Last Post
by emuns
Today, 11:27 AM
|
||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
6 responses
3,291 views
1 like
|
Last Post
by jgualdronc
Today, 10:56 AM
|
||
Started by Touch-Ups, Today, 10:36 AM
|
0 responses
11 views
0 likes
|
Last Post
by Touch-Ups
Today, 10:36 AM
|
||
Started by geddyisodin, 04-25-2024, 05:20 AM
|
11 responses
62 views
0 likes
|
Last Post Today, 10:08 AM | ||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
0 responses
9 views
0 likes
|
Last Post Today, 09:55 AM |
Comment