PureBytes Links
Trading Reference Links
|
An indicator I wrote, dividing AskSize by BidSize, always seems to result in a floating point error
(Floating point invalid numbers in calculation). I tried adding "if SellRatio <>0 and Q_AskSize <>0
and Q_BidSize <>0 then begin" to the formula but that didn't change the result. Would someone
suggest a solution to this problem?
Here's the indicator:
==============
Vars: SellRatio(0);
Value1=SellRatio;
SellRatio=Q_AskSize/Q_BidSize;
Plot1(SellRatio, "SellRatio");
==============
Thanks, John
|