{Exception}Floating-Point division by zero, signal only. - EasyLanguage Programming | futures io social day trading
futures io futures trading

{Exception}Floating-Point division by zero, signal only.
Updated: Views / Replies:743 / 2
Created: by RickW Attachments:0

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Thread Tools Search this Thread

{Exception}Floating-Point division by zero, signal only.

  #1 (permalink)
Elite Member
Duncan, B.C.
Futures Experience: Intermediate
Platform: TS,MC
Favorite Futures: CL,TF
Posts: 27 since Jul 2010
Thanks: 95 given, 0 received

{Exception}Floating-Point division by zero, signal only.

I have a function that works fine in multible indicators but as soon as I use it in a strategy I get a"Floating Point Division by Zero" error. All divisions are incased in Iff statements and the code is flawless with indicators. Hoping someone may have some other possibility that I could look into. Thanks in advance.

Reply With Quote
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

  #3 (permalink)
Market Wizard
Hamburg Germany
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
Posts: 1,677 since Apr 2013
Thanks: 255 given, 966 received


there probably is at least one division at your code where the divisor is zero at one moment (could be at the very first calculation). Otherwise this error shouldn't come up.
What exactly do you check with your IFF statement?

You might have to block parts of your code or add print statements (to see where the calculation stops) in order to isolate where the problem is coming from. This will make it easier to find and fix.



Reply With Quote
The following user says Thank You to ABCTG for this post:


futures io > > > > > {Exception}Floating-Point division by zero, signal only.

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating point invalid operation? hughesfleming MultiCharts 4 June 15th, 2017 10:00 AM
Exception Handling?? tornadoatc NinjaTrader Programming 2 April 11th, 2013 03:10 PM
New Regulations in the New Jersey Division of Motor Vehicle's kbit Jokes 1 November 14th, 2011 12:39 AM
No Default constructor. Exception: invocation grinder NinjaTrader 1 April 5th, 2011 11:31 PM
Division by Zero, how to debug arjfca EasyLanguage Programming 6 September 30th, 2010 10:04 AM

All times are GMT -4. The time now is 07:15 AM.

Copyright © 2018 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
Page generated 2018-05-25 in 0.07 seconds with 19 queries on phoenix via your IP