Hi,

Is there any way to combine the following two scans within a code; so that the 
scan is run only once.

First Scan:
//Advance/Decline Issues - Watchlist 0
Filter=InWatchList(0);
AddToComposite(C>Ref(C,-1),"~Adv0","X");
AddToComposite(C<Ref(C,-1),"~Dec0","X");
Buy=Sell=Short=Cover=0;

Second Scan:
//Advance/Decline Issues - Watchlist 1
Filter=InWatchList(1);
AddToComposite(C>Ref(C,-1),"~Adv1","X");
AddToComposite(C<Ref(C,-1),"~Dec1","X");
Buy=Sell=Short=Cover=0;

Thank you very much for your help.


  

Reply via email to