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!
See more
See less

Partner 728x90

Collapse

High [0] + 2 ticks DrawText

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • rcmcd
    replied
    Thanks so much!

    Leave a comment:


  • NinjaTrader_ZacharyG
    replied
    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);
    For more information about TickSize, please take a look at this help guide link: https://ninjatrader.com/support/help.../?ticksize.htm

    Please, let us know if we may be of further assistance.

    Leave a comment:


  • rcmcd
    started a topic High [0] + 2 ticks DrawText

    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.

Latest Posts

Collapse

Topics Statistics Last Post
Started by Austiner87, Yesterday, 11:24 AM
2 responses
12 views
0 likes
Last Post brucerobinson  
Started by Rogers101, 05-05-2024, 11:30 AM
3 responses
21 views
0 likes
Last Post Rogers101  
Started by nightstalker, 05-04-2024, 02:05 PM
5 responses
53 views
1 like
Last Post nightstalker  
Started by MSerag, Yesterday, 11:52 PM
0 responses
11 views
0 likes
Last Post MSerag
by MSerag
 
Started by DynamicTest, Yesterday, 11:18 PM
0 responses
3 views
0 likes
Last Post DynamicTest  
Working...
X