Problems with Highest/Lowest in Range to MT4 and MT5

When exporting an ea developed in SQ4 Editor, I get errors with this line in compiling on both MT4 and MT5


 // TrailingStop initialization
         sqSetGlobalVariable(_ticket, "TrailingStop", sqStringHash("(sqLowestInRange("NULL",0, "16:00", "03:00", ) + (-0.3 * iATR(NULL,0, 269, 1)))"));


The error is 'NULL' - some operator expected.



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

History

?
#1

anonymous

16.08.2017 13:56

Task created

MF
#2

Mark Fric

25.08.2017 08:51

Status changed from New to Fixed


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