以下是同花顺事实说话指标公式

DRAWKLINE(H,O,L,C);

MA1:MA(CLOSE,5);

MA2:MA(CLOSE,10);

MA3:MA(CLOSE,20);

MA4:MA(CLOSE,60);

MA5:MA(CLOSE,120),LINETHICK2;

MA6:MA(CLOSE,250);

DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,1) ;

DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,2);

VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;

VAR6:=(VAR3+VAR4+VAR5)/3;

VAR7:=EMA(VAR6,5);

ZB:=EMA(EMA(VAR3,5),5)*3, COLORSTICK;

VAR8:=IF(VAR6<=-20,10,0);

VAR9:=HHV(VAR8,10);

VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

K:=EMA(VAR7,5)*2, , COLORFF00FF;

D:=EMA(K,5), , colorwhite;

J:=K*3-D*2, ,coloryellow;

VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;

HS:=VOL/CAPITAL*100, , colorgreen;

VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,LOW*0.95,’大资金活动’),LINETHICK1,COLORFF00FF;

VAR12:=(HIGH+LOW+CLOSE)/3;

VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));

VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));

VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0);

VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);

VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

VAR18:=100-ABS(VAR17);

VAR19:=IF(VAR18<90,VAR18,100);

VAR1A:=IF(VARE>0,VARE,0);

VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;

VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;

TY:=C;

A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);

A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);

A:=REF(C,BARSLAST(HD)); B:=REF(L,BARSLAST(LD));

T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;

T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);

顶:IF(T1,A,A),coloryellow,POINTDOT,LINETHICK3;

底:IF(T2,B,B),colorgreen,POINTDOT,LINETHICK3;

M2:=EMA(C,2);

M18:=EMA(C,18);

买点:=IF(CROSS(M18,M2),5,10* 10000),COLORFF00FF,LINETHICK2;

RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;

VARB2:=(RSVV/2+22)*1;

Q:=EMA(VOL,13);

Y:=EMA(AMOUNT,13);

S:=((Y /Q) / 100);

X:=(((CLOSE -S) / S) * 100);

FQ:=DYNAINFO(7)>REF(OPEN,1);

VAR101:=EMA(HHV(HIGH,500),21);

VAR102:=EMA(HHV(HIGH,250),21);

VAR103:=EMA(HHV(HIGH,90),21);

VAR104:=EMA(LLV(LOW,500),21);

VAR105:=EMA(LLV(LOW,250),21);

VAR106:=EMA(LLV(LOW,90),21);

VAR107:=EMA((VAR104*0.96+VAR105*0.96+VAR106*0.96+VAR101*0.558+VAR102*0.558+VAR103*0.558)/6,21);

VAR108:=EMA((VAR104*1.25+VAR105*1.23+VAR106*1.2+VAR101*0.55+VAR102*0.55+VAR103*0.65)/6,21);

VAR109:=EMA((VAR104*1.3+VAR105*1.3+VAR106*1.3+VAR101*0.68+VAR102*0.68+VAR103*0.68)/6,21);

VAR111:=EMA((VAR107*3+VAR108*2+VAR109)/6*1.738,21);

VAR112:=REF(LOW,1);

VAR113:=SMA(ABS(LOW-VAR112),3,1)/SMA(MAX(LOW-VAR112,0),3,1)*100;

VAR114:=EMA(IF(CLOSE*1.35<=VAR111,VAR113*10,VAR113/10),3);

VAR115:=LLV(LOW,30);

VAR116:=HHV(VAR114,30);

VAR120:=IF(MA(CLOSE,58),1,0);

DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA1:=EMA(DIF1,9);

AAA1:=(DIF1-DEA1)*2*60;

AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);

AAA下:=IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL);

买:=13;

入:=AAA1-REF(AAA1,1);

正大:=CROSS(入,买);

DIF2:=EMA(DCLOSE,10)-EMA(DCLOSE,72);

DEA2:=EMA(DIF2,17);

AAA:=(DIF2-DEA2)*2*60;

入2:=AAA-REF(AAA,1);

牛股:=CROSS(入2,13);

正大牛股:=正大 AND 牛股;

DRAWICON(正大牛股,L*0.96,40);

VARA11:=MA(CLOSE,27);

VARA22:=(CLOSE-VARA11)/VARA11*100;

VARA333:=MA(VARA22,2);

VARB333:=BARSLAST(CROSS(-10,VARA333)=1);

VARC333:=BARSLAST(CROSS(VARA333,10)=1);

VARD333:=VARA333<-10 AND VARB333>3;

VARE333:=VARA333>10 AND VARC333>3;

红钻坑:=IF(VARD333,VARA333,0),LINESTICK ,LINETHICK2, coloryellow;

财神到:=IF(VARE333,VARA333,0),LINESTICK , colorwhite;

STICKLINE(红钻坑,OPEN,CLOSE,2,0),coloryellow;

QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;

QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);

QVAR1C:=SMA(QVAR1B,13,8);

QVAR1D:=SMA(QVAR1A,21,8);

 
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。