mycapital = 7000 sl = 5 tp = 2 starttime = 163000 endtime = 213000 IF time >=starttime and time <=endtime then BUY 200 shares AT 20 stop endif If LongOnMarket and time =endtime then sell 200 shares AT 20 stop ENDIF L’errore viene segnalato sulla parola buy, come se ci fosse un endif di troppo. Sto impazzendo da ore su una stupidaggine. Grazie dell’ aiuto.