同花顺的选股公式
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
同花顺选股公式
同花顺选股公式
黑马草上飞HMCSF
LCZ:=(C-MA(C,60))/MA(C,60)*100;
A1:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95;
A2:=COUNT(LCZ<20,100)>95;
A3:=COUNT(C>MA(C,60),100)>80;
A4:=C/REF(C,1)>1.04;
A5:=V/CAPITAL*100>2.8;
ZTJ:=A1 AND A2 AND A3 AND A4 AND A5;
ZTJ AND (REF(BARSLAST(ZTJ),1)>20OR BARSSINCE( ZTJ)=0);
三金叉见底SJCJD
nday := 5;
down := CLOSE/LLV(LOW,60)<=1.2;
pma1 := MA(CLOSE,5);
pma2 := MA(CLOSE,10);
vma1 := MA(VOL,5);
vma2 := MA(VOL,10);
diff := EMA(CLOSE,12) - EMA(CLOSE,26);
dea := EMA(diff,9);
ppday := BARSLAST(CROSS(pma1,pma2));
vvday := BARSLAST(CROSS(vma1,vma2));
macdday := BARSLAST(CROSS(diff,dea));
SJCJD:= IF((ppday<=nday AND vvday<=nday AND macdday<=nday),1,0);
买入就涨MRJZ
var1:=1;
趋势线: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),colorred;
var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
var3:=LLV(LOW,34);
var4:=HHV(HIGH,34);
SK:= EMA((var2-var3)/(var4-var3)*100,13)*var1,colorwhite;
SD:= EMA(SK,2)*var1,coloryellow;
var5:=EMA(CLOSE,12)-EMA(CLOSE,26);
var6:=EMA(var5,9);
var7:=var1*CLOSE*1.236;
var8:=CLOSE/REF(CLOSE,1)>1.021;
var9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;
varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;
varB:=ABS(var5-var6);
varC:=STD(CLOSE,90)*10;
varD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);
varE:=SLOPE(CLOSE,40);
varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90);
var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;
var11:=var1*STD(CLOSE,63)*10;
var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3);
var13:=var1*MA((CLOSE-var12)/var12,1);
var14:=MA(CLOSE,5);
var15:=MA(CLOSE,10);
var16:=MA(CLOSE,20);
var17:=MA(CLOSE,30);
var18:=MA(CLOSE,60);
var19:=MA(CLOSE,150);
var1A:=MA(CLOSE,250);
var1B:=var1*VOL/CAPITAL*100;
var1C:=(CLOSE-var1A)/var1A*100;
var1D:=(CLOSE/REF(CLOSE,1)-1)*100;
var1E:=PWINNER(1,CLOSE);
var1F:=IF(var1>0.75AND var1<0.901,0.618,1);
买入就涨:= IF(var14>var15 AND var15>var16 AND var16>var17 AND var16>var18 AND var19>var1A AND (var1E>=0.9OR var1E>0.76AND var1E<0.901AND var1D>5AND var1B>5) AND var1D>1.8AND
var1C<40AND CLOSE>3AND (CLOSE-var18)/var18<0.25AND var1B<=6AND var4*var1B>=1AND
CLOSE<18.5,76,0), coloryellow;
var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
var22:=var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;
var23:=var1*MA(CLOSE,250);
var24:=MA(CLOSE,125);
买入就涨:IF(SD>18AND SK<75AND CROSS(var20,var21) AND (var22-var23)/var23<0.161AND
REF(SK,3)AND REF(var22,1))var25:=CLOSE/MA(CLOSE,3)>=1.05AND CLOSE=HHV(CLOSE,3) AND
MA(VOL,2)/MA(VOL,40)>=3AND MA
(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
短线抄底DXCD3
A3:=REF(CLOSE, 1.000);
A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), 8.000, 1) * 100;
A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), 55.000, 1) * 100;
A4<=20AND A5 <=49;
--------------------------------------------------------
SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12;
----------------------------------------------------------------------------
SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12;
黄线抄底选股HXCDXG
A3:=REF(CLOSE, 1.000);
A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), 8.000, 1) * 100;
A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), 55.000, 1) * 100;
A4<=20AND A5 <=49;
选马趋势XMQS
个股:EMA(100*(C-LLV(LOW,36))/(HHV(H,36)-LLV(LOW,36)),3),colorred;
DRAWTEXT(个股>85,95,'*');
大盘:EMA(100*(INDEXC-LLV(INDEXL,36))/(HHV(INDEXH,36)-LLV(INDEXL,36)),3),colorblue; STICKLINE(个股>=大盘,个股,大盘,1,0),colorred;
STICKLINE(个股<大盘,个股,大盘,1,0),colorblue;
出现:IF(CROSS(个股,9),35,0),STICK,linethick3,color00ff00;
DRAWTEXT(CROSS(个股,9),30,'-马'),color00ff00;
高抛低吸GPDX
MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1) *100,1)+50;
G1:=IF(-MMS>95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0