您现在的位置: 南方财富网 >> 股票知识 >> 股票公式 >> 正文
南方财富搜索

逢低必抄股票指标源码

2010-1-31 17:54:52   来源:www.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;

(责任编辑:张元缘)
    南方财富网声明:股市资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
每日必读
学院24小时排行
证券导读
热图推荐