通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
爆发拉升指标公式源码
STICKLINE(18,100,0,5,0),colorblue;
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2) REF(VAR02,1) AND VAR02 REF(VAR02,1);
VAR05:=COUNT(VAR03,7) 0 AND VAR04;
VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
VAR08:=EMA(VAR07,10);
VAR09:=EMA(C,5);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW =VAR10,VAR09,0),3)*40;
VAR12:=IF(VAR11 100,VAR11*0.312,VAR11);
地量爆发:VAR12,colorwhite;
STICKLINE(VAR12 0,0,VAR12,3,0),colorwhite;
STICKLINE(VAR12 0,0,VAR12,2,0),COLOR555555;
STICKLINE(VAR12 0,0,VAR12,1,0),colorwhite;
STICKLINE(VAR02 0,0,VAR02,5,0),COLOR3A7841;
美丽坚:VAR02,colorgreen;
炸弹:VAR01,colorcyan;
STICKLINE(VAR05 AND COUNT(VAR05,5)=1,0,VAR12,4,0),colorred;
XG:IF(VAR05 AND COUNT(VAR05,5)=1,1,0),colorred;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(bu,LOW*0.999, #39;B #39;),colorred,linethick3;
DRAWTEXT(bu,LOW, #39;- #39;),Color208FFF,LINETHICK3;
DRAWTEXT(sel,HIGH, #39;- #39;),ColorFFFF00,LINETHICK3;
DRAWTEXT(sel,HIGH*1.008, #39;S #39;),colorffff00,linethick3;
STICKLINE(买线 =卖线,LOW,HIGH,1,0),colorred;
STICKLINE(买线 =卖线,CLOSE,OPEN,4.5,0),color0000aa;
STICKLINE(买线 =卖线,CLOSE,OPEN,4,0),color0000cc;
STICKLINE(买线 =卖线,CLOSE,OPEN,3,0),color0000cc;
STICKLINE(买线 =卖线,CLOSE,OPEN,2,0),color0000ee;
STICKLINE(买线 卖线,CLOSE,OPEN,4.5,0),coloraaaa00;
STICKLINE(买线 卖线,CLOSE,OPEN,4,0),colorbbbb00;
STICKLINE(买线 卖线,CLOSE,OPEN,3,0),colorcccc00;
STICKLINE(买线 卖线,CLOSE,OPEN,2,0),coloreeee00;
STICKLINE(买线 卖线,LOW,HIGH,1,0),colorffff00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),color00ffff;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
DRAWTEXT(CROSS(指导线,界),界, #39;- #39;),Colorffffff;
DRAWTEXT(CROSS(界,指导线),界, #39;- #39;),Color00ffff;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
G:=95;
公式解读:
A1:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,10))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,10))*100;
A2:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,22))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,22))*100;
A3:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,44))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,44))*100;
A4:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,88))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,88))*100;
A5:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,176))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,176))*100;
A6:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,352))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,352))*100;
A7:=(EMA(AMOUNT,5)-EMA(AMOUNT,10))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,10))*10;
A8:=(EMA(AMOUNT,5)-EMA(AMOUNT,22))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,22))*10;
A9:=(EMA(AMOUNT,5)-EMA(AMOUNT,44))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,44))*10;
A10:=(EMA(AMOUNT,5)-EMA(AMOUNT,88))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,88))*10;
A11:=(EMA(AMOUNT,5)-EMA(AMOUNT,176))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,176))*10;
A11:=(EMA(AMOUNT,5)-EMA(AMOUNT,352))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,352))*10;
B1:=A1+A2+A3+A4+A5+A6+A7+A8+A9+A10+A11;
B2:=EMA(B1,5);
B3:=EMA(B1,30);
PARTLINE(B1,B1REF(B1,1),RGB(255,0,0),B1=REF(B1,1),RGB(0,255,0)),LINETHICK2;
PARTLINE(B2,b2REF(B2,1),RGB(255,0,0),B2=REF(B2,1),RGB(0,255,0)),LINETHICK2;
PARTLINE(B3,B3REF(B3,1),RGB(255,0,0),B3=REF(B3,1),RGB(0,255,0)),LINETHICK1;
A1:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,10))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,10))*100;
A2:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,22))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,22))*100;
A3:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,44))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,44))*100;
A4:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,88))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,88))*100;
A5:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,176))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,176))*100;
A6:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,352))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,352))*100;
A7:=(EMA(AMOUNT,5)-EMA(AMOUNT,10))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,10))*10;
A8:=(EMA(AMOUNT,5)-EMA(AMOUNT,22))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,22))*10;
A9:=(EMA(AMOUNT,5)-EMA(AMOUNT,44))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,44))*10;
A10:=(EMA(AMOUNT,5)-EMA(AMOUNT,88))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,88))*10;
A11:=(EMA(AMOUNT,5)-EMA(AMOUNT,176))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,176))*10;
A11:=(EMA(AMOUNT,5)-EMA(AMOUNT,352))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,352))*10;
B1:=A1+A2+A3+A4+A5+A6+A7+A8+A9+A10+A11;
B2:=EMA(B1,5);
B3:=EMA(B1,30);
PARTLINE(B1,B1REF(B1,1),RGB(255,0,0),B1=REF(B1,1),RGB(0,255,0)),LINETHICK2;
PARTLINE(B2,b2REF(B2,1),RGB(255,0,0),B2=REF(B2,1),RGB(0,255,0)),LINETHICK2;
PARTLINE(B3,B3REF(B3,1),RGB(255,0,0),B3=REF(B3,1),RGB(0,255,0)),LINETHICK1;