programming question - TradeStation | futures io social day trading
futures io futures trading


programming question
Updated: Views / Replies:544 / 4
Created: by Brian Hazel 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
 

programming question

  #1 (permalink)
Trading Apprentice
Santa Rosa Laguna, Philippines
 
Futures Experience: Advanced
Platform: Ninja Trader TradeStation
Favorite Futures: Crude CL
 
Posts: 2 since Feb 2016
Thanks: 0 given, 0 received

programming question

Do anyone know a good site with example of easy language programming for beginners? I keep getting division by zero error.

Reply With Quote
 
  #2 (permalink)
Elite Member
Salt Lake City, UT
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Dormans/Zen-fire
Favorite Futures: 6E ES YM
 
Posts: 233 since Mar 2010
Thanks: 46 given, 321 received

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

Reply With Quote
The following user says Thank You to tulanch for this post:
 
  #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,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary


Brian Hazel,

Tradestation provides lots of information on their website - like the EasyLanguage Essentials PDF for example.

To fix your error, simply make sure that the divisor is not zero, before the division.

 
Code
if divisor <> 0 then
   quotient =  divident / divisor 
else
quotient = 0 ;
Regards,

ABCTG


Brian Hazel View Post
Do anyone know a good site with example of easy language programming for beginners? I keep getting division by zero error.


Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #4 (permalink)
Trading Apprentice
San Francisco, CA
 
Futures Experience: Master
Platform: NinjaTrader, coinpit
Favorite Futures: CL, ES, GC, 6E
 
Posts: 1 since Dec 2015
Thanks: 0 given, 0 received


Brian Hazel View Post
Do anyone know a good site with example of easy language programming for beginners? I keep getting division by zero error.

stackexchange.com has many resources regarding programming.

Depending on the programming language popularity, asking a question there should help.

Also, if you want to learn programming from scratch there are a bunch of resources on the web, just google javascript tutorial

Reply With Quote
 
  #5 (permalink)
Trading Apprentice
West Orange, NJ
 
Futures Experience: Master
Platform: Tradestation
Favorite Futures: ES
 
Posts: 1 since Jul 2012
Thanks: 0 given, 0 received

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).

SSB

Reply With Quote

Reply



futures io > > > > programming question

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
ThinkScript (TOS) Programming Question Curbfeeler ThinkOrSwim Programming 10 March 8th, 2016 04:19 PM
historical data programming question nicanorbabula NinjaTrader Programming 9 January 18th, 2016 04:22 PM
SC programming help. Newbie question. gryandc Sierra Chart Programming 5 November 23rd, 2015 05:23 PM
EL question--need help intraday programming jschultzjr EasyLanguage Programming 5 September 26th, 2013 08:28 PM
NT Programming Question - Avoiding Re-entry? Fibbee NinjaTrader 5 January 11th, 2013 04:49 AM


All times are GMT -4. The time now is 02:57 PM.

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-16 in 0.09 seconds with 29 queries on phoenix via your IP 54.163.209.109