Hey, can anyone explain to me why this trade was exited although the code does not command it to. indicator4 = WeightedAverage[20](close)+2*std[20](close) c3 = (high[3] >= indicator4[3]) IF c3 THEN SELL AT MARKET ENDIF