股仙测底源码
2017-04-12 22:29:00来源:本站整理浏览:179
股仙测底源码
HSV:=IF(SUM(VOL/CAPITAL,20)<1,SUM(VOL/CAPITAL,20),0.998);
VAR1:=DMA(EMA(CLOSE,13),HSV);
QS:=(CLOSE-VAR1)/VAR1*100;
价量线:=SMA(QS,3,1);
XXD:=价量线>REF(价量线,1) AND CROSS(QS,价量线);
B1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);
B2:=SUMBARS(VOL,CAPITAL);
B3:=IF(CLOSE>LLV(CLOSE,B2),1,(-1))*IF(B1>LLV(B1,B2),1,(-1));
B4:=IF(B3=(-1),1,0);
B5:=COUNT(B4=1,8)>3;
B6:=SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100;
B7:=DMA((HIGH+LOW+CLOSE)/3,VOL/B6);
B8:=(CLOSE-B7)/B7*100<(-17);
B9:=(CLOSE-MIN(REF(CLOSE,5)*0.83,REF(CLOSE,21)*0.72))/CLOSE<0.05;
股仙测底:B8 AND B9 AND B5 AND EXIST(XXD,3);