逢低必抄股票指标源码
2010-1-31 17:54:52 股票入门 http://rumen.southmoney.com
{逢底必抄}
fa1:=REF(CLOSE,2);
fa2:=SMA(MAX(CLOSE-fa1,0),7,1)/SMA(ABS(CLOSE-fa1),7,1)*100;
逢底1:IF(fa2<14,1,0),linethick0;
DB1:=SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
DB2:=SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1);
趋势2:=5*DB1-DB2;
逢底2:IF(CROSS(趋势2,5),1,0),linethick0;
CVq:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
Cq:= MA((CLOSE-CVq)/CVq,1);
Cxa:=ema(Cq,12)*0.7;
Cxb:=ema(Cq,3);
Cd:=if(llv(Cxb-Cxa,12)>0,0,-30);
逢底3:FILTER(COUNT(Cd<-20,3)=3,34),linethick0;
VV13:=(CLOSE-MA(CLOSE,45))/MA(CLOSE,45)*100<-17 ;
逢底4:VV13 AND VOL>MA(VOL,5),linethick0;
m5:=13;
n5:=16;
A51:=(CLOSE+OPEN)/2;
A52:=(HIGH+LOW)/2;
A53:=IF(CLOSE>REF(CLOSE,1),MAX(A51,A52),MIN(A51,A52));
B51:=SUM(A53*VOL,M5)/SUM(VOL,M5);
逢底5:(CLOSE-B51)/B51*100<N5*-1 AND CLOSE/HHV(CLOSE,50)<=0.7 AND C/LLV(C,5)<1.1,linethick0;
x30:=0.27*MA(C,3);
m30:=0.57*REF(MA(C,50),1);
VMA30:=x30+m30;
逢底6:C<VMA30*0.97 AND COUNT(H=L AND C=O AND C<REF(C,1),3)<=0,linethick0;
逢底必抄:( 逢底1 +逢底2 + 逢底3 +逢底4+逢底5+逢底6)>=N,stick3d,colorred;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。