Trade 2 days a week only

 

hi

can enyone tall me what is the expirt code to trade 2 days a week only .

or is ther link take abut it ?

thank u

 

Igorad realized it with his SimpleDailyRangeBreakExpert_v1.0.

I looked at the code:

extern string Trade = " Trade Days of Week";

extern bool Monday = true;

extern bool Tuesday = true;

extern bool Wednesday = true;

extern bool Thursday = true;

extern bool Friday = true;[/CODE]

And

[CODE]if(OrdersTotal()<1)

{

if( Monday ) if(DayOfWeek()==1){BuyOrdOpen(); SellOrdOpen();}

if( Tuesday ) if(DayOfWeek()==2){BuyOrdOpen(); SellOrdOpen();}

if( Wednesday ) if(DayOfWeek()==3){BuyOrdOpen(); SellOrdOpen();}

if( Thursday ) if(DayOfWeek()==4){BuyOrdOpen(); SellOrdOpen();}

if( Friday ) if(DayOfWeek()==5){BuyOrdOpen(); SellOrdOpen();
 

u r great ..

thank u very match

can i write a date like 21-02-2006 ???

and what is the code ?

thank u

 
mas:
u r great ..

thank u very match

can i write a date like 21-02-2006 ???

and what is the code ?

thank u

May be not.

Or I don't know.

"StrToTime" is the different.

I do not know.

Anyway it should be like this one:

"yyyy.mm.dd "

 

thank u ....

Reason: