https://www.prorealcode.com/prorealtime-indicators/moving-average-angle-stochastic/ The system buys long when it gives the first buy signal (green). The system closes long when it gives the first close signal (red). Thank!!!