Welcome to NexusFi: the best trading community on the planet, with over 200,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
not to sound mean - but when ever I have a programming question I google it
for example with your question I would google "easy language programming for beginners"
tons of hits...
I use this approach for any and all programming questions of any level or skill set
where I work our software and network engineers routinely use this approach when resolving weird issues, specifically ones we have never encountered before
I find I get divide by zero errors often when working with continuous futures. As the prices get backadjusted you sometimes end up with a Close of zero which messes up calculations for percentage gains/losses.
There's not a real good way around it -- what I usually do is just add a try/catch around it now that Easylanguage supports that which prevents the error from surfacing. Or you can do what the previous post said and check for zero each time you divide, but then you need to figure out what to do (and make sure what you do won't affect a moving average for example).