Hi every1. I want to combine many exploration afls in one afl so that when i
run exploration, every afl included in this single afl will explore stocks on
their own time frame n conditions. Here is an example, pls tell if this is
possible n if yes then pls modify as the afl below doesnt work as required
_SECTION_BEGIN("bollinger");
TimeFrameSet(inHourly);
A= BBandTop(Close, 20, 2 );
B= BBandBot( Close, 20, 2 );
Bollinger1= (A-B< .02*C AND Close<400) OR (A-B< .015*C AND Close>400);
TimeFrameRestore();
_SECTION_END();
_SECTION_BEGIN("5 day high low");
TimeFrameSet(inDaily);
H = HHV(H, 4) ;
L= LLV(L,4) ;
High1= (Ref(H,-1)-C<.01*H AND Ref(H,-1)-C>.005 AND H< Ref(H,-1) AND C<400) OR
(Ref(H,-1)-C<.005*H AND Ref(H,-1)-C>0.005 AND C>400) ;
Low1= (C-Ref(L,-1)<.01*L AND C-Ref(L,-1)>.005 AND L>Ref(L,-1) AND C<400) OR
(C-Ref(L,-1)<.005*H AND C-Ref(L,-1)>0.005 AND C>400);
TimeFrameRestore();
_SECTION_END();
SetOption("NoDefaultColumns", True);
AddTextColumn(Name(), "Symbol");
AddColumn(C, "CMP", 1.2);
AddColumn(DateTime(), "Date", formatDateTime);
AddColumn(Bollinger1,"Bollinger1",1.2);
AddColumn(High1, "high1", 1.2);
AddColumn(low1, "low1", 1.2);
Filter = (Bollinger1 AND V>10000) OR ((High1 OR Low1) AND V>10000) ;
Please If any senior reads, dont ignore n reply me. Thanks alot