I found a few threads mentioning this but was wondering if it had been implemented yet as I can't see anything...
Posts made by GrowTru
-
RE: Input Commision Valueposted in General Discussions
-
RE: Formula with variable - EA gives upposted in Bug Reports
Ahhhhhhhhhhhhh, thankyou your help is greatly appreciated and all is working.
-
RE: Formula with variable - EA gives upposted in Bug Reports
Ok so I've fixed that problem by adding a condition before the formula that checks the value >0. So that stops it from crashing.
My next issue is when I get a result from the formula, say '0.7' which is then printed as text on the chart. I've then added another condition saying 'if terminal variable "result" <0.8' but it won't pass. I'm using right operand, value is numeric 0.8
-
RE: Formula with variable - EA gives upposted in Bug Reports
Thanks for your reply, I didn't think of that. Error is shown below.
Does this mean it's trying to divide nothing so throws the error? If I added an adjustment '+1' to the formula could this make it carry out a calculation even when it's trying to divide 0's...
-
RE: Formula with variable - EA gives upposted in Bug Reports
Also if I add a condition afterwards that checks if the variable "result" <1 (for example). I can watch the number as it happens on the chart drop below 1 but it never passes that block.
-
RE: Formula with variable - EA gives upposted in Bug Reports
I've been trying to make this work with a longer EA obviously but narrowed it down to this which still doesn't work.
The EA works perfectly for a a few bars but then stops for no reason, I haven't touched anything.
Thanks in advance for your help.