DA:=6;FY:=5;CT:=1;P:=0;N:=3; NS:=IF((HHV(ABS(((HHV(CLOSE,DA)/LLV(CLOSE,DA))-1)),DA)>(10/100)),3,DA); N1:=IF((MINUTE=5),(NS*48),IF((MINUTE=15),(NS*16),IF((MINUTE=30),(NS*8),IF((MINUTE=60),(NS*4),NS)))); MM:=IF(((P=0) OR (VOL=0)),MA(CLOSE,N1),((SUM(AMOUNT,N1)/SUM(VOL,N1))/100)); M1:=REF(MM,1); 买入:=IF(CROSS(CLOSE,M1),M1,0); 卖出:=IF(CROSS(M1,CLOSE),M1,0); DW:=BARSLAST((卖出>0)); EX10:=HHV((买入>0),(DW+1)); BJ:=IF((EX10>REF(EX10,1)),买入,0); SJ:=IF((EX10<REF(EX10,1)),卖出,0); XG:CROSS(CLOSE,M1);
选股公式只是出现买入信号所做的选股公式! |
