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
High [0] + 2 ticks DrawText
Collapse
X
-
Hello rcmcd,
Thank you for writing in.
If you would like to print out High[0] plus 2 ticks, you can do the following:
Code:DrawTextFixed("highText", (High[0] + 2 * TickSize).ToString(),TextPosition.BottomRight, Color.Lime, largeFont,Color.Transparent, Color.Transparent, 0);
Please, let us know if we may be of further assistance.
Leave a comment:
-
High [0] + 2 ticks DrawText
Hello,
I'm trying to calculate High[0] + 2 ticks so I can DrawTextFixed the result. I currently have ...
DrawTextFixed("highText", High[0].ToString(),TextPosition.BottomRight, Color.Lime, largeFont,Color.Transparent, Color.Transparent, 0);... and it works great.
I have very limited programming experience.
Thanks for any guidance.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Austiner87, Yesterday, 11:24 AM
|
2 responses
12 views
0 likes
|
Last Post Today, 01:42 AM | ||
Started by Rogers101, 05-05-2024, 11:30 AM
|
3 responses
21 views
0 likes
|
Last Post
by Rogers101
Today, 12:48 AM
|
||
Started by nightstalker, 05-04-2024, 02:05 PM
|
5 responses
53 views
1 like
|
Last Post
by nightstalker
Today, 12:13 AM
|
||
Started by MSerag, Yesterday, 11:52 PM
|
0 responses
11 views
0 likes
|
Last Post
by MSerag
Yesterday, 11:52 PM
|
||
Started by DynamicTest, Yesterday, 11:18 PM
|
0 responses
3 views
0 likes
|
Last Post
by DynamicTest
Yesterday, 11:18 PM
|
Leave a comment: