Thanks.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Horizontal Line with Price aor Text listed
Collapse
X
-
SenkHere, the script could be modified, but you would need to convert from decimal to the fractional equivalent, rather than preventing a conversion to decimal.
Pi, there is not an official pre-loaded indicator that will do this, although it certainly would be useful to see one created and uploaded to the Indicators forum.Dave I.NinjaTrader Product Management
Comment
-
Hi Dave,
I'm not well versed with the programming part, I understand the logic however. The decimals need to be converted and formatted to the fractional notation (1/16ths or 1/32nds) based on the instrument or a new indicator property. Can someone please update this indicator to achieve this?
Thanks.
Comment
-
Hello,
thank you for posting this.
But I can´t find - not in the parameters but also not in the script - where to set fontsize and color(?)
Thank you
Tony
Originally posted by NinjaTrader_Dave View PostI've got another one here, created by a member of our development team, that may provide what you are looking for even more precisely. This indicator will automatically plot the price-axis value of the horizontal line, and you can set a text tag of your choosing in the line properties window. This will allow you to use different text and price markers for each line that you draw.
Comment
-
Hello tonynt,
The key is in the call to the graphics.DrawString() method. This method takes a Font object and a Brush object as inputs, so you should be able to change what is being passed in here to edit the font, size, color, and other properties.
For more information about graphics.DrawString(), please see the link below, which also includes links for more information on Font and Brush objects:
https://msdn.microsoft.com/en-us/lib...vs.110%29.aspxDave I.NinjaTrader Product Management
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Brevo, Today, 01:45 AM
|
0 responses
6 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
384 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
||
Started by oviejo, Today, 12:28 AM
|
0 responses
6 views
0 likes
|
Last Post
by oviejo
Today, 12:28 AM
|
Comment