Close trades on Friday after 9AM - page 2

 
mharoon:

Interesting ... if I set the min variable to "0" instead of "min" then it works

 


A a print() to your function to check on the value of  min
 

OUtput of Print from function 

12:22:04 Fibtrading_v4.6 EURUSD,H4: MINUTE: 0

 

bool TradingDayTime(int day, int hour, int minute) {
Print("MINUTE: ",minute);
...
...
...

}