Forum: EasyLanguage Programming
February 13th, 2019, 08:29 AM
|
Replies: 8
Views: 1,522
Rosenberg12,
you could still run into a...
Rosenberg12,
you could still run into a division by zero error in the unlikely case that var1 = -0.00000001. A good coding practice within Easylanguage is to check the denominator before every...
|
Forum: EasyLanguage Programming
February 6th, 2019, 02:43 AM
|
Replies: 8
Views: 1,522
Hi Rosenberg12,
a good way to check if the...
Hi Rosenberg12,
a good way to check if the code is doing what you have in mind is to use the "Print" reserved word to check the internal values within your code. This can be very helpful in...
|
Forum: EasyLanguage Programming
February 5th, 2019, 02:38 AM
|
Replies: 8
Views: 1,522
Rosenberg12,
computing the percentage...
Rosenberg12,
computing the percentage difference between two averages is the same as for example computing the percentage difference between two stock prices or any two values for that matter....
|
Forum: EasyLanguage Programming
February 4th, 2019, 08:29 AM
|
Replies: 8
Views: 1,522
Rosenberg12,
welcome to futures.io. Your...
Rosenberg12,
welcome to futures.io. Your code has access to the average values, so you should be able to compute the percentage the faster SMA is above/below the slower SMA using math. You might...
|