// Downloaded From https://www.WiseStockTrader.com
range = high - low ;
persenbuntut = 1 - (20 *0.01) ;
trendnya = 6;
PbarUp = open < high - (range * persenbuntut) and close < high-(range * persenbuntut) and high >= highest(trendnya);
pBarDn = open < high - (range * persenbuntut) and close < high-(range * persenbuntut) and high >= highest(trendnya) ;
Filter = PbarUp or PbarDn;