[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] LAstvalue



PureBytes Links

Trading Reference Links

Is the following the correct manner in which to record the LAST POSITIVE
value of an oscillator before the value becomes negative?


x=Osc>0;

OscLPV=ValueWhen(x,LastValue(Osc),1);

pstv_osc_val=IIf(x,Osc,Osclpv);


TIA for any help in correcting the above.

Regards


R

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.26/600 - Release Date: 12/23/2006 4:47 PM