通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
通达信监控精灵指标公式
公式解读:
公式解读:
通达信主力追踪指标公式N:=9;65;
M1:=3;
M2:=3;
P:=9;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
JJ:=P*(3*D-2*K);
J:=((3 * K) - (2 * D));
MAIRU:= CROSS(K,D) AND K20;
MAICHU:= CROSS(D,K) AND D80;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=IF(MA(CLOSE,34),1,0);
VAR8:=EMA(IF(LOW=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8100,100,VAR8);
吸筹:VAR9,LINETHICK2,COLORF00FF0;
STICKLINE(VAR9120,0,VAR9,8,1),COLORF00FF0;
快线:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2,colorred;
慢线:SMA(快线,M1,1),colorcyan;
BB:=IF(BARSLAST(CROSS(慢线,快线))=3 AND CROSS(快线,慢线) AND 慢线30,20,0);
AA:=IF(BARSLAST(CROSS(快线,慢线))=4 AND CROSS(慢线,快线) AND 快线50,20,0);
主力:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), colorred,LINETHICK2;
即将爆发线: 65,color00ff00;
爆发线:80,colorwhite,LINETHICK1;
DRAWTEXT(CROSS(主力资金,爆发线),主力资金, #39;★爆发! #39;) ,coloryellow;
爆发警戒线: 50,COLOR00FF00;
线:20,colorwhite,LINETHICK2;
DRAWTEXT(CROSS(主力资金,抄底线),主力资金, #39;★抄底 #39;) ,colorwhite;
DRAWTEXT(CROSS(主力资金,爆发警戒线),主力资金, #39;★加仓 #39;) ,colorwhite;
DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金, #39;★加仓 #39;) ,colorwhite;
DRAWTEXT(CROSS(爆发线,主力资金),爆发线, #39;★空仓 #39;) ,colorwhite;
LC:= REF(C,1);
F1:=ZIG(3,15);
方向:IF((F1 REF(F1,1)),5,105),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(抄底线,方向),抄底线, #39;★逢低进场! #39;) ,colorred;
DRAWTEXT(CROSS(方向,抄底线),方向+20, #39;★逢高出场! #39;) ,colorwhite;
V1:=EMA(CLOSE,5);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
RSV2:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
压力位:=IF(CROSS(J2,J),H,REF(H,BARSLAST(CROSS(J2,J))));
xg:IF((CROSS(C,压力位) OR CROSS(V1,压力位)) AND (C 1.05*REF(C,1) OR REF(C,1)1.05*REF(C,2))
AND (V1.5*REF(V,1) OR REF(V,1)2*REF(V,2))AND MA(V,5)MA(V,60) ,20,0),colorred,LINETHICK2;