当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:K线蓝实战指标(同花顺公式 副图 源码 测试图)
软件名称:[B]K线蓝实战指标(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-03-11 00:14:22
软件简介:
很好的实站指标,能很好的指导买卖,对高手有很好的辅导作用。
DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,'',0);
DRAWBAND(15,RGB(70,0,0),5,RGB(0,0,0));
DRAWBAND(95,RGB(0,70,0),80,RGB(0,0,0));
/*RSI趋势*/
CC:=FORCAST(C,3); HH:=FORCAST(H,3); LL:=FORCAST(L,3);
LC:=REF(WMA((2*CC+HH+LL)/4,3),1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORFF9900,LINETHICK0;
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLOR00FFFF,LINETHICK0;
DRAWBAND(RSI6,RGB(255,80,0),RSI12,RGB(0,255,100));
/*WR趋势*/
WR1:100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
WR2:100-100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
DRAWTEXT_FIX(1,0.05,0,0,'WR ='),COLOR00FFFF,LINETHICK3;
DRAWNUMBER_FIX(ISLASTBAR,0.11,0,0,WR2),COLOR00FFFF,LINETHICK3;;
/*主体公式*/
R2:=LLV(LOW,10);
R3:=HHV(HIGH,25);
UP: EMA((CLOSE-R2)/(R3-R2)*4,4)*25,NODRAW;
/*磨砂蓝*/
下通道=UP<=REF(UP,1) ;
STICKLINE(下通道,UP ,REF(UP,1),9,0),COLORFF5500;
STICKLINE(下通道,UP ,REF(UP,1),8.4,0),COLORFF6600;
STICKLINE(下通道,UP ,REF(UP,1),7.5,0),COLORFF7700;
STICKLINE(下通道,UP ,REF(UP,1),6.6,0),COLORFF8800;
STICKLINE(下通道,UP ,REF(UP,1),5.1,0),COLORFF9900;
STICKLINE(下通道,UP ,REF(UP,1),3.6,0),COLORFFAA00;
STICKLINE(下通道,UP ,REF(UP,1),2.1,0),COLORFFCC00;
STICKLINE(下通道,UP ,REF(UP,1),0.6,0),COLORFFFF00;
/*KDJ公式*/
/*N1:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:(SMA(RSV,M1,1)),colorcyan,NODRAW;
D:SMA(K,M2,1),COLOR0080FF,NODRAW;
J:3*K-2*D,NODRAW ;
PARTLINE(D,D,RGB(250,250,250)),LINETHICK0;
PARTLINE(K,K,RGB(152,251,152)),LINETHICK0;
PARTLINE(J,J,RGB(100,149,237)),LINETHICK0;*/
/*红柱*/
上通道=UP>REF(UP,1);
STICKLINE(上通道,UP ,REF(UP,1),9,0),COLOR2424FF;
STICKLINE(上通道,UP ,REF(UP,1),7.5,0),COLOR2D2DFF;
STICKLINE(上通道,UP ,REF(UP,1),6,0),COLOR4444FF;
STICKLINE(上通道,UP ,REF(UP,1),4.5,0),COLOR5757FF;
STICKLINE(上通道,UP ,REF(UP,1),2.25,0),COLOR6666FF;
STICKLINE(上通道,UP ,REF(UP,1),0.33,0),COLOR7D7DFF;
/*参考线*/
STICKLINE(C,50,50,8,0),color6C6C6C;
STICKLINE(C,70,70,5,0),color6C6C6C;
STICKLINE(C,30,30,5,0),color6C6C6C;
PARTLINE(95,95 ,RGB(0,128,0)),;
PARTLINE(80,80 ,RGB(255,105,180)),;
PARTLINE(5,5 ,RGB( 65,105,225)),;
PARTLINE(15,15 ,RGB(192,192,192)),;
/*每股现金流*/
每股现金流=JYJE/ZGB;
DRAWTEXT_FIX(1,0.38,1,0,'每股现金:'),colorwhite;
DRAWNUMBER_FIX(ISLASTBAR,0.46,1,0,每股现金流),coloryellow;
DRAWTEXT_FIX(1,0.5,1,0,'元'),colorwhite;
/*负债*/
DRAWTEXT_FIX(1,0.19,1,0,'负债:'),colorwhite;
DRAWNUMBER_FIX(ISLASTBAR,0.27,1,0,(FZHJ/100000000)),coloryellow;
/*净利润率*/
thisZYYWSR:=ZYYWSR;
thisJLR:=JLR;
净利润率:=thisJLR/thisZYYWSR,colorwhite,NODRAW;
DRAWTEXT_FIX(1,0.05,1,0,'净利率:'),colorwhite;
DRAWNUMBER_FIX(ISLASTBAR,0.125,1,0,净利润率),coloryellow;
/*季度报表ROE*/
X1=JLR;
X2=GDQYHJ;
季度报表ROE=X1/X2;
/*TTMROE*/
lastjly:=REP(&JLR,2);
lastyear:=YEARREP(&JLR,1);
IF(lastyear==JLR)
xxx:=0;
ELSE
xxx:=lastyear-lastjly;
ROE:=((xxx+JLR)/X2)*100,NODRAW;
DRAWTEXT_FIX(1,0.05,0.85,0,'ROE:'),colorwhite;
DRAWNUMBER_FIX(ISLASTBAR,0.125,0.85,0,ROE),coloryellow;
/*总资产周转率*/
X11=ZYYWSR;
Y11=ZCZJ;
Z11=X11/Y11;
lastx:=REP(&ZYYWSR,2);
lastyear:=YEARREP(&ZYYWSR,1);
IF(lastyear==ZYYWSR)
xxx:=0;
ELSE
xxx:=lastyear-lastx;
总资产周转率:=(xxx+ZYYWSR)/Y11,NODRAW;
DRAWTEXT_FIX(1,0.19,0.85,0,'周转:'),colorwhite;
DRAWNUMBER_FIX(ISLASTBAR,0.27,0.85,0,总资产周转率),coloryellow;
/*权益乘数*/
X22=FZHJ;
Y22=ZCZJ;
Z22=X22/Y22;
权益乘数=1/(1-Z22),NODRAW;
DRAWTEXT_FIX(1,0.38,0.85,0,'权益乘数:'),colorwhite;
DRAWNUMBER_FIX(ISLASTBAR,0.46,0.85,0,权益乘数),coloryellow;
[url=http://www.70822.com/soft/sort013/sort036/down-154650.html]K线蓝实战指标(同花顺公式 副图 源码 测试图)[/url]