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
ZB Price Display
Collapse
X
-
Hello pman777,
Copy paste the code below into the editor as I have outlined in the attached screen shots.
Code:public double Round2TickSize(double Price) { return Instrument.MasterInstrument.Round2TickSize(Price); } public string FormatPrice(double Price) { return Instrument.MasterInstrument.FormatPrice(Round2TickSize(Price)); } public override string FormatPriceMarker(double Price) { return FormatPrice(Price); }
Alan P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cmtjoancolmenero, 04-25-2024, 03:58 PM
|
25 responses
126 views
0 likes
|
Last Post Today, 03:16 PM | ||
Started by Mupulen, 04-16-2024, 11:26 AM
|
1 response
54 views
0 likes
|
Last Post
by techbech
Today, 03:03 PM
|
||
Started by Quanto, Today, 02:17 PM
|
1 response
7 views
0 likes
|
Last Post Today, 02:43 PM | ||
Started by Skifree, Today, 11:21 AM
|
3 responses
11 views
0 likes
|
Last Post Today, 02:14 PM | ||
Started by manueldecastro, Today, 01:16 PM
|
3 responses
14 views
0 likes
|
Last Post Today, 01:50 PM |
Comment