anyone know how to fix rounding errors in NT7? Math.Round(CO.Value,4); - futures io
futures io futures trading



anyone know how to fix rounding errors in NT7? Math.Round(CO.Value,4);


Discussion in NinjaTrader

Updated
    1. trending_up 2,971 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 5 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

anyone know how to fix rounding errors in NT7? Math.Round(CO.Value,4);

(login for full post details)
  #1 (permalink)
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
 
Todd's Avatar
 
Posts: 257 since Jun 2009
Thanks: 28 given, 40 received

anyone know how to fix rounding errors in NT7? Line 79: double PriceAlert = Math.Round(CO.Value,4);

I'm asking this question on the main page. I had started a thread linked below about not being able to use the modified pkpricealert2 in NT 7.



Moderator Notice
Moderator Notice


Started this thread Reply With Quote

 
Best Threads (Most Thanked)
in the last 7 days on futures io
Battlestations: Show us your trading desks!
111 thanks
Selling Options on Futures?
109 thanks
Rank your Futures vs Stocks trading priority
37 thanks
Want your NinjaTrader indicator created, free?
26 thanks
Bitcoin storage wallet recommendations
18 thanks
 
(login for full post details)
  #3 (permalink)
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
 
Todd's Avatar
 
Posts: 257 since Jun 2009
Thanks: 28 given, 40 received


How do I say answered to this post which is a question showing on the main page?

Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
 
Experience: Advanced
Platform: NinjaTrader7
Broker: Mirus RCG/Zen-Fire
Trading: CL & 6e, looking at ES, ZB and AU again.
 
ZTR's Avatar
 
Posts: 2,099 since Nov 2009
Thanks: 1,099 given, 1,392 received

Once you said it was answered, but you could not do, I just clicked it.

Does it PK2 work for you? Works for me, just fine.

R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #5 (permalink)
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
 
Todd's Avatar
 
Posts: 257 since Jun 2009
Thanks: 28 given, 40 received

works fine for me also.

It's a little annoying that you've got to put 2 of them in your chart indicator set but not a big deal.

Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
 
Experience: Advanced
Platform: NinjaTrader7
Broker: Mirus RCG/Zen-Fire
Trading: CL & 6e, looking at ES, ZB and AU again.
 
ZTR's Avatar
 
Posts: 2,099 since Nov 2009
Thanks: 1,099 given, 1,392 received


Todd View Post
works fine for me also.

It's a little annoying that you've got to put 2 of them in your chart indicator set but not a big deal.

See for bidirectional code:



If PK2 was modified in this manner it would give a different signal for up vs. down.

R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Visit my futures io Trade Journal Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > anyone know how to fix rounding errors in NT7? Math.Round(CO.Value,4);


Last Updated on May 25, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts