当前位置: 网站首页 > 股票软件公式 > 同花顺公式 > 文章 当前位置: 同花顺公式 > 文章

主力吸筹HYP(同花顺公式源码)

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

NOTEXT1:0,POINTDOT;
NOTEXT21:100,POINTDOT;
NOTEXT22:85,POINTDOT;
大趋势:=EMA(3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1),3);
趋势吸筹:IF(大趋势<=14,大趋势,DRAWNULL),NODRAW,colorcyan;
DRAWICON(大趋势>85 AND 大趋势>REF(大趋势,1),100,35);
DRAWICON(大趋势>85 AND 大趋势>REF(大趋势,1),90,35);
DRAWICON(大趋势>85 AND 大趋势>REF(大趋势,1),80,35);
ZLXH2:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
ZLXH3:=EMA(ZLXH2*10,3);
ZLXH4:=LLV(L,38);
ZLXH5:=HHV(ZLXH3,38);
ZLXH7:=EMA(IF(L<=ZLXH4,(ZLXH3+ZLXH5*2)/2,0),3)/618;
ZLXH8:=IF(ZLXH7>=100,100,ZLXH7);
主力吸筹:IF(ZLXH8>0,ZLXH8,DRAWNULL),colorred,NODRAW;
FCQK3:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
FCQK4:=EMA(FCQK3*10,3);
FCQK5:=LLV(L,13);
FCQK6:=HHV(FCQK4,13);
FCQK7:=EMA(IF(LOW<=FCQK5,(FCQK4+FCQK6*2)/2,0),3)/618;
FCQK8:=IF(FCQK7>500,500,FCQK7);
发财吸筹:IF(FCQK8>-120,ABS(FCQK8),DRAWNULL),colorgray,NODRAW;
黄柱:FCQK8>1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2),coloryellow,NODRAW;
粉柱:FCQK8>0.1 AND FCQK8<1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2),colormagenta,NODRAW;
最大值:=MAX(趋势吸筹,MAX(主力吸筹,发财吸筹));
最小值:=MIN(趋势吸筹,MIN(主力吸筹,发财吸筹));
STICKLINE(趋势吸筹=最大值,0,IF(趋势吸筹>0,趋势吸筹,DRAWNULL),2,0),colorcyan;
STICKLINE(主力吸筹=最大值,0,IF(主力吸筹>0,主力吸筹,DRAWNULL),2,0),colorred;
STICKLINE(发财吸筹=最大值,0,IF(发财吸筹>0,发财吸筹,DRAWNULL),2,1),colorgray;
STICKLINE(RANGE(趋势吸筹,最小值,最大值)=1,0,IF(趋势吸筹>0,趋势吸筹,DRAWNULL),2,0),colorcyan;
STICKLINE(RANGE(主力吸筹,最小值,最大值)=1,0,IF(主力吸筹>0,主力吸筹,DRAWNULL),2,0),colorred;
STICKLINE(RANGE(发财吸筹,最小值,最大值)=1,0,IF(发财吸筹>0,发财吸筹,DRAWNULL),2,1),colorgray;
STICKLINE(趋势吸筹=最小值,0,IF(趋势吸筹>0,趋势吸筹,DRAWNULL),2,0),colorcyan;
STICKLINE(主力吸筹=最小值,0,IF(主力吸筹>0,主力吸筹,DRAWNULL),2,0),colorred;
STICKLINE(发财吸筹=最小值,0,IF(发财吸筹>0,发财吸筹,DRAWNULL),2,1),colorgray;
STICKLINE(黄柱,0,FCQK8,0.1,0),coloryellow;
STICKLINE(粉柱,0,FCQK8,0.1,0),colormagenta;
DRAWICON(CROSS(大趋势,10),最大值,23);
VAR10:=IF(FCQK8>-120,FCQK8,0);
VAR11:=VAR10<REF(VAR10,1);
DRAWICON(VAR11 AND REF(NOT(VAR11),1),FCQK8+5,1);
VAR12:=SMA(((HHV(C,13)-C)/(HHV(C,13)-LLV(C,13))),5,1);
冲顶:2/VAR12-2,NODRAW,colorgreen;
STICKLINE(2/VAR12-2>0,20,2/VAR12-2+20,0,-1),colorlired;
STICKLINE(1/13>VAR12,0+20,2/VAR12-2+20,1,0),colorgreen;
STICKLINE(1/13>VAR12,0+20,2/VAR12-2+20,0,0),colorgreen;
趋势线:大趋势-10,colorblue,LINETHICK2;
DRAWTEXT(FILTER(趋势线<=4,15),最大值+5,'建仓区'),colorcyan;
快线:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
慢线:=SMA(快线,3,1),colorred,LINETHICK2;
空:=SMA(慢线,3,1),COLOR00FF00;//股民学院 www.58188.com
牛股:IF(BARSLAST(CROSS(慢线,空))<9 AND BARSLAST(CROSS(空,慢线))<9 AND CROSS(慢线,空) AND 慢线<20,100,0),colorwhite,LINETHICK2,STICK;
AAA:=IF(BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,20,0);
STICKLINE(AAA,0,60,0.5,0),colorlimagenta;
BBB:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0);
STICKLINE(BBB,80,100,3,0),colorgreen;

上一篇:MA牛(同花顺公式源码)

下一篇:辅助判断波段顶底(同花顺公式源码)