I am measuring 2 text objects and would like to do something if they get too close to each other on the chart.
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
Convert text size to ticksize
Collapse
X
-
Font has a GetHeight property. also have a peep at measure text http://msdn.microsoft.com/en-us/library/y4xdbe66.aspx
-
GetYByValue
When I use GetYByValue, I get numbers in the tens of thousands range. I was expecting it to return a pixel measurement of Y. The following code is generating current numbers over 60,000...
int inty = ChartControl.GetYByValue(BarsArray[0], price);
Is my understanding wrong?
Thx.
Comment
-
Originally posted by BradB View PostWhen I use GetYByValue, I get numbers in the tens of thousands range. I was expecting it to return a pixel measurement of Y. The following code is generating current numbers over 60,000...
int inty = ChartControl.GetYByValue(BarsArray[0], price);
Is my understanding wrong?
Thx.
Comment
-
-
Originally posted by Qualitiedx View Postone question!what happens if you change the resolution?the strategy is destroyed? :\
i have the same indi running on 2 pc with different screen resolution. both works fine without code changes.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by junkone, Today, 11:37 AM
|
0 responses
1 view
0 likes
|
Last Post
by junkone
Today, 11:37 AM
|
||
Started by quantismo, 04-17-2024, 05:13 PM
|
5 responses
33 views
0 likes
|
Last Post Today, 11:32 AM | ||
Started by proptrade13, Today, 11:06 AM
|
1 response
5 views
0 likes
|
Last Post Today, 11:27 AM | ||
Started by love2code2trade, 04-17-2024, 01:45 PM
|
4 responses
34 views
0 likes
|
Last Post Yesterday, 10:31 PM | ||
Started by cls71, Today, 04:45 AM
|
2 responses
10 views
0 likes
|
Last Post
by eDanny
Today, 11:11 AM
|
Comment