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 spencerp92, 10-10-2023, 09:56 AM
|
4 responses
302 views
0 likes
|
Last Post
by flybuzz
Today, 06:45 PM
|
||
Started by samish18, Yesterday, 10:13 AM
|
1 response
23 views
0 likes
|
Last Post Today, 06:15 PM | ||
Started by Austiner87, Today, 05:02 PM
|
0 responses
5 views
0 likes
|
Last Post
by Austiner87
Today, 05:02 PM
|
||
Started by tonynt, 05-21-2019, 06:27 AM
|
10 responses
530 views
1 like
|
Last Post
by fiendtrades
Today, 04:29 PM
|
||
Started by awwenzovs, Today, 08:03 AM
|
2 responses
15 views
0 likes
|
Last Post Today, 04:27 PM |
Comment