Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicator Comparing the price of different series
Collapse
X
-
Indicator Comparing the price of different series
Hello, I am not very familiar with NinjaScript. I'm looking for an indicator that draws out an alert when "data 1" and "data2" have moved in a direction more strongly than "data 3" over a set number of bars. Does such a thing exist or will I need to develop my own?Tags: None
-
Hello GiovanniTunk,
Thank you for your post.
I am not aware of an indicator that displays an alert when "data 1" and "data 2" moved in a direction more than "data 3" over a set number of bars. You would need to develop a custom NinjaScript indicator to accomplish this. NinjaScript indicators could be programmed in a NinjaScript Editor window (New > NinjaScript Editor) by right-clicking on the Indicators folder and choosing New Indicator.
I've included some educational resources on C# and creating indicators from the NinjaTrader 7 help guide. NinjaScripts are different between NinjaTrader 7 and NinjaTrader 8, but the concepts are still relevant.
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
I am also linking you to the Educational Resources section of the Help Guide in NinjaTrader 8 to help you get started with NinjaScript: https://ninjatrader.com/support/help..._resources.htm
And the MSDN (Microsft Developers Network) C# Language Reference: https://ninjatrader.com/support/help...erence_wip.htm
We also have a webinar on using the NinjaScript Editor.
Live Webinar - https://ninjatrader.com/Webinar/NinjaScript-Editor-401
Recorded Video - https://www.youtube.com/watch?v=BA0W4ECyVdc
Additionally, I would suggest taking a look at the Code Breaking Changes documentation in the NinjaTrader 8 help guide. It provides a high-level overview of the NinjaScript changes you can expect between NinjaTrader 7 and NinjaTrader 8.
Code Breaking Changes - https://ninjatrader.com/support/help...ng_changes.htm
The Strategy Builder could also be used to create conditions and draw objects on a chart instead of place executions. Please see these help guide links for more information about Strategy Builder conditions.
And, here is a link to our publicly available Strategy Builder 301 training video - https://www.youtube.com/watch?v=_KQF2Sv27oE&t=13s
Please let us know if we may assist further.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
- Likes 1
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
80 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment