九毛八公式指标
公式模块:
{保华分时主图源码}
MA55:MA(CLOSE,55);
MA103:MA(CLOSE,103);
生命线453:MA(CLOSE,453);
选股预警条件:
1、股价上涨突破453线并站上453线;
2、换手≧10%;
3、cci≦-100;
4、dmi指标的ADX﹥50,mdi﹥50;
生命线453:=MA(CLOSE,453);
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
N:=14;M:=6;
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);
pdi:=DMP*100/TR;
MDI:=DMM*100/TR;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
crOSS(C>生命线453,0.5) AND V/CAPITAL*100>=10 AND CCI<=-100 AND ADX>50 AND MDI>50;