同花顺主升集合指标公式

[复制链接]
查看158 | 回复0 | 2021-8-20 22:57:39 | 显示全部楼层 |阅读模式

STICKLINE(C>0,90,95,10,0),COLOR408000;
STICKLINE(C>0,10,5,10,0),COLOR408000;
个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF, LINETHICK2;
强弱:=50,colorred,DOTLINE;
LOWV1:=LLV(LOW,34);
HIGHV1:=HHV(HIGH,34);
RSV:=EMA((CLOSE-LOWV1)/(HIGHV1-LOWV1)*100,3);
K:EMA(RSV,3);
D:MA(K,3);
VAR31A:=DMA(CLOSE,VOL/MA(VOL,4)/4);
VAR32A:=DMA(CLOSE,VOL/MA(VOL,32)/32);
VAR031:=(CLOSE-VAR31A)/VAR31A*100<-8;
VAR032:=(VAR31A-VAR32A)/VAR32A*100<-21;
VAR033:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05;
VAR034:=COUNT(NOT(C=O),8)>=8;
逆市买入1:=VAR031 AND VAR032 AND VAR033 AND VAR034;
逆市买:逆市买入1*100;
VAR1G:=(((CLOSE / MA(CLOSE,40)) * 100) < 78);
VAR2G:=(((CLOSE / MA(CLOSE,60)) * 100) < 74);
VAR3G:=(HIGH > (LOW * 1.051));
VAR4G:=(VAR3G AND (COUNT(VAR3G,5) > 1));
AA:=IF((VAR4G AND (VAR1G OR VAR2G)),2,0);
BB:=C/REF(C,25)<=1.1;
CC:=(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15;
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
操盘线:=SMA(V3,2,1);
V5:=SMA(操盘线,2,1);
底:=IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)<REF(操盘线,2) AND 操盘线<23 ,1.5,0);
买赚62:IF(BB AND AA AND CC AND 底,90,0),colorwhite;
VAR1:=15;
VAR2:=25;
VAR3:=32;
VAR4:=REF(CLOSE,1);
VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;
VAR6:=SMA(MAX(CLOSE-VAR4,0),14,1)/SMA(ABS(CLOSE-VAR4),14,1)*100;
VAR7:=SMA(MAX(CLOSE-VAR4,0),21,1)/SMA(ABS(CLOSE-VAR4),21,1)*100;
VAR8:=VAR5<VAR1 AND VAR6<VAR2 AND VAR7<VAR3;
逆转64:IF(VAR8=0 AND REF(VAR8,1)=1,70,0);
A1:=((MA(C,60)-L)/MA(C,20))*200;
B1:=((MA(C,60)-L)/MA(C,60))*200;
C1:=((MA(C,30)-L)/MA(C,60))*200;
M1:=REF(CLOSE,1);
M2:=SMA(MAX(CLOSE-M1,0),7,1)/SMA(ABS(CLOSE-M1),7,1)*100;
G1:=FILTER(REF(M2,1)<20 AND M2>REF(M2,1),5);
TU:=C/MA(C,40)<0.74;
PER1:=5;
MMA:=EMA(C,PER1);
SMMA:=EMA(MMA,PER1);
IMPETMMA:=MMA - REF(MMA,1);
IMPETSMMA:=SMMA - REF(SMMA,1);
DIVMA:= ABS(MMA - SMMA);
TDJ:=(H-L)/REF(C,1)>0.05;
AVERIMPET:= (IMPETMMA+IMPETSMMA)/2;
TDF:= POW(DIVMA,1)*POW(AVERIMPET,3);
NTDF:=TDF/HHV(ABS(TDF),PER1*3);
YUL:=COUNT(TDJ,5)>1;
启动:=TU AND TDJ AND YUL;
确定:=CROSS(NTDF,-0.9);
波段:=FILTER((G1 AND C1>20 OR C>REF(C,1)) AND REF(启动,1),10);
选股:=FILTER(REF(启动,1) AND (确定 OR C>REF(C,1)) AND MACD.MACD>-1.5,10);
卧底70:IF(COUNT(选股,13)>=1 AND 波段,100,0),colorgreen;
QVAR1:=((C-MA(C,6))/(MA(C,6)))*(100);
QVAR2:=((C-MA(C,12))/(MA(C,12)))*(100);
QVAR3:=((C-MA(C,24))/(MA(C,24)))*(100);
QVAR4:=(QVAR1+(2)*(QVAR2)+(3)*(QVAR3))/6;
QVAR5:=MA(QVAR4,3);
犀牛65:IF(EVERY(QVAR5<=(-10),7) AND DYNAINFO(4)>0 AND C>1*REF(C,1),65,0),COLOR000CCF;
中线:=(EMA(C,30)+EMA(C,72))/2,colorcyan,LINETHICK3;
铁底:=中线-中线*0.49,COLOR00CC00,LINETHICK3;
顶线:=中线+中线*0.22,COLORFF3300,LINETHICK3;
极底:=中线-中线*0.29,COLORFF33CC,LINETHICK3;
回踩极底:=REF(C,1)>极底 AND L<=极底 AND C>=极底;
回踩铁底:=REF(C,1)>铁底 AND L<=铁底 AND C>=铁底;
回踩63:IF(回踩极底 OR 回踩铁底,45,0),COLOR2CC17B;
KS13:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);
RSV10:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
FASTK:=SMA(RSV10,3,1);
K1:=SMA(FASTK,3,1);
D1:=SMA(K1,5,1);
VAR01:=CLOSE/MA(CLOSE,40)*100<76;
VAR02:=CLOSE/MA(CLOSE,60)*100<74;
VAR03:=HIGH>LOW*1.051;
VAR04:=VAR03 AND COUNT(VAR03,5)>1;
成金71:IF(VAR04 AND (VAR01 OR VAR02) AND REF(KS13,1)>=10 AND REF(KS13,1)/KS13>=1.13 AND
CLOSE/REF(CLOSE,1)>=1.02,100,0),COLOR458789;
TYP:=(HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13));
买点:=CROSS(CCI,-200) AND CCI>REF(CCI,1) AND MA(C,5)/L>=1.07 AND V<REF(V,1)*0.66 AND V<=MA(V,5);
买点61:买点*62;
VAR10:=CLOSE/MA(CLOSE,20)*100<80;
VAR20:=CLOSE/MA(CLOSE,40)*100<78;
VAR30:=CLOSE/MA(CLOSE,60)*100<72;
VAR40:=HIGH>LOW*1.051;
VAR50:=VAR40 AND COUNT(VAR40,5)>1;
割庄机64:IF(VAR50 AND (VAR10 OR VAR20 OR VAR30),80,0),colorgray;
ETG1:=CLOSE/MA(CLOSE,30)*100<75;
ETG2:=CLOSE/MA(CLOSE,50)*100<78;
ETG3:=HIGH>LOW*1.053;
ETG4:=ETG3 AND COUNT(ETG3,5)>2;
ETG5:=ETG4 AND (ETG1 OR ETG2);
ETG6:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);
ETG7:=(CLOSE-ETG6)/ETG6*100;
SCYJ:=REF(ETG7,1)<-34 AND ETG7>REF(ETG7,1) AND REF(ETG7,1)<REF(ETG7,2)
AND ETG7-REF(ETG7,1)>1.76 OR ETG5;
赢家65:IF(BARSLASTCOUNT(SCYJ)=1,60,0);
下轨:=MA(REF(LLV(C,250),1),2);
QS:=IF(C>REF(C,1),(2*CLOSE+2*HIGH+OPEN+LOW)/6,(2*OPEN+2*LOW+CLOSE+HIGH)/6);
短线:=MA(SMA(QS,5,1),3);
均角:=ATAN((短线/REF(短线,1)-1)*100)*180/3.14115926;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买63:=IF(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)),100,0);
N:=2;
M:=3;
AVAR2:=1;
AVAR3:=REF(HIGH,1)*1.1;
AVAR4:=HIGH*1.1;
AVAR5:=(AVAR4*VOL+AVAR3*(CAPITAL-VOL))/CAPITAL;
AVAR6:=REF(LOW,1)*0.9;
AVAR7:=LOW*0.9;
AVAR8:=(AVAR7*VOL+AVAR6*(CAPITAL-VOL))/CAPITAL;
AVAR9:=EMA(AVAR8,30);
AVARA:=EMA(AVAR5,30);
AVARB:=AVARA-2;
AVARC:=IF(CLOSE<=AVAR9,AVARB,AVARA);
AVARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;
买点0: STICKLINE(AVARC-AVARB=0 AND AVAR2 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),30,0,2,0),coloryellow;
吸筹60:AVARC-AVARB=0 AND AVAR2 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),NODRAW,colorred;

202108202158.jpg

202108202158.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则