Finally made it. It was so simple, none bothered to help me
But whateva happens, happens for gud. I learned alot while searching how to make this afl. Try this afl on 5 n 15 mint time frame n trade in the direction of breakout. For big moves or postional trades, explore on hourly charts, n edit Filter= A-B< .03*C
A= BBandTop(Close, 20, 2 );
B= BBandBot( Close, 20, 2 );
Filter= A-B< .005*C AND Volume>10000 AND (Close>200);
SetOption("NoDefaultColumns", True);
AddTextColumn(Name(), "Symbol");
AddColumn(DateTime(), "Date", formatDateTime);
AddColumn(C, "CMP", 1.2);