Getting low price of the bar instead of close price in back test

I am using below code to backtest on intraday data:

tn = TimeNum();

startTime = 091500; 
endTime = 150500;  
exitTime = 152000;  

timeOK = tn >= startTime AND tn <= endTime;

exit = (Low < Exitlevel) or cross(tn, exitTime);

SellPrice=iif(tn == 152000,(ValueWhen(Sell,Close)),(Exitlevel - 0.05));

SellPrice=iif(tn == 152000,C,(Exitlevel - 0.05)); // I tried this as well

however, I am getting low price of the bar instead of close price.

Thank you in advance.