PureBytes Links
Trading Reference Links
|
Hi Ross
(from newbie to newbie), yes. an indicator can be stored as a function, for
re-use in other coding. Eg:
"powered PercentR"
*************************
Inputs: PcntR(3), Avge(5), slwAvge(34), Pwrd(1.5), AxisH(90), AxisL(10);
Vars: PPR(0), PPRoscil(0);
PPR:
IFF(PercentR(PcntR)>0,Power(PercentR(PcntR),Pwrd),IFF(PercentR(PcntR)<0,Neg(
Power(AbsValue(PercentR(PcntR)),Pwrd)),0));
PPRoscil = Average(PPR,Avge) - Average(PPR,slwAvge);
Plot1(PPRoscil+50,"pwrd%R");
Plot2(PercentR(PcntR),"std%R");
Plot3(AxisH,"high axis");
Plot4(AxisL,"low axis");
***************************
Regards
Jon
----- Original Message -----
From: "Ross S Bond" <ross.bond@xxxxxxxxxxxxx>
To: "OmegaList" <omega-list@xxxxxxxxxx>
Sent: Saturday, 11 August, 2001 10:01 AM
Subject: Applying an Indicator to an Indicator?
> Hello OmegaList,
>
> Newbie question: can I apply an indicator to another indicator?
> Another way to say it is can I use an indicator to alter the results
> of a primary indicator?
>
> If so, would someone be so kind as to tell me how? TIA.
>
> --
> Best regards,
> Ross mail to: ross.bond@xxxxxxxxxxxxx
>
|