Thank you
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
How do you adjust Text font & Line thickness
Collapse
X
-
How do you adjust Text font & Line thickness
Can anyone point me to where I can adjust Text font, Line thickness and symbol sizes for items that are printed on the chart as a result for a strategy. For example the size of an "up arrow" symbol. Or size of "my text" or "My line"
Thank youTags: None
-
Hello,
Thank you for the question.
The Default drawing tools such as Up Arrow unfortunately can not have their sizes changed, this would be controlled by the scale of the chart.
Lines and Text can have their size changed in the objects properties. To access a Lines properties, first draw the line and then either double click on the line or single left click the line and right click to select properties.
Text would be the same process, you would need to access the texts Properties where you can adjust the Font which includes a size, weight and font choice.
I look forward to being of further assistance.JesseNinjaTrader Customer Service
-
doesn't change default for strategy lined
Thank you for the quick reply, but it doesn't change the default for line calls coming from strategy for "my line". Clicked on a line recently drawn by strategy, increased line from 1 to 3 set default, ok. It did change the default for lines but it did not change the default for a line called by the strategy. Any other suggestions?
Thank you
Comment
-
Hello yngtrader,
If you wish to change the width of lines drawn by your strategy, you will need to use the overload that accepts an integer for the width for DrawLine(): https://ninjatrader.com/support/help.../?drawline.htm
Code:DrawLine(string tag, bool autoScale, int startBarsAgo, double startY, int endBarsAgo, double endY, Color color, DashStyle dashStyle, int width) or DrawLine(string tag, bool autoScale, DateTime startTime, double startY, DateTime endTime, double endY, Color color, DashStyle dashStyle, int width)
Zachary G.NinjaTrader Customer Service
Comment
-
Originally posted by yngtrader View PostThank you for the quick reply, but it doesn't change the default for line calls coming from strategy for "my line". Clicked on a line recently drawn by strategy, increased line from 1 to 3 set default, ok. It did change the default for lines but it did not change the default for a line called by the strategy. Any other suggestions?
Thank you
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
59 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
21 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
10 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment