当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:K线主图指标(同花顺公式 主图 源码 测试图)
软件名称:[B]K线主图指标(同花顺公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:11.0 KB
官方主页:Home Page
更新时间:2020-05-04 00:26:07
软件简介:
精准大数据统计【技术指标】盘中同步买卖,熊牛行情正常操作,无未来函数
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
aazt:=COUNT(CLOSE>REF(CLOSE,1)*1.097 ,20)>0;
STICKLINE(买=1,L*0.95,L*0.90,30,0),coloryellow;
STICKLINE( 买=1 AND aazt,L*0.95,L*0.92,30,0),colorred;
DRAWTEXT( 买=1,LOW*0.90,'↖【C浪底】'),coloryellow;
DRAWTEXT(买=1 AND aazt,LOW*0.90,'↖【C浪底】'),colorred;
DRAWICON(FILTER(买=1,5),LOW,11);
DRAWICON(FILTER(买=1,5),LOW-0.60,7);
DA1:=IF(130>TOTALBARSCOUNT,TOTALBARSCOUNT,130);
DA:=IF(CURRBARSCOUNT>DA1,0,DA1);
HI:=REFDATE(HHV(H,DA),DATE);
LO:=REFDATE(LLV(L,DA),DATE);
C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);
GZ:=EXP(LN(HI/LO)/10);
LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);
LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);
LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA);
LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA);
LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA);
LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA);
LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA);
LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA);
LH9:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);
LH10:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);
L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;
L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;
L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;
L4:=REFDATE(HHV(LH4,DA),DATE);
L5:=REFDATE(HHV(LH5,DA),DATE);
L6:=REFDATE(HHV(LH6,DA),DATE);
L7:=REFDATE(HHV(LH7,DA),DATE);
L8:=REFDATE(HHV(LH8,DA),DATE);
L9:=REFDATE(HHV(LH9,DA),DATE);
L10:=REFDATE(HHV(LH10,DA),DATE);
SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);
STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT AND CURRBARSCOUNT<8,HI/POW(GZ,3)*99/100,HI/POW(GZ,4),6,0),colorffccaa,LINETHICK1;
m:=(C+O+L)/3;
操盘线:MA(m,2),colorwhite,DOTLINE,LINETHICK1;
操盘线1:MA(m,5),colormagenta,LINETHICK2;
小底:LLV(操盘线1,6),colorliblue,LINETHICK3;
底:LLV(操盘线1,30),colorwhite,LINETHICK3;
中底:LLV(操盘线1,60),colorffaacc,LINETHICK3;
大底:LLV(操盘线1,120),colorgreen,LINETHICK4;
TJ:=CLOSE>OPEN OR CLOSE=OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(TJ,LOW,HIGH,2,0),Color0000F2;
STICKLINE(TJ,OPEN,CLOSE,10,0),Color000097;
STICKLINE(TJ,OPEN,CLOSE,8,0),Color0000B5;
STICKLINE(TJ,OPEN,CLOSE,4,0),Color0000F2;//红升
STICKLINE(NOT(TJ),HIGH,LOW,2,0),Color00F200;
STICKLINE(NOT(TJ),CLOSE,OPEN,10,0),Color009700;
STICKLINE(NOT(TJ),CLOSE,OPEN,8,0),Color00B500;
STICKLINE(NOT(TJ),CLOSE,OPEN,4,0),Color00F200;//绿降
振幅:=(H-L)/L,colorgreen,nodraw;
STICKLINE(振幅*100>=8 AND C>O ,O,C,9,0),COLORFF0044;
STICKLINE(振幅*100>=8 AND C>O ,O,C,8,0),COLORFF0044;
STICKLINE(振幅*100>=8 AND C>O ,O,C,7,0),COLORff0055;
STICKLINE(振幅*100>=8 AND C>O ,O,C,6,0),COLORff0066;
STICKLINE(振幅*100>=8 AND C>O ,O,C,5,0),COLORff0077;
STICKLINE(振幅*100>=8 AND C>O ,O,C,4,0),COLORFF0088;
STICKLINE(振幅*100>=8 AND C>O ,O,C,3,0),COLORff0099;
STICKLINE(振幅*100>=8 AND C>O ,O,C,2,0),COLORff00aa;
STICKLINE(振幅*100>=8 AND C>O ,O,C,1,0),COLORff00bb;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0),Color2DFFFF;
STICKLINE(涨停,OPEN,CLOSE,10,0),Color008C8C;
STICKLINE(涨停,OPEN,CLOSE,8,0),Color00AAAA;
STICKLINE(涨停,OPEN,CLOSE,6,0),Color00CACA;
STICKLINE(涨停,OPEN,CLOSE,5,0),Color00E3E3;
STICKLINE(涨停,OPEN,CLOSE,4,0),Color02FFFF;
STICKLINE(涨停,OPEN,CLOSE,3,0),Color02FFFF;
STICKLINE(涨停,OPEN,CLOSE,2,0),Color2DFFFF;
STICKLINE(涨停,OPEN,CLOSE,1,0),Color2DFFFF;DRAWTEXT_FIX(1,0.00,0.02,0,'所属代码:'),COLOR0080FF;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
量能:=3*K-2*D,LINETHICK2;
RSIE:=EMA(量能,1);
主力资金:= EMA(RSIE,12) - EMA(RSIE,26),colorred,LINETHICK5;
趋势:=EMA(主力资金,9),LINETHICK2,colormagenta;
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWICON(CROSS(82,VAR7) AND 主力资金<趋势 ,H*1.05,15);
[url=http://www.70822.com/soft/sort013/sort036/down-147374.html]K线主图指标(同花顺公式 主图 源码 测试图)[/url]