hey arna.... the code for sell countdown is the same except replace the '<' with a '>'.... i coded both buy and sell on up to 14.... the exploration would be just the day 9 code.... i ran it last night .... came up with a bunch oil related issues... day 9 is the buy signal.... the perfection buy has a few more conditions.... below is a very rough first draft of it...... i also created a layout and template with both daily and weekly time frames, looks promising.... i also created a intraday 5 time frame layout and template.... looks equaly promising..... i'll up date that exe later to include everything along with the 4 companion indicators for the layout/template.... and btw, thanks for the question.....we all learn.....h ----------------------------------------------- a:=(C < Ref(C,-4) AND Ref(C,-1) < Ref(C,-5) AND Ref(C,-2) < Ref(C,-6) AND Ref(C,-3) < Ref(C,-7) AND Ref(C,-4) < Ref(C,-8) AND Ref(C,-5) < Ref(C,-9) ); aa:=(C < Ref(C,-4) AND Ref(C,-1) < Ref(C,-5) AND Ref(C,-2) < Ref(C,-6) AND Ref(C,-3) < Ref(C,-7) AND Ref(C,-4) < Ref(C,-8) AND Ref(C,-5) < Ref(C,-9) AND Ref(C,-6) < Ref(C,-10) ); aaa:=(C < Ref(C,-4) AND Ref(C,-1) < Ref(C,-5) AND Ref(C,-2) < Ref(C,-6) AND Ref(C,-3) < Ref(C,-7) AND Ref(C,-4) < Ref(C,-8) AND Ref(C,-5) < Ref(C,-9) AND Ref(C,-6) < Ref(C,-10)AND Ref(C,-7) < Ref(C,-11) ); aaaa:=(C < Ref(C,-4) AND Ref(C,-1) < Ref(C,-5) AND Ref(C,-2) < Ref(C,-6) AND Ref(C,-3) < Ref(C,-7) AND Ref(C,-4) < Ref(C,-8) AND Ref(C,-5) < Ref(C,-9) AND Ref(C,-6) < Ref(C,-10) AND Ref(C,-7) < Ref(C,-11) AND Ref(C,-8) < Ref(C,-12) ); b:=If((a=1) AND (aa<>1),1,0); x:=ValueWhen(1,b,L); bb:=If((aa=1) AND (aaa<>1),1,0); xx:=ValueWhen(1,bb,L); bbb:=If((aaa=1) AND (aaaa<>1),1,0); xxx:=ValueWhen(1,bbb,L); bbbb:=If(aaaa,1,0); xxxx:=ValueWhen(1,bbbb AND (BarsSince(bbbb)Ref(C,-4); bset:=BarsSince(bbbb)