通达信资金量柱趋势指标公式

通达信鳄鱼分形动量指标公式

通达信资金量柱趋势指标公式:

DRAWTEXT_FIX(1,0.0,-0.01,0,'红色上穿绿色,且资金柱刚好上穿到趋势线,

通达信简单实用的MACD指标公式

买进;红色下穿绿色,趋势线向下,资金柱递减,卖出'),COLOR3333FF;

{AA:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));

IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),VOLstICK;}

IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK;

顶线80:80,POINTDOT COLORYELLOW,LINETHICK2;

牛线20:20,POINTDOT COLORGREEN,LINETHICK2;

VAR1:=LLV(LOW,21);

VAR2:=HHV(HIGH,21);

K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORRED,LINETHICK2;

D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN,LINETHICK2;

VAR3:=LLV(LOW,55);

VAR4:=HHV(HIGH,34);

VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3);

VAR6:=(K+VAR5)/2;

VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2);

VAR8:=EMA(VAR6,5);

趋势线:EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);

DRAWICON(LONGcrOSS(D,K,0.1),D,2),COLORRED,LINETHICK1;

DRAWICON(LONGCROSS(K,D,0.1),K,1),COLORGREEN,LINETHICK1;

熊线:5,POINTDOT COLORYELLOW,LINETHICK2;

{IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK;

TX80:80,POINTDOT, COLORYELLOW;

DX20:20,POINTDOT, COLORGREEN;

VAR1:=LLV(LOW,21);

VAR2:=HHV(HIGH,21);

K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORRED;

D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN;

VAR3:=LLV(LOW,55);

VAR4:=HHV(HIGH,34);

VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3);

VAR6:=(K+VAR5)/2;

VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2);

VAR8:=EMA(VAR6,5);

VAR9:EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);

DRAWICON(LONGCROSS(D,K,0.1),D,2),COLORRED;

DRAWICON(LONGCROSS(K,D,0.1),K,1),COLORGREEN;};

清仓:=1.66*MA(FORCAST(CLOSE,2),40),COLORRED;

出货:=1.36*MA(FORCAST(CLOSE,2),40),COLOR08FFFF;

高抛:=1.16*MA(FORCAST(CLOSE,2),40),COLORFF82FF;

低吸:=0.82*MA(FORCAST(CLOSE,2),40),COLORF7E300;

满仓:=0.72*MA(FORCAST(CLOSE,2),40),COLORGREEN;

强通1:=清仓>REF(清仓,1),;

强通2:=出货>REF(出货,1),;

强通3:=高抛>REF(高抛,1),;

强通4:=低吸>REF(低吸,1),;

强通5:=满仓>REF(满仓,1),;

上升通道:=强通1 AND 强通2 AND 强通3 AND 强通4 AND 强通5,;

MA5:=MA(CLOSE,5);

MA10:=MA(CLOSE,10),;

MA20:=MA(CLOSE,20);

MA30:=MA(CLOSE,30);

MA60:=MA(CLOSE,60);

五强:=MA5>REF(MA5,1),;

十强:=MA10>REF(MA10,1),;

二十强:=MA20>REF(MA20,1),;

三十强:=MA30>REF(MA30,1),;

六十强:=MA60>REF(MA60,1),;

小均强:=五强 AND 十强,;

均强:=十强 AND 二十强 AND 三十强,;

大均强:=十强 AND 二十强 AND 三十强 AND 六十强,;

JJD:=(H+L+C)/3;强势线1:=HHV(MA((((LOW + HIGH) + CLOSE) / 3),8),60),COLORRED,LINETHICK2;

强势线2:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.18),8),20),COLORWHITE,LINETHICK2;

强势线3:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.258),8),10),COLORYELLOW,LINETHICK2;

强势线4:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.08),80),13),COLORLIMAGENTA,LINETHICK2;

开始走强1:=强势线1>REF(强势线1,1),;

开始走强2:=强势线2>REF(强势线2,1),;

开始走强3:=强势线3>REF(强势线3,1),;

开始走强4:=强势线4>REF(强势线3,1),;

双强1:=开始走强1 AND 开始走强2,;

双强2:=开始走强2 AND 开始走强3,;

双强3:=开始走强2 AND 开始走强3,;

双强4:=开始走强3 AND 开始走强4,;

三强:=开始走强1 AND 开始走强2 AND 开始走强3,;

四强:=开始走强1 AND 开始走强2 AND 开始走强3 AND 开始走强4,;

强势为王:=双强1 OR 双强2 OR 双强3 OR 双强4 OR 三强 OR 四强,;

VV:=(C+L+H)/3;DSA:=SMA(xma(VV,15),2,1)LINETHICK3;

顶部1:=DSA*1.0888,COLORMAGENTA,LINETHICK1;

顶部2:=DSA*1.158,COLORBROWN,LINETHICK1;

顶部3:=DSA*1.218,COLORRED,LINETHICK1;

底部1:=DSA*0.9518,COLORLICYAN,LINETHICK1;

底部2:=DSA*0.888,COLORLIMAGENTA,LINETHICK1;

底部3:=DSA*0.8,COLORGREEN,LINETHICK1;

MA1:=MA(CLOSE,5);

MA2:=MA(CLOSE,10);

MA3:=MA(CLOSE,20);

MA4:=MA(CLOSE,60);

五日走强:=MA1>REF(MA1,1),;

十日走强:=MA2>REF(MA2,1),;

二十日走强:=MA3>REF(MA3,1),;

六十日走强:=MA4>REF(MA4,1),;

低位主升:=五日走强 AND 十日走强 AND 六十日走强,;

主升浪:=五日走强 AND 十日走强 AND 二十日走强,;

大主升浪:=十日走强 AND 二十日走强 AND 六十日走强,;

大主升浪2:=五日走强 AND 十日走强 AND 二十日走强 AND 六十日走强,;

总主升:=主升浪 AND 大主升浪 AND 大主升浪2,;

总主升浪:=低位主升 OR 主升浪 OR 大主升浪 OR 大主升浪2 OR 总主升,;

强势主升低买:=L<底部1 AND 总主升浪 AND 强势为王 AND C<DSA;

猎股小王:=L<底部1 AND C<DSA AND 强势为王;

猎股大王出击:=强势主升低买 AND 猎股小王 AND H<DSA,COLORRED,;

A:=MA(C,30);

A1:=A*1.1;

A4:=A*0.9;

A2:=A1-(A1-A4)*0.191;

持仓:=IF(HIGH*1.01>A2 OR REF(HIGH,1)>REF(A2,1),A1,A4),LINETHICK3,COLORRED;

生命线:=IF(HIGH*1.01>A2 OR REF(HIGH,1)>REF(A2,1),A2,A4),LINETHICK3,COLORFFFFFF;

主升持仓:=持仓>生命线,;

主升1:=持仓>REF(持仓,1),;

主升2:=生命线>REF(生命线,1),;

主升:=主升1 AND 主升2,;

主升猎股王:=(猎股大王出击 AND 主升持仓 AND 主升) OR (猎股小王 AND 主升持仓 AND 主升),;

绝对的主升:=(主升猎股王 AND 小均强) OR (猎股小王 AND 小均强);

M1:=MA(CLOSE,5);

M2:=MA(CLOSE,10);

MV1:=MA(VOL,5);

MV2:=MA(VOL,10);

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

DA1:=DEA;

DF1:=DIF;

K1:="kdj.K";

J1:="kdJ.J";

金叉1:=CROSS(M1,M2);

金叉2:=CROSS(MV1,MV2);

金叉3:=CROSS(DF1,DA1);

金叉4:=CROSS(J1,K1);

选1:=金叉1 AND 金叉2 AND 金叉3 AND 金叉4;

选2:=金叉1 AND 金叉2 AND 金叉3;

选3:=金叉2 AND 金叉3 AND 金叉4;

选4:=金叉1 AND 金叉2 AND 金叉4;

选5:=金叉1 AND 金叉3 AND 金叉4;

选股:=选1 OR 选2 OR 选3 OR 选4 OR 选5;

买入:IF(选股>0 AND 绝对的主升>0 AND 猎股小王>0,10,0),STICK,COLORRED,LINETHICK3;

LC20:=REF(CLOSE,1);

rsi20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;

底部买多:=CROSS(RSI20,11)*1;

VAR3A:=3;

VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

mtm:=C-REF(C,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0) AND CROSS(RSI20,11)*1;

加仓:IF(FILTER(YXF=1,5),10,0),STICK,COLORFFFFFF,LINETHICK3;

A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV

(L,55))*100,5,1);

FY:=EMA(A51,5);

A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

QS:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));

通达信牛股模型指标公式