PureBytes Links
Trading Reference Links
|
If I were you, I would check each values of value1, value2 and MaxBarsBack
in both results
by using a print statment to the messageLog.
Regards,
Philippe
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
philippe.lhermie@xxxxxxxxxxx
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
----- Original Message -----
From: Chris Baker <chrisbak@xxxxxxxxxxxx>
To: Omega List <omega-list@xxxxxxxxxx>
Sent: Thursday, October 07, 1999 9:02 PM
Subject: TS 2000 ELA Operator Precedence
> I found that:
> (value1 + value2)/2*MaxBarsBack;
>
> gave different results than:
>
> (value1 + value2)/(2*MaxBarsBack).
>
> I thought normal operator precedence was parenthesis, "*", and then "/" ?.
>
>
|