My first post here. This works i Sweden omx30 in PRT 10.3 in tick by tick mode. Have i missed something? // Definition of code parameters DEFPARAM CumulateOrders = False // Cumulating positions deactivated // The system will cancel all pending orders and close all positions at 0:00. No new ones will be allowed until after the "FLATBEFORE" time. DEFPARAM FLATBEFORE = 091800 // Conditions to enter long positions indicator1 = BollingerDown[20](close) c1 = (close CROSSES UNDER indicator1) IF c1 THEN BUY 1 CONTRACT AT MARKET ENDIF // Conditions to exit long positions indicator2 = BollingerUp[20](close) c2 = (close CROSSES OVER indicator2) IF c2 THEN SELL AT MARKET ENDIF // Conditions to enter short positions indicator3 = BollingerUp[20](close) c3 = (close CROSSES OVER indicator3) IF c3 THEN SELLSHORT 1 CONTRACT AT MARKET ENDIF // Conditions to exit short positions indicator4 = BollingerDown[20](close) c4 = (close CROSSES UNDER indicator4) IF c4 THEN EXITSHORT AT MARKET ENDIF // Stops and targets SET STOP pLOSS 3 SET TARGET pPROFIT 6