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 lightsun47, Today, 03:51 PM
|
0 responses
5 views
0 likes
|
Last Post
by lightsun47
Today, 03:51 PM
|
||
Started by 00nevest, Today, 02:27 PM
|
1 response
10 views
0 likes
|
Last Post
by 00nevest
Today, 03:48 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
4 responses
46 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
1 response
14 views
0 likes
|
Last Post
by bltdavid
Today, 02:44 PM
|
||
Started by port119, Today, 02:43 PM
|
0 responses
10 views
0 likes
|
Last Post
by port119
Today, 02:43 PM
|
Comment