"Bar Hour is" being ignored in Strategy Templates

I have a strategy template that includes a rule of "Bar[1] hour > 06" but all generated strategies open at 00:00 on any timeframe less than D1



So then I decided to rum a strategy that only had the "Bar Hour is bigger" Building Block. But that generated no strategies at all even though that was the only rule.


So Bar Hour is broken in this build.

Attachments
EURUSD daily.sqx
(4.12 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

r
#1

rjay

25.08.2020 22:41

Task created

r
#2

rjay

25.08.2020 22:45

Subject changed from "Bar Hour is" being ignored to "Bar Hour is" being ignored in Strategy Templates

TB
#3

Tomas Brynda

22.09.2020 11:05

Status changed from New to Refused

Hi Rjay,

the problem is you used Shift 1 in the Bar hour is bigger block. 

That way the time 00:00 shifted 1 bar back gives Hour = 23 and the condition is met.


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please