Possible Bug when use If-Then-Else Rule

Attached the file "Volatility_ATR.sqx" where the condition ATR(2)<ATR(22) is evaluated double time, for the long and short signal. In this case all is ok. If the same condition, see file "Volatility_ATR_KO.sqx" is evaluated one time in a rule type "If-Then-Else" at opening bar using a boolean variable I didn't get any results from backtest.
Attachments
Volatility_ATR_KO.sqx
(36.61 KiB)
Volatility_ATR.sqx
(70.32 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

ME
#1

masmox

04.08.2023 22:20

Task created

E
#2

Emmanuel

06.08.2023 15:23
Voted for this task.
TT
#3

Tamas

03.10.2023 10:30

Status changed from New to Fixed


Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please