Objective - Find number of stocks where stock moved more than 4% and also count of stocks where DCR is > 0.35, and grouped by dates when i choose two dates as date range
// Define conditions
PriceCon = ROC(Close, 1) > 4 AND Volume > MA(Volume, 30);
denom = High - Low;
DCR = (Close - Low) / IIf(denom != 0, denom, 0.001);
DCRCon = DCR > 0.35;
// Filter to see only stocks meeting either condition
Filter = PriceCon;
// Basic exploration settings
//SetOption("NoDefaultColumns", True);
AddColumn(PriceCon, "PriceCon",1);
AddSummaryRows(16,1.2);
SetSortColumns(2);