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

print format for output window

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

  • bltdavid
    replied
    Start here.
    Drill down into the links, study the code, experiment as necessary, the answers are there.

    Hint:
    Everywhere you want to print 'price', you would use 'FormatPrice(price)' instead.

    Leave a comment:


  • tonynt
    started a topic print format for output window

    print format for output window

    Hello,

    I want to ask please how the print format of price/double in output window and chart can be determined in a strategy or indicator. Because without its printing depending from price like x.xxxx.xx or x.xxx.x or x.xxxx so there is no clear vertical position of the following columns to the right. What has to be added to the print code in the script to have always x.xxx.xx. (Please note, the question is not about "." or ",")

    In the attached screenshot its to see how it looks now.

    Thank you!
    Tony
    Attached Files
    Last edited by tonynt; 09-20-2020, 10:08 AM. Reason: translation error

Latest Posts

Collapse

Topics Statistics Last Post
Started by ScottWalsh, Today, 04:52 PM
0 responses
1 view
0 likes
Last Post ScottWalsh  
Started by ScottWalsh, Today, 04:29 PM
0 responses
5 views
0 likes
Last Post ScottWalsh  
Started by rtwave, 04-12-2024, 09:30 AM
2 responses
22 views
0 likes
Last Post rtwave
by rtwave
 
Started by tsantospinto, 04-12-2024, 07:04 PM
5 responses
70 views
0 likes
Last Post tsantospinto  
Started by cre8able, Today, 03:20 PM
0 responses
7 views
0 likes
Last Post cre8able  
Working...
X