当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:看主力趋势副图(通达信公式 副图 源码 测试图)
软件名称:[B]看主力趋势副图(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2021-12-16 00:15:27
软件简介:
看主力趋势
三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);
三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3),COLORWHITE;
S:=CROSS(CROSS(三日最高,C),0.6);
B0:=CROSS(CROSS(C,三日最低),0.5);
DRAWICON(B0,LOW*0.99,1);
DRAWICON(S,H*1.00,2);
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLOR0078F0,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0 ),COLOR0078F0;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLOR00FFFF,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1,0),COLOR00FFFF;
VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=HHV(H,33);
VAR15:=EMA(IF(H>=VAR14,VAR13,0),3);
出场:IF(VAR15<REF(VAR15,1),VAR15,0),COLORFFFF00,NODRAW;
STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1,0 ),COLORFFFF00;
冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),COLOR8000FF,NODRAW;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1,0),COLOR8000FF;
A1:=REF(CLOSE,2);
A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
波段介入点:IF(A2<19,19,0)COLORWHITE,STICK,LINETHICK2;
0,COLOR00004B;20,COLOR00FFFF,DOTLINE;50,COLOR000082,DOTLINE;80,COLORFFFF00,DOTLINE;100,COLOR004600;
DRAWTEXT(ISLASTBAR,20,' 底部'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,80,' 风险'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,50,' 拉升'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,95,' 顶卖'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,3,' 底买'),COLORFFFFFF;
{KDJ}
RSV:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
中期线K:SMA(RSV,3,1),COLORLIBLUE,LINETHICK1;
中期线D:SMA(中期线K,3,1),COLORBLACK,LINETHICK1;
短期线J:3*中期线K-2*中期线D,COLOR00FFFF,LINETHICK2;
DRAWBAND(中期线K,RGB(758,8,18),中期线D,RGB(0,200,200));
IF(中期线K<REF(中期线K,1),中期线K,DRAWNULL),COLOR919100,LINETHICK1;
IF(中期线D<REF(中期线D,1),中期线D,DRAWNULL),COLOR919100,LINETHICK1;
IF(短期线J<REF(短期线J,1),短期线J,DRAWNULL),COLORFFFF00,LINETHICK2;
IF(中期线K>REF(中期线K,1),中期线K,DRAWNULL),COLOR4444FF,LINETHICK1;
IF(中期线D>REF(中期线D,1),中期线D,DRAWNULL),COLOR4444FF,LINETHICK1;
IF(短期线J>REF(短期线J,1),短期线J,DRAWNULL),COLOR1E1EFF,LINETHICK2;
VAR11:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR012:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR013:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR04:=(VAR11+2*VAR012+3*VAR013)/7;
VAR05:=MA(VAR04,1);
预警:STICKLINE(VAR05<=-8,68,50,1,0),COLORFF00FF;
底部准备: IF(VAR05<-8,75,50),LINETHICK1,COLOR000065;
底部预警: IF(VAR05<-8,82,50),LINETHICK1,COLORAE00AE,DOTLINE;
80,COLORFFFF00,DOTLINE;
20,COLOR00FFFF,DOTLINE;
底:10,COLORCC6633,LINETHICK1,DOTLINE,NODRAW;
90,COLOR9966FF,LINETHICK1,DOTLINE,NODRAW;
50,COLORRED,DOTLINE,NODRAW;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D0:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长期线:A+100,COLOR8080FF;
短期线:B+100,COLORFFFFFF,NODRAW;
中期线:D0+100,COLORYELLOW,LINETHICK2,NODRAW;
见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线));
顶部区域:(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5
AND 短期线<中期线 AND 短期线<长期线+4,COLORGREEN;
顶部:=FILTER(顶部区域,4);
STICKLINE( {见顶 OR} 顶部,99,103,20,1 ),COLORFFFF00,LINETHICK2;
底部区域:(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1)))
OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1) ,COLORGREEN;
STICKLINE( 底部区域,-4,0,22,0 ),COLORGREEN;
低位金叉:50*(长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线
AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线 OR REF( 短期线,1)<1 )),COLOR808080;
MA(C,5)<MA(C,10) AND V=LLV(V,10) AND C>O,STICK,LINETHICK1;
[url=http://www.70822.com/soft/sort013/sort05/down-159704.html]看主力趋势副图(通达信公式 副图 源码 测试图)[/url]