That's not enough information. What's the underlying trading system underneath the 3rd week requirement?
- Vooch
- 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;}
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;}
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.......