MC Second bug about max reference bar

There are second bug about max reference bar,It caused the discrepancy between sq's and MC's performance report.



If we use block IsUptrend or IsDowntrend, as you can see, SMA(200) are hidden in that function SQ_IsUptrend in the code. So SQ allow to  entry less than 200 bar in earliest data. The correct approach should be to allow access after at least 200 bars which is exactly what MC does.

Attachments
IsUptrend.png
(47.65 KiB)
IsUptrend in code.png
(29.05 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status New
  • Priority Normal

History

b
#1

binhsir

23.07.2023 03:51

Task created

b
#2

binhsir

23.07.2023 03:51
Voted for this task.
TT
#3

Tamas

24.07.2023 09:22

Subject changed from Second bug about max reference bar to MC Second bug about max reference bar


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