PureBytes Links
Trading Reference Links
|
Although the names in the quicklist drop down box are + or - DI, you will
need to use PDI or MDI in your formulas. That seems to be causing your
problem. PDI=Plus Directional Movement Index and MDI=Minus Directional
Movement Index
So use
DIRECT:=PDI(14)>MDI(14);
DIRECT AND Ref(DIRECT,-1)=0;
Dave Nadeau
"Peter E. Gialames" wrote:
> Try:
>
> +DX(14) > -DX(14)
> AND Ref(+DX(14),-1) < Ref(-DX(14),-1)
>
> HTH
> Peter Gialames
>
> -----Original Message-----
> From: owner-metastock@xxxxxxxxxxxxx
> [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Dan Cash
> Sent: Wednesday, September 13, 2000 12:34 PM
> To: metastock@xxxxxxxxxxxxx
> Subject: Exploration with Directional Movement Index
>
> List,
>
> I want to do an exploration with Directional Movement Index. I want to
> scan for the crossing of the two, i.e., yesterday +DX is less than -DX,
> today +DX is greater than -DX and visa versa.
>
> Here is what I have and it doesn't work:
>
> Ref(+DX(14),0) > Ref(-DX(14),0)
> AND Ref(+DX(14),-1) < Ref(-DX(14),-1)
>
> This logic impaired individual would appreciate assistance. I would
> also really appreciate some explaination of the logic because I really
> don't comprehend!
>
> Thanks,
>
> Dan
|