Hi , I use this afl on Hourly chart for exploration.
A= BBandTop(Close, 20, 2 );
B= BBandBot( Close, 20, 2 );
BB= (A-B< .03*C AND Close<400) OR (A-B< .015*C AND Close>400);
Filter= BB AND V>10000;
SetOption("NoDefaultColumns", True);
AddTextColumn(Name(), "Symbol");
AddColumn(DateTime(), "Date", formatDateTime);
AddColumn(C, "CMP", 1.2);
Now I want this afl to explore stocks on Hourly timeframe but by selecting periodicity as 5-15 mint timeframe or any other timeframe lower than hourly. I made this afl for this but it doesn't work. Please modify it
A= BBandTop(Close, 20, 2 );
B= BBandBot( Close, 20, 2 );
TimeFrameSet(inHourly);
Bollinger1= A-B<.03*C AND Volume >10000;
TimeFrameRestore();
Bollinger2= TimeFrameExpand(Bollinger1,inHourly);
Filter= Bollinger2 ;
SetOption("NoDefaultColumns", True);
AddTextColumn(Name(), "Symbol");
AddColumn(C, "CMP", 1.2);
AddColumn(Bollinger2,"Bollinger2",1.2);
Anant bro, if u read this thread please please help me
A= BBandTop(Close, 20, 2 );
B= BBandBot( Close, 20, 2 );
BB= (A-B< .03*C AND Close<400) OR (A-B< .015*C AND Close>400);
Filter= BB AND V>10000;
SetOption("NoDefaultColumns", True);
AddTextColumn(Name(), "Symbol");
AddColumn(DateTime(), "Date", formatDateTime);
AddColumn(C, "CMP", 1.2);
Now I want this afl to explore stocks on Hourly timeframe but by selecting periodicity as 5-15 mint timeframe or any other timeframe lower than hourly. I made this afl for this but it doesn't work. Please modify it
A= BBandTop(Close, 20, 2 );
B= BBandBot( Close, 20, 2 );
TimeFrameSet(inHourly);
Bollinger1= A-B<.03*C AND Volume >10000;
TimeFrameRestore();
Bollinger2= TimeFrameExpand(Bollinger1,inHourly);
Filter= Bollinger2 ;
SetOption("NoDefaultColumns", True);
AddTextColumn(Name(), "Symbol");
AddColumn(C, "CMP", 1.2);
AddColumn(Bollinger2,"Bollinger2",1.2);
Anant bro, if u read this thread please please help me