Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Plot a second instrument value in chart as text
Collapse
X
-
Hello Impeesa,
Thanks for your post.
I'm not aware of an existing indicator that does that.
You could use the Market analyzer to display the price of any number of instruments, however, this would be a separate window.
If you would like to construct an indicator yourself, you would need to use the AddDataSeries() method for the added instrument: https://ninjatrader.com/support/help...dataseries.htm
To display the text you would need to use Draw.TextFixed(): https://ninjatrader.com/support/help..._textfixed.htm
If you would like this created for you, we can provide a link to 3rd party programmers available through the NinjaTrader Ecosystem.
- Likes 1
-
Hello Impeesa,
Thanks for your reply.
If you run the indicator with Calculate.OnPriceChange (or Calculate.OnEachTick) the Close[0] will be the current price of the forming bar, which is what you want.
Here is a quick example of Draw.TextFixed: Draw.TextFixed(this, "tag1", Close[0].ToString(), TextPosition.TopRight);
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
35 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
12 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
18 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
20 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment