Thanks for sharing!

I have tried to use it, but the trades are not entered. Does "enterLong();" work with IB or another instruction is needed? Or I may added the wrong ETF to IB. I am using the asset list of the z9 system.

This is what I get.

Quote:

Download CSJ.US.. 2720 bars read
[638: Tue 17-10-31 04:00] (105.2700)
enter trade
!Order Message:
BUY 1 XBI ARCA
Warning: your order will not be placed at the exchange until 2017-10-31 09:30:00 US/Eastern XBI-STK--0--SMART--USD
(XBI::L) Can't open 1@83.80 at 04:00:01
enter trade
[SMH::L] Skipped: Lots 0
enter trade
!Order Message:
BUY 2 ITB BATS
Warning: your order will not be placed at the exchange until 2017-10-31 09:30:00 US/Eastern ITB-STK--0--SMART--USD
(ITB::L) Can't open 2@39.36 at 04:00:01
enter trade
!Order Message:
BUY 1 XLV ARCA
Warning: your order will not be placed at the exchange until 2017-10-31 09:30:00 US/Eastern XLV-STK--0--SMART--USD
(XLV::L) Can't open 1@82.14 at 04:00:01