I believe strategy tester was acting buggy! lol it placed the trade @ 6+am as I stated above .. the next trade came at 7:00am, which was not taken. Do you guys have varied results with using strategy tester? I am still testing, demo + strategy tester.
zzdream: Yeah so the code works I believe strategy tester was acting buggy! lol it placed the trade @ 6+am as I stated above .. the next trade came at 7:00am, which was not taken. Do you guys have varied results with using strategy tester? I am still testing, demo + strategy tester.
So what did Hour() return when the trade was placed at 6+am ? can you check the log file and find out please.
Yeah so the code works I believe strategy tester was acting buggy! lol it placed the trade @ 6+am as I stated above .. the next trade came at 7:00am, which was not taken. Do you guys have varied results with using strategy tester? I am still testing, demo + strategy tester.
19:13:23 2013.02.05 06:01 15mindemo GBPJPY,M15: Hour() returns: 6 current time is : 2013.02.05 06:01
19:13:23 2013.02.05 06:02 15mindemo GBPJPY,M15: Hour() returns: 6 current time is : 2013.02.05 06:02
19:13:23 2013.02.05 06:02 15mindemo GBPJPY,M15: open #1 sell 1.00 GBPJPY at 145.425 ok
19:13:23 2013.02.05 06:02 15mindemo GBPJPY,M15: modify #1 sell 1.00 GBPJPY at 145.425 sl: 145.625 tp: 115.425 ok
19:13:23 2013.02.05 06:02 15mindemo GBPJPY,M15: Hour() returns: 6 current time is : 2013.02.05 06:02
There is the log entry:
19:13:23 2013.02.05 06:01 15mindemo GBPJPY,M15: Hour() returns: 6 current time is : 2013.02.05 06:01
19:13:23 2013.02.05 06:02 15mindemo GBPJPY,M15: Hour() returns: 6 current time is : 2013.02.05 06:02
19:13:23 2013.02.05 06:02 15mindemo GBPJPY,M15: open #1 sell 1.00 GBPJPY at 145.425 ok
19:13:23 2013.02.05 06:02 15mindemo GBPJPY,M15: modify #1 sell 1.00 GBPJPY at 145.425 sl: 145.625 tp: 115.425 ok
19:13:23 2013.02.05 06:02 15mindemo GBPJPY,M15: Hour() returns: 6 current time is : 2013.02.05 06:02