Pine Script Pinescript Why Does My Stoploss Trigger Upon Entry Stop

Pine Script Pinescript Why Does My Stoploss Trigger Upon Entry Stop