通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
通达信强力指数指标公式
Var1:=SMA(AMOUNT,10,1)/10000000,POINTDOT;
Var2:=REF(Var1,1);
x: STICKLINE(Var1Var2,Var1,Var2,8,1),colorred;
y: STICKLINE(Var1Var2,Var1,Var2,8,0),colorgreen;
C5: DMA(SMA(Var1,3,1),VOL/0.02/CAPITAL);
C13: DMA(SMA(Var1,5,1),VOL/0.1/CAPITAL);
C34: DMA(SMA(Var1,8,1),VOL/0.18/CAPITAL);
LC:=REF(CLOSE,1);
F:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50)+9,17),COLORFFFFFF;
WR1:MA(趋势F,7)*1.372,colorred,LINETHICK2;
快1:SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100,COLORFFFFFF;
A:=EMA(快1-REF(快1,1),14);
AB:DRAWLINE(快1=HHV(快1,10),快1,快1=LLV(快1,3),HHV(快1,3),1),COLOR00FF00;
DIFF:(EMA(C,12)-EMA(C,26))/EMA(C,26)*1000,COLOR000000;
DEA:EMA(DIFF,9),COLOR000000;
MACD:=2*(DIFF-DEA)+50,COLOR000000;
STICKLINE(MACD50,MACD,50,0,0),colorred;
STICKLINE(MACD50,MACD,50,0,0),colorcyan;
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
STICKLINE(CROSS(BIAS,乖离) AND 乖离-9,10,0,5,0),colorred;
强大:CROSS(快1,21)*28,COLOR0000FF;
买:CROSS(快1,AB)*10,coloryellow;
公式解读:
通达信强势股指标公式VOLUME:=VOL;
VOL1:=MA(VOLUME,5),colorred;
VOL2:=MA(VOLUME,20),colorgreen;
MACD:(VOL1-VOL2),COLORSTICK;
JRH:=HHV(C,2);
JRL:=LLV(C,2);
MA3:=MA(CLOSE,3);
YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR1:=(CLOSEREF(CLOSE,1) AND CLOSEREF(CLOSE,2));
VAR2:=(REF(VAR1,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR3:=(REF(VAR2,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR4:=(REF(VAR3,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR5:=(REF(VAR4,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR6:=(REF(VAR5,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR7:=(REF(VAR6,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR8:=(REF(VAR7,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR9:=(REF(VAR8,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VARA:=(REF(VAR9,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VARB:=(REF(VARA,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VARC:=(REF(VARB,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VARD:=(CLOSEREF(CLOSE,1) AND CLOSEREF(CLOSE,2));
VARE:=(REF(VARD,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VARF:=(REF(VARE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR10:=(REF(VARF,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR11:=(REF(VAR10,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR12:=(REF(VAR11,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR13:=(REF(VAR12,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR14:=(REF(VAR13,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR15:=(REF(VAR14,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR16:=(REF(VAR15,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR17:=(REF(VAR16,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR18:=(REF(VAR17,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);
VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);
短买:VAR19,COLOR33AACC,NODRAW;
XG1:(CROSS(MACD,0) AND 短买=1)*1;
DRAWICON(XG1=1,LOW,13);
VAR111:=LLV(LOW,5);
VAR222:=HHV(HIGH,5);
K: MA((CLOSE-VAR111)/(VAR222-VAR111)*100,4),colorred,LINETHICK2;
D: MA(0.667*REF(K,1)+0.333*K,2),colorgreen,LINETHICK2;
XG2:(REF(MACD,1)1 AND MACD1 AND CROSS(K,D))*1,COLORSTICK;
DRAWICON(XG2=1,LOW,5);
DRAWICON(CROSS(K,D) AND MACD0,LOW*-1000,1);
n:=55;
QS:=3*SMA((CLOSE-HHV(C,N))/(HHV(C,N)-LLV(C,N))*100,5,1)-2*SMA(SMA((CLOSE-HHV(C,60))/(HHV(C,N)-LLV(C,N))*100,5,1),5,1)+100;
SP:=CLOSEMA(CLOSE,60) AND MA(CLOSE,60)REF(MA(CLOSE,60),1) AND REF(MA(CLOSE,60),1)REF(MA(CLOSE,60),2);
:QS12,STICK;
抄底买入:QS12 AND CO,STICK,LINETHICK2,colorblue;
强势出击:CROSS(QS,70) AND SP;