当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:跟踪主力进出(同花顺公式 副图 源码 测试图)
软件名称:[B]跟踪主力进出(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2022-02-13 00:12:05
软件简介:
跟踪主力进出
N :=10;
SHORT:=9;
LONG:=26;
PASTDAYS:=15;
VA6:=(2*CLOSE+HIGH+LOW)/4;
VA8:=LLV(LOW,34);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
生命线:EMA(VARD,N), COLORFF00FF,LINETHICK2;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=((VAR2)/(VAR1))*(100)-70;
VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF((VAR9>100),VAR9-100,0);
VAR11:=HHV(HIGH,34);
B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);
B2:EMA(B1,5);
STICKLINE(B1-B2>0,B1,B2,4,0),COLORFFFFFF;
STICKLINE(B1-B2<0,B1,B2,4,0),COLORFFFF52;
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=MA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=MA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3<FF1,FF1,FF3);
MA13:=MA(C,13);
ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
大黑马:IF(ZDHM OR ZHM,50,0),coloryellow,POINTDOT;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
小黑马:IF(CROSS(D1,K1),45,0),COLORFFCC66,POINTDOT;
通:=MA(C,17);
子:=MA(C,26);
通增:通>REF(通,1),nodraw;
子增:子>REF(通,1),nodraw;
通子金叉:CROSS(通,子),nodraw;
DIFF:=EMA(C,SHORT)-EMA(C,LONG),colorwhite;
DEA:=EMA(DIFF,8);
MACD:=2*(DIFF-DEA);
DIFF上穿0轴:=CROSS(DIFF,0),nodraw;
MACD金叉:=CROSS(DIFF,DEA),nodraw;
MACD金叉期:=COUNT(MACD金叉,PASTDAYS),nodraw;
N1:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M1,1),coloryellow,LINETHICK1;
D:=SMA(K,M2,1),colorcyan,LINETHICK1;
J:=3*K-2*D,colormagenta,LINETHICK1;
KDJ势增:=J>REF(J,1),nodraw;
MACD势增:=MACD>REF(MACD,1),nodraw;
MACD死叉:=CROSS(DEA,DIFF),nodraw;
高安全区:=0,colorred;
安全区:=20,colorcyan;
风险区:=100,colorgreen;
KDJ金叉:=CROSS(J,K),nodraw;
KDJ死叉:=CROSS(K,J),nodraw;
KDJ买点:=KDJ金叉 ;
KDJ卖点:=KDJ死叉;
KDJ买点期:=COUNT(KDJ买点,PASTDAYS),nodraw;
通:=MA(C,17);
子:=MA(C,26);
季:=MA(C,60);
午:=MA(C,100);
辰:=MA(C,145);
年:=MA(C,250);
申:=MA(C,320);
亥:=MA(C,732);
卯:=MA(C,455);
MAXC:=MAX(通,MAX(子,MAX(季,MAX(午,MAX(辰,MAX(年,MAX(申,MAX(亥,卯))))))));
大牛:=C>=MAXC,nodraw;
牛启:=CROSS(C,MAXC),nodraw;
通增:=通>REF(通,1);
子增:=子>REF(子,1);
通子金叉:=CROSS(通,子);
子午金叉:=CROSS(子,午);
通子死叉:=CROSS(子,通);
子午死叉:=CROSS(午,子);
通金:=CROSS(C,通);
子金:=CROSS(C,子);
五金:=CROSS(C,MA(C,5));
十金:=CROSS(C,MA(C,10));
季金:=CROSS(C,季);
庄出:=CROSS(生命线,B2);
庄出期:=COUNT(庄出,PASTDAYS);
DRAWTEXT(庄出,生命线*1.2,庄出),colorcyan;
庄吸:=CROSS(B2,生命线),nodraw;
庄吸期:=COUNT(庄吸,PASTDAYS),nodraw;
DRAWTEXT(庄吸,生命线*1.2,庄吸),coloryellow;
庄吸天数:=BARSLAST(庄吸>0),nodraw;
庄出天数:=BARSLAST(庄出>0),nodraw;
持股:=庄吸天数<庄出天数,nodraw;
持币:=庄吸天数>=庄出天数,nodraw;
InStock:IF(持股>0,0,DRAWNULL), colorred,LINETHICK4;
InHand:IF(持股<=0,0,DRAWNULL),,COLORFFFF00,LINETHICK4;
阶段卖点:= (CROSS(生命线,B2) OR CROSS(MIN(通,子),C) OR MACD死叉) AND (C<MIN(通,子)) ;
最佳买点:( (CROSS(B2,生命线)>0 AND C>MAX(通,子)) OR (通金+子金) ) AND 通增>0 AND 持股>0,nodraw;
最佳买点期:COUNT(最佳买点,10),nodraw;
阶段买点:最佳买点期>0 AND (KDJ金叉+MACD金叉)>0 AND C>MAX(通,子),nodraw;
STICKLINE(最佳买点,0,生命线*1.1,1,0),colorwhite;
STICKLINE(最佳买点,30,生命线,1,0),colorred;
STICKLINE(最佳买点,0,生命线*0.8,4,0),colorred;
STICKLINE(最佳买点,0,生命线*0.4,8,0),colorred;
STICKLINE(最佳买点,0,生命线*0.2,10,0),coloryellow;
STICKLINE(最佳买点,0,生命线*0.1,10,0),COLORFFCC66;
STICKLINE(阶段买点>0 AND 最佳买点<1,0,生命线*1.1,1,0),colorwhite;
STICKLINE(阶段买点>0 AND 最佳买点<1,30,生命线,1,0),COLORFFCC66;
STICKLINE(阶段买点>0 AND 最佳买点<1,0,生命线*0.8,4,0),COLORFFCC66;
STICKLINE(阶段买点>0 AND 最佳买点<1,0,小黑马*0.4,8,0),COLORFFCC66;
STICKLINE(阶段买点>0 AND 最佳买点<1,0,生命线*0.2,10,0),COLORFF00FF;
DRAWTEXT(阶段卖点,B2+6,'↓'),colorgreen;
DRAWTEXT(阶段卖点,B2+8,'↓'),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-160716.html]跟踪主力进出(同花顺公式 副图 源码 测试图)[/url]