Entry on monday and exit on thursday

i want to enter a option selling position on monday and exit on thursday , how to code it. my code for entry is
( Time ( ‘NSE’ ) >= Number ( ‘0950’ ) ) and ( Positions Detail ( ‘strategy_id’, ‘run_counter’, ‘All’, ‘All’, ‘All’, ‘quantity’, ‘NIFTY 50’ ) == Number ( ‘0’ ) ) and ( Time ( ‘NSE’ ) <= Number ( ‘955’ ) ) and ( Week Day ( ‘NSE’ ) == Number ( ‘1’ ) )

and my code for exit is
( Time ( ‘NSE’ ) >= Number ( ‘1525’ ) ) and ( Today ( ‘NSE’ ) == Current Week Expiry ( ‘NIFTY 50’, ‘0’ ) )
i tried this code in backtest for six months but showing only 1 position. please help

Try
Week day = number (4)( for Thursday)

help me for
i want take
entry option selling (straddle)
entry : 0930 on two days before expiry
and
exit : 1500 on expiry day
sl: 3000
profit: 6000

I want to create a short straddle with the following parameters:

Short 1 lot ATM NIFTY 50 CE

Short 1 lot ATM NIFTY 50 PE

Fixed SL 3000 both leg including… POSITIONAL

Entry: 9:30am 2DAYS BEFORE WEEKLY EXPIRY

EXIT : 1500 ON EXPIRY DAY

I am totally new to Tradetron so please excuse if i don’t make much sense.

From the statement time>=0950 and Time<=0955 trade would take place only between 0950 & 0955 - is that intended?