if time = 955
and (dayofweek(date) = 4 or dayofweek(date) = 5) 
and marketposition = 0
then sellshort this bar on close ;

if time = 1000
and marketposition = -1 
and entryprice - 0.03 > close 
then buytocover this bar on close ;

if marketposition = -1 
then buytocover next bar entryprice - 0.28 at limit ;

if marketposition = -1 
then buytocover next bar entryprice + 0.15 at stop ;

if time = 1005
and marketposition = -1 
then buytocover this bar on close ;