MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

 A B C D E F G H I J K L M N O P R S T U V W Y Z #

BPDL Trend Filter Oscillator by Stephen Zodkov
BPDL Trend Filter

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))

BPDL Trend Filter Osc

(fml("BPDL Trend Filter") - (ref((fml("BPDLTrend Filter")),-21))) /
((hhv(fml("BPDL Trend Filter"),21)) - (llv(fml("BPDL Trend Filter"),21)))

I use a 80, -80 trendline. I have stuck it in different things at different times. Right now I have it crossing -80 with MACD 4, 35,5, crossing, RSI(9) up one day, and selling pressure down one day.
from Stephen Zodkov

BPDL Trend Filter Oscillator

((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)))

Source / From: TOP