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.