当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:黄金北斗主图,北斗线和黄金分割组合主图(通达信主图 源码 测试图)
软件名称:[B]黄金北斗主图,北斗线和黄金分割组合主图(通达信主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2022-11-28 00:15:23
软件简介:
黄金北斗主图,北斗线和黄金分割组合主图
{黄金北斗主图}
{参数X,默认3}
AMV0:=VOL*(O+C)/2;
北斗生命线:SUM(AMV0,88)/SUM(VOL,88),COLOR7F00FF,LINETHICK2;
CG:MA(C,17),COLORFFCC66,LINETHICK2;
FL:=HHV(CG,2);
北斗持股线:HHV(CG,2),COLOR00FF00;
FS:CG-(FL-CG),COLORYELLOW,LINETHICK2;
DAA:=CG=北斗持股线 AND 北斗持股线=FS;
DRAWICON(COUNT(REF(EMA(C,3),1)<REF(EMA(C,3),2),5)=5 AND EMA(C,3)>REF(EMA(C,3),1) AND DAA=1, L, 25);
DRAWICON(COUNT(REF(EMA(C,3),1)<REF(EMA(C,3),2),5)=5 AND EMA(C,3)>REF(EMA(C,3),1) AND DAA=0, L, 26);
DRAWTEXT(COUNT(REF(EMA(C,3),1)<REF(EMA(C,3),2),5)=5 AND EMA(C,3)>REF(EMA(C,3),1),LOW*0.99,'反弹')COLORRED;
ZDCGD := ABS(C - FS);
HIGH_13 := HHV(ZDCGD,13);
MC := (C - FS) > (HIGH_13 * 90 / 100);
MR := (FS - C) > (HIGH_13 * 90 / 100);
RSV :=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K :=SMA(RSV,3,1);
D :=SMA(K,X,1);
KDJMR :=CROSS(K,D);
KDJMC :=CROSS(D,K);
YAA:=CG=北斗持股线 AND 北斗持股线=FS;
DRAWICON(KDJMC AND YAA=1 ,H, 35);
DRAWTEXT(KDJMC,HIGH*1.01,'震荡'), COLORGREEN;
DRAWICON(KDJMC AND YAA=0, H, 12);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
日:=270;昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:REFDATE(高1,DATE),COLORRED;
一0.809:REFDATE(H1,DATE),COLORYELLOW;
二0.618:REFDATE(H2,DATE),COLORMAGENTA;
三0.500:REFDATE(H3,DATE),COLORWHITE;
四0.382:REFDATE(H4,DATE),COLORGREEN;
五0.191:REFDATE(H5,DATE),COLORYELLOW;
低:REFDATE(低1,DATE),COLORRED;
上突缺口:=LOW>REF(HIGH,1),COLORRED,LINETHICK;
下突缺口:=HIGH<REF(LOW,1),COLORCYAN,LINETHICK;
STICKLINE(下突缺口,REF(LOW,1),H,24,0),COLORBLUE;
DRAWTEXT(下突缺口,REF(LOW,1),'下突缺口'),COLOR00FFFF;
STICKLINE(上突缺口,REF(HIGH,1),L,24,0),COLORYELLOW;
DRAWTEXT(上突缺口,REF(HIGH,1),'上突缺口'),COLOR0000FF;
[url=http://www.70822.com/soft/sort013/sort05/down-165197.html]黄金北斗主图,北斗线和黄金分割组合主图(通达信主图 源码 测试图)[/url]