Is this possible
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
market analyzer
Collapse
X
-
Hello salaksi1,
The easiest way to do that would be with the right click -> Alerts in the analyzer. After adding two columns with the variations of the indicator you wanted to check you can open the alerts menu to form a cross over condition using those two columns. https://ninjatrader.com/support/help...nt8/alerts.htm
Alternatively you would need to create an indicator with a Plot and then assign the plot a value. For example 0 if no crossover is found and 1 if a crossover is found. The MA can then use the indicator column to display that result.
-
Hello salaksi1,
I am not aware of a video of creating an indicator, you can use the NinjaScript editor to view the code of existing indicator or generate new indicators with plots.
If you generate a new indicator using the editor and add a plot during the wizard screens that will set up the script for you. After that you would just need to add the code you want to OnBarUpdate to plot a value. https://ninjatrader.com/support/help...ghtsub=addplot
For use with the market analyzer you generally need to plot a specific value, for example 0 for not found or 1 for found.
You can use the CrossAbove or CrossBelow methods to detect the crossing: https://ninjatrader.com/support/help...sub=crossabove
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment