124; BarDay and number bug

Hi i received this type of strategies and i have turned off NUMBER in indicators.  What exactly means Bar Day of Week and how it works? 
Attachments
ENTRY_BUG2.png
(63.92 KiB)
Strategy 320653.sqx
(62.70 KiB)
BlockSettings.sqb
(18.69 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

IH
#1

clonex / Ivan Hudec

09.09.2019 11:37

Task created

TB
#2

Tomas Brynda

28.11.2019 09:34

Status changed from New to Fixed

Hi Clonex,

Bar Day Of Week returns a number of a day of a week. Monday = 1, Tuesday = 2 etc.


In this case only ShortEntrySignal may be triggered, because the condition in LongEntrySignal doesn't make sense.


You can turn off Bar Day Of Week block in Building blocks Signals settings so it won't be used in a building process.

We will add an auto-check of these kinds of values so it doesn't generate nonsense conditions.


Thank you


Best regards, 

Tomas


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