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. Stratégie Pine Script™par daytraderph1111274