PureBytes Links
Trading Reference Links
|
What is the function $Upperband, and $Lowerband. That is probably where the
problem lies.
"The darkest hour in any man's life is when he sits down to plan
how to get money without earning it"
Sentinel Trading
rjbiii@xxxxxxxxx
____________________Reply Separator____________________
Subject: Message pops up say can't divide by zero
Author: Robert W Cummings
Date: 8/27/98 8:06 PM
Input: Price(C),Length(18),SDev(2),upper(100),Lower(-100);
Plot1(((100*(Price-$Lowerband(Price,Length,SDev))/($Upperband(Price,Length,S
Dev)-$Lowerband(Price,Length,SDev)))-50)*2,"Place");
Plot2(upper,"Upper");
Plot3(lower,"Lower");
IF CheckAlert Then Begin
IF Plot1 Crosses Above Plot2 or Plot1 Crosses Below Plot2
or Plot1 Crosses Above Plot3 or Plot1 Crosses Below Plot3
or Plot2 Crosses Above Plot3 or Plot2 Crosses Below Plot3
Then Alert = TRUE;
End;
Can't figure what its needs without messing up what the original author was
attempting to do here.
Anybody see the problem it will verify.
Thanks in Advance
Robert
|