L leonard1 Junior member Messages 10 Likes 0 Jun 3, 2011 #1 hi all please , has anybody got TS 2000i code for breakout TIME'S. i.e. To trade once per direction per day on the breakout of selected time. thank you
hi all please , has anybody got TS 2000i code for breakout TIME'S. i.e. To trade once per direction per day on the breakout of selected time. thank you
M ManiGandan Junior member Messages 34 Likes 3 Jun 7, 2011 #2 Hi Leo, Here is the code that works when there is a breakout after 11:00. You can modify your exits and the time to enter... Code: If Time >= 1100 then begin Buy next bar at Highd(0) stop; Sell next bar at Lowd(0) stop; end; setexitonclose; Cheers, Mani.
Hi Leo, Here is the code that works when there is a breakout after 11:00. You can modify your exits and the time to enter... Code: If Time >= 1100 then begin Buy next bar at Highd(0) stop; Sell next bar at Lowd(0) stop; end; setexitonclose; Cheers, Mani.
L leonard1 Junior member Messages 10 Likes 0 Jun 7, 2011 #3 Thank You Mani , much appreciate it. Hope you are keeping well?