Thanks very much.
Unfortunately it's not working.
I tried with NQ, and MNQ too, same result.

I get this from the Log:
__________________

Login 0 IB..
!Account DUXXXX
!Verbindung zum Marktdatenzentrum ist OK:usfuture ---0.00--/--
!Verbindung zum Marktdatenzentrum ist OK:eufarm ---0.00--/--
!Verbindung zum HMDS-Datenzentrum ist OK:euhmds ---0.00--/--
!Verbindung zum Sec-def-Datenzentrum ist OK:secdefeu ---0.00--/--
!Open IB Socket 3.06
!Die Verbindung zum HMDS-Datenzentrum ist inaktiv, sollte jedoch auf Anfrage verf\u00fcgbar sein.euhmds ---0.00--/-- at UTC 08-30 12:59
V 2.621 on Fri 24-08-30 14:59:05 (SomeUserName)
LookBack set to 2 bars
Load AssetsFix
Error 030 - invalid bar period or offset
!NQ 0 0.05 0 0 0.25 5 26500 0 -20 0.8 *-FUT-SMART-USD 08-27 12:59:06 to 08-30 12:59:06 failed
!NQ 0 0.05 0 0 0.25 5 26500 0 -20 0.8 *-FUT-SMART-USD 08-27 12:59:06 to 08-30 12:58:06 failed - NQ history unavailable!
Error 047: No NQ prices
Logout..
!Logout complete ok
__________________

Hmm....
1) my fault in the script?
Error 030 - invalid bar period or offset

2) follow-up error of 1) ?
!NQ 0 0.05 0 0 0.25 5 26500 0 -20 0.8 *-FUT-SMART-USD 08-27 12:59:06 to 08-30 12:59:06 failed


I tested the connection via TWS and the Gateway, same results.

Thanks for any further help.