Code to trade a specific week of month

 
Greetings all,

I am after some sort of code that will allow the expert to trade only for one week out of every month..

So for example I want my expert to trade the 3rd week of every month only.

This is for backtesting purposes to see if any weeks of each month are better for my system than others.

Thanks as always.......
 
That's not enough information. What's the underlying trading system underneath the 3rd week requirement?

- Vooch
 
Fwiw
This seems to work..
I just include the flag as part of my if statement..

extern double dayst = 14;
extern double dayfin = 21;

static int flag;

if (flag ==0)
if ( dayst <= Day()&& Day()<=dayfin )

{flag = 1 ; }


if ( Day()> 28 )

{flag = 0;}
Reason: