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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
68 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
151 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
100 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
288 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment