AT Scripts

Paus sedan senaste inköp i dagar

{ *** QUARANTINE ***}
quarantine_days=add(1,0)
buy_day=int(lasttrade(b,d))
today=int(date())
days_since_last=if(gt(lasttrade(b,p),0),sub(today,buy_day),99)
quarantine_released=ge(days_since_last,quarantine_days)
{ **** QUARANTINE ***}

Create IT