{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:607 / 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

Reply
 
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,527 since Apr 2013
Thanks: 229 given, 854 received
Forum Reputation: Legendary


RickW,

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.

Regards,

ABCTG

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

Reply



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)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

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


All times are GMT -4. The time now is 05:37 AM.

Copyright © 2017 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 2017-12-13 in 0.05 seconds with 19 queries on phoenix via your IP 54.92.194.75