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 Felix Reichert, 04-26-2024, 02:12 PM
|
5 responses
39 views
0 likes
|
Last Post Today, 03:14 PM | ||
Decrease the size of the RegionHIghLightY on each tick when the price touches it
by cmtjoancolmenero
Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
|
15 responses
45 views
0 likes
|
Last Post Today, 03:10 PM | ||
Started by ETFVoyageur, Yesterday, 06:05 PM
|
6 responses
37 views
0 likes
|
Last Post
by ETFVoyageur
Today, 02:48 PM
|
||
Started by rbeckmann05, Today, 02:35 PM
|
1 response
6 views
0 likes
|
Last Post Today, 02:45 PM | ||
Started by Torontobluejays, Yesterday, 08:43 AM
|
6 responses
34 views
0 likes
|
Last Post
by rc5781
Today, 02:43 PM
|
Comment