Tradestation 9.5 divide by zero error

broken image

My PC is packed up right now due to renovation so not able to work on function. Thanks a lot, i have got zero marks in my first exam on EL :hehe: will work hard for sureīarsSince = MRO(Time < Time,335/TimeframeMin,1) + 1 Its not practial to put c+.cĪctually there is a function for that 'summation' but if you did not have that we have to do using For loops.:yup: Yes its easy.you will simply put c+c+c+c+cīut what if say you need to calculate the sum of close of last 100 bars?:-? Say if you need to calculate the sum of last 5 bars close what do you do? Yes practically we dont use For loops much, because instead we use a function for that purpose which uses For loop.įor example you might have used Average fuction.Actually it uses For loop to calculate it,but since most of the stuff we use is readily available in easy use functions we dont feel much need of using loops.But For loops might be useful to those people who create their own functions.

broken image

Where and how exactly is the 'for' command used in easy language? I know googling or refering easy language guide is an option but I'll appreciate it if someone can post a practical example.

broken image