Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
simple line indicator of single value
Collapse
X
-
Hello Skifree,
Thanks for your post.
You could create a custom NinjaScript indicator that adds a plot to the indicator using the AddPlot() method and then assign the calculated custom value that you want to the plot.
That value you assign to the plot would then be plotted on the chart from the indicator.
See the help guide documentation below for more information about AddPlot() and sample code.
AddPlot(): https://ninjatrader.com/support/help...t8/addplot.htm
The C# programming language is used for developing NinjaScript indicators and strategies.
To create a NinjaScript indicator, open a New > NinjaScript Editor window, select the '+' tab at the bottom of the Editor window, select 'New Indicator'. Then, you could set up as much of the indicator as possible in the Indicator Builder. This will create the framework of the indicator or strategy
Once you finish setting up as much as possible in the Indicator Builder, you must manually program the rest of the indicator.
Below is a link to a forum post with helpful information about getting started with NinjaScript.
https://ninjatrader.com/support/foru...040#post786040<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>
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
331 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
549 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment