Skip to main content

BPDL Trend Filter Oscillator for Metastock

chsmcp over 13 years ago Metastock

  • Rating:
    4 / 5 (Votes 2)
  • Tags:
    metastock

It’s a Stephen Zodkov’s indicator useful to identifies long or medium term trend in the market with oversold and overbought lines. Hope it helps.

Indicator / Formula

Copy & Paste Friendly
n:=Input("Limit",0,1,0.675);
BPDL:=((Cum((If((Mov((C-Ref(C,-1)),21,
S))>0,1,-1) *
Pwr(((Mov((Pwr(C-Ref(C,-1),2)),21,S))+1
),.5)) +
((Pwr(((Pwr(C-Ref(C,-1),2))+1),.5))) *
If((C>Ref(C,-1)),1,-1))) -
(Ref(((Cum((If((Mov((C-Ref(C,-1)),21,S))
>0,1,-1)*
Pwr(((Mov((Pwr(C-Ref(C,-1),2)),21,S))+1
),.5)) +
((Pwr(((Pwr(C-Ref(C,-1),2))+1),.5))) *
If((C>Ref(C,-1)),1,-1)))),-21))) /
((HHV((Cum((If((Mov((C-Ref(C,-1)),21,S
))>0,1,-1)*
Pwr(((Mov((Pwr(C-Ref(C,-1),2)),21,S))+1
),.5)) +
((Pwr(((Pwr(C-Ref(C,-1),2))+1),.5))) *
If((C>Ref(C,-1)),1,-1))),21)) -
(LLV((Cum((If((Mov((C-Ref(C,-1)),21,S))
>0,1,-1)*
Pwr(((Mov((Pwr(C-Ref(C,-1),2)),21,S))+1
),.5)) +
((Pwr(((Pwr(C-Ref(C,-1),2))+1),.5))) *
If((C>Ref(C,-1)),1,-1))),21)));
BPDL;
n;
-n

0 comments

Leave Comment

Please login here to leave a comment.