QQE MT4 code and Pseudo code error

The following is a snip of MT4 code generated.  Notice LongEntry uses 5, but short entry uses variable QQEValue1sF.  Same in Pseudo code.


if (sqIsBarOpen()) {
     // init signals only on bar open 
     LongEntrySignal = ((sqQQE(NULL,0, QQEValue1RSIPeriod, 5, 4.236, 0, 2)<sqQQE(NULL,0, QQEValue1RSIPeriod, 5, 4.236, 1, 2))
      && (sqGetValue("NULL",0, PRICE_CLOSE, 1) < sqBands(NULL,0, BBBarClosesPeriod, 1.9, 0, PRICE_CLOSE, 1, 1)));


     ShortEntrySignal = ((sqQQE(NULL,0, QQEValue1RSIPeriod, QQEValue1sF, 4.236, 0, 2)>sqQQE(NULL,0, QQEValue1RSIPeriod, QQEValue1sF, 4.236, 1, 2))
      && (sqGetValue("NULL",0, PRICE_CLOSE, 1) > sqBands(NULL,0, BBBarClosesPeriod, 1.9, 0, PRICE_CLOSE, 0, 1)));


     LongExitSignal = false;


     ShortExitSignal = false;


   } 



Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

GO
#1

glenorcutt

23.11.2020 19:21

Task created

TB
#2

Tomas Brynda

24.11.2020 19:10

Status changed from New to Waiting for information

Please attach your SQX strategy so I can reproduce this issue.


Best regards,

Tomas

TB
#3

Tomas Brynda

04.01.2021 10:26

Status changed from Waiting for information to Refused


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