Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Making dots bigger in sine wave
Collapse
X
-
Making dots bigger in sine wave
This is an indicator for the sine wave. The dots that make the sine wave on the chart are small, and in the past with Vista, I was able to enlarge them to a "3". Now with windows 8, nothing seems to work.....by looking at the code is there a way to get the dots bigger ?Tags: None
-
Originally posted by NinjaTrader_Bertrand View PostGregory, so you tried enlarging them by changing the font size parameters in the Variables section?
private Font pfont = new Font("Wingdings", 4, FontStyle.Bold, GraphicsUnit.Point)
... and this would not work on the Win8 setup?
Thanks,
yes, ...................
Comment
-
-
Gregory, so it was connected to loaded the study saved within a chart template?
I tried on my Win8 setup here and could normally change the fontsize for the dots to enlarge, and not needing a NT restart, just a reloading of the applied NinjaScripts via F5 would do.
Thanks,BertrandNinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_Bertrand View PostGregory, so it was connected to loaded the study saved within a chart template?
I tried on my Win8 setup here and could normally change the fontsize for the dots to enlarge, and not needing a NT restart, just a reloading of the applied NinjaScripts via F5 would do.
Thanks,
yes
not needing a NT restart, just a reloading of the applied NinjaScripts via F5 would do
Comment
-
-
Hello,
I'm using a windows 8 computer and was able to increase the size by doing the following.
First locate lines 91/92 of the code
Code://private Font pfont = new Font("Arial", 15, FontStyle.Bold, GraphicsUnit.Point); private Font pfont = new Font("Wingdings", 4, FontStyle.Bold, GraphicsUnit.Point);
When i switch the comments between lines 91 to line 92 then it looks like this
Code:private Font pfont = new Font("Arial", 15, FontStyle.Bold, GraphicsUnit.Point); //private Font pfont = new Font("Wingdings", 4, FontStyle.Bold, GraphicsUnit.Point);
You can change the sizes by changing the 15 and 4 respectively.LanceNinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_Lance View PostHello,
I'm using a windows 8 computer and was able to increase the size by doing the following.
First locate lines 91/92 of the code
Code://private Font pfont = new Font("Arial", 15, FontStyle.Bold, GraphicsUnit.Point); private Font pfont = new Font("Wingdings", 4, FontStyle.Bold, GraphicsUnit.Point);
When i switch the comments between lines 91 to line 92 then it looks like this
Code:private Font pfont = new Font("Arial", 15, FontStyle.Bold, GraphicsUnit.Point); //private Font pfont = new Font("Wingdings", 4, FontStyle.Bold, GraphicsUnit.Point);
You can change the sizes by changing the 15 and 4 respectively.
I did this but it still does not change the dots, is there something else that is missing?
Comment
-
Originally posted by NinjaTrader_Bertrand View PostGregory, just to be sure, after changing the code for the size to be used, you did compile your changes in by pressing F5 in the code, correct?
I made the changes, then clicked save Then when I got into NT and had the workspace and chart clicked on reload
Comment
-
Hello,
Are you editing the code from outside of NinjaTrader?
If so you will want to ensure you open it up in the NinjaScript editor in order to first compile the code before running.
Tools-> edit ninjascript -> indicator... -> SineWave -> press F5 or click CompileLanceNinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_Lance View PostHello,
Are you editing the code from outside of NinjaTrader?
If so you will want to ensure you open it up in the NinjaScript editor in order to first compile the code before running.
Tools-> edit ninjascript -> indicator... -> SineWave -> press F5 or click Compile
I did this but I noticed lines 91/92 of the code were not in the program in edit" ninja script". I highlighted the icon and then pressed F5 and then reloaded the chart but still no change. I also noticed that the sine wave icon does not have a gold padlock next to it, if that makes any difference
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,403 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
95 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
7 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
159 views
0 likes
|
Last Post Yesterday, 10:23 PM | ||
Started by Belfortbucks, Yesterday, 09:29 PM
|
0 responses
8 views
0 likes
|
Last Post
by Belfortbucks
Yesterday, 09:29 PM
|
Comment