PureBytes Links
Trading Reference Links
|
Could someone help with the following code. I get correct calculations for
all except I get an erroneous calculation for MA3.
Any help would be appreciated.
Barry
====================================
{Calculate MA for data 3}
Inputs: Price((H data3 + L data3) / 2),
Price2 (close data3),
MALength(20);
Vars: MA3(0, data3);
MA3 = AverageFC( Price, MALength );
Condition3 = price2 > MA3;
|