could you give an Example(Sample), how to do in my indicator show values on hover. When enabled and the mouse is hovered over a marker the Values of my Indicator like volume or price will be displayed.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Show values on hover
Collapse
X
-
Hello zhiga,
Thanks for your post.
NinjaTrader already comes with a Data Box window that displays the Volume value of a bar, the OHLC prices of that bar, the price the mouse is being hovered over, and indicator plot values.
To open the Data Box window, right-click on the Chart window and select 'Show Data Box'.
Data Box help guide: https://ninjatrader.com/support/help...8/data_box.htm
We do not have any reference samples available demonstrating how to code this specifically.
That said, this would likely be possible using ChartControl and ChartScale while subscribing to MouseMove events.
Here is link to a forum thread which contains an example script demonstrating this concept:
Brandon H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ageeholdings, Today, 07:43 AM
|
0 responses
6 views
0 likes
|
Last Post
by ageeholdings
Today, 07:43 AM
|
||
Started by pibrew, Today, 06:37 AM
|
0 responses
4 views
0 likes
|
Last Post
by pibrew
Today, 06:37 AM
|
||
Started by rbeckmann05, Yesterday, 06:48 PM
|
1 response
14 views
0 likes
|
Last Post
by bltdavid
Today, 05:43 AM
|
||
Started by llanqui, Today, 03:53 AM
|
0 responses
6 views
0 likes
|
Last Post
by llanqui
Today, 03:53 AM
|
||
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
12 views
0 likes
|
Last Post Today, 12:38 AM |
Comment