// Downloaded From https://www.WiseStockTrader.com //CCIB Hourly Explorer //Coded by user alliswell of www.advfnbb.in UPCCI1 = Ref(CCI(20),-1) >0 AND Ref(CCI(20),-2) >0 AND Ref(CCI(20),-3) >0 AND Ref(CCI(20),-4) >0 AND Ref(CCI(20),-5) >0; UPCCI2 = Ref(CCI(20),-1) >100 OR Ref(CCI(20),-2) >100 OR Ref(CCI(20),-3) >100 OR Ref(CCI(20),-4) >100 OR Ref(CCI(20),-5) >100; DOWNCCI1 = Ref(CCI(20),-1) <0 AND Ref(CCI(20),-2) <0 AND Ref(CCI(20),-3) <0 AND Ref(CCI(20),-4) <0 AND Ref(CCI(20),-5) <0; DOWNCCI2 = Ref(CCI(20),-1) < -100 OR Ref(CCI(20),-2) < -100 OR Ref(CCI(20),-3) <-100 OR Ref(CCI(20),-4) < -100 OR Ref(CCI(20),-5) < -100; IB = H < Ref(H,-1) AND L>Ref(L,-1); Buy = UPCCI1 AND UPCCI2 AND IB; Sell = DOWNCCI1 AND DOWNCCI2 AND IB; Filter = Buy OR Sell ; AddColumn(Buy,"buy",1.2); AddColumn(Sell,"sell",1.2); AddColumn( Volume, "Volume" ); AddColumn( C, "Close" );