Day of Month inputs:n(21),p(6); if dayofmonth(date)>=n and dayofmonth(date)<=(n+3) then buy next bar at market; if dayofmonth(date)>=p and dayofmonth(date)<=(p+3) then sell short next bar at market; Month of Year inputs:n(10),p(4); variables: e(0),f(0),m(0); m=month(date); if m<>m[1] and m[1]=n then e=1; if m<>m[1] and m[1]=p then e=-1; if (dayofmonth(date)>=21 or dayofmonth(date)<6) then f=1; if (dayofmonth(date)>=6 and dayofmonth(date)<21) then f=-1; if e+f=2 then buy next bar at market; if e+f<2 then sell next bar at market; if e+f=-2 then sell short next bar at market; if e+f>-2 then buy to cover next bar at market; Day of Month-Month of Year Combo inputs:n(10),p(4); variables: e(0),f(0),m(0); m=month(date); if m<>m[1] and m[1]=n then e=1; if m<>m[1] and m[1]=p then e=-1; if (dayofmonth(date)>=21 or dayofmonth(date)<6) then f=1; if (dayofmonth(date)>=6 and dayofmonth(date)<21) then f=-1; if e+f=2 then buy next bar at market; if e+f<2 then sell next bar at market; if e+f=-2 then sell short next bar at market; if e+f>-2 then buy to cover next bar at market;