Close Trade at end of day script serves as an example how we can close trades at end of day. can be session controlled or the time controlled. the session should be adjusted to be earlier than the candle time. Pine Script™ 스트래티지daytraderph의1111274