ND := 5;DOWN := CLOSE/LLV(LOW,60)<=1.2;PMA1 := MA(CLOSE,5);PMA2 := MA(CLOSE,10);VMA1 := MA(,5);VMA2 := MA(,10);DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);PPDAY := BARSLAST(OSS(PMA1,PMA2));YDAY := BARSLAST(CROSS(VMA1,VMA2));DAY := BARSLAST(CROSS(DIFF,DEA));三:IF((PPDAY<=ND AND DAY<=ND AND MACDDAY<=ND),1,0);