Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Custom indicator
Collapse
X
-
Hi mballagan,
Thank you for your post.
If you create the custom indicator and it is available within NinjaTrader then you can add that indicator in the Indicator column of Market Analyzer.
Then once added to the Market Analyzer you can create alert conditions based on that indicator.Ryan O.NinjaTrader Customer Service
-
I have created a custom indicator that checks for two conditions the logic for condition 1 is as follows:
if(ReverseCandleLong())
{
Plot1.Set(1);
counter++;
string tag = "RCLE" + counter.ToString();
Print("Reverse Candle LE: date = " + Time[0].Date.ToString() + " time = " + Time[0].ToShortTimeString());
DrawText(tag,"RCLE ",0,Open[0],Color.Blue);
Print("Current time = " + Time[0].ToString() + " pivotlevels[0] = " + pivotlevels[0].ToString());
}
else
{
Plot1.Set(0);
}
where ReverseCandleLong() checks for a particular bar formation.
When I try and add this indicator to market analyzer I get an error message saying that NinjaTrader has encountered an error and needs to close. The indicator compiles fine, what I am trying to do is set up an alert so that a cell in market analyzer changes color when a condition is true.
Originally posted by NinjaTrader_RyanOlson View PostHi mballagan,
Thank you for your post.
If you create the custom indicator and it is available within NinjaTrader then you can add that indicator in the Indicator column of Market Analyzer.
Then once added to the Market Analyzer you can create alert conditions based on that indicator.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
27 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
226 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
415 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Comment