非常漂亮的【立体3D K线】唯美之作通达信公式 主图 源码附图

BSX:=DMA(DCLOSE,5),COLORGREEN,LINETHICK3,COLORWHITE;
强弱线:=EMA(DCLOSE,21),COLORCYAN,LINETHICK3;
持股:=IF(BSX>=REF(BSX,1),BSX,DRAWNULL),COLORRED,LINETHICK3;
 LL:=REF(L,1);HH:=REF(H,1);上跳:=L>HH;下跳:=H<LL;
 STICKLINE(L>REF(H,1),L,REF(H,1),2.5,-1),COLORRED;
 STICKLINE(REF(L,1)>H,REF(L,1),H,2.5,-1),COLORGREEN;
 HD:=FILTER(BACKSET(FILTER(REF(H,10)=HHV(H,2*10+1),10),10+1),10);
 LD:=FILTER(BACKSET(FILTER(REF(L,10)=LLV(L,2*10+1),10),10+1),10);
 A:=REF(H,BARSLAST(HD));
 B:=REF(L,BARSLAST(LD));
 T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD);
 T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波段顶:=IF(T1,A,A),COLORBLACK,POINTDOT;
波段底:=IF(T2,B,B),COLORBLACK,POINTDOT;
 BIAS :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
 BIASMA :=MA(BIAS,21);
 AA:=BIAS>=BIASMA;
 BB:=BIAS<BIASMA;
 STICKLINE(AA,H,L,0,0),COLOR0000FF;
 STICKLINE(AA,C,O,2.7,0),COLOR000066;
 STICKLINE(AA,C,O,2.4,0),COLOR000088;
 STICKLINE(AA,C,O,2.1,0),COLOR0000AA;
 STICKLINE(AA,C,O,1.8,0),COLOR0000BB;
 STICKLINE(AA,C,O,1.5,0),COLOR0000CC;
 STICKLINE(AA,C,O,1.2,0),COLOR0000DD;
 STICKLINE(AA,C,O,0.8,0),COLOR0000EE;
 STICKLINE(AA,C,O,0.2,0),COLOR0000FF;
 STICKLINE(AA,C,O,0.1,0),COLOR0000FF;
 STICKLINE(BB,H,L,0,0),COLOR00FF00;
 STICKLINE(BB,C,O,2.7,0),COLOR006600;
 STICKLINE(BB,C,O,2.4,0),COLOR008800;
 STICKLINE(BB,C,O,2.1,0),COLOR00AA00;
 STICKLINE(BB,C,O,1.8,0),COLOR00BB00;
 STICKLINE(BB,C,O,1.5,0),COLOR00CC00;
 STICKLINE(BB,C,O,1.2,0),COLOR00DD00;
 STICKLINE(BB,C,O,0.9,0),COLOR00EE00;
 STICKLINE(BB,C,O,0.6,0),COLOR00FF00;
 STICKLINE(BB,C,O,0.1,0),COLOR00FF00;
 VAR1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
 VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
 STICKLINE(VAR1,OPEN,CLOSE,2.1,0),COLOR460046;
 STICKLINE(VAR1,OPEN,CLOSE,1.8,0),COLOR5E005E;
 STICKLINE(VAR1,OPEN,CLOSE,1.5,0),COLOR750075;
 STICKLINE(VAR1,OPEN,CLOSE,1.2,0),COLOR930093;
 STICKLINE(VAR1,OPEN,CLOSE,0.9,0),COLORAE00AE;
 STICKLINE(VAR1,OPEN,CLOSE,0.6,0),COLORD200D2;
 STICKLINE(VAR1,OPEN,CLOSE,0.4,0),COLORE800E8;
 STICKLINE(VAR1,OPEN,CLOSE,0.2,0),COLORFF00FF;
 STICKLINE(VAR1,OPEN,CLOSE,0.1,0),COLORFF44FF;
 STICKLINE(VAR2,OPEN,CLOSE,2.1,0),COLOR0077BB;
 STICKLINE(VAR2,OPEN,CLOSE,1.8,0),COLOR0088CC;
 STICKLINE(VAR2,OPEN,CLOSE,1.5,0),COLOR0099CC;
 STICKLINE(VAR2,OPEN,CLOSE,1.2,0),COLOR00AADD;
 STICKLINE(VAR2,OPEN,CLOSE,0.9,0),COLOR00BBDD;
 STICKLINE(VAR2,OPEN,CLOSE,0.6,0),COLOR00CCEE;
 STICKLINE(VAR2,OPEN,CLOSE,0.4,0),COLOR00DDEE;
 STICKLINE(VAR2,OPEN,CLOSE,0.2,0),COLOR00EEFF;
 STICKLINE(VAR2,OPEN,CLOSE,0.1,0),COLOR00FFFF;
 ZDF:=(C-REF(C,1))/REF(C,1)*100;
 STICKLINE(ZDF>9.5,C,O,2.7,0),COLOR0000CC;
 STICKLINE(ZDF>9.5,C,O,2.1,0),COLOR0000DD;
 STICKLINE(ZDF>9.5,C,O,1.2,0),COLOR0000EE;
 STICKLINE(ZDF>9.5,C,O,0.2,0),COLOR0000FF;
 STICKLINE(ZDF>9.5,HIGH,LOW,0 ,0),COLOR0000FF;
 STICKLINE(ZDF<-9.9,O,C,2.7,0),COLOR66CC66;
 STICKLINE(ZDF<-9.9,O,C,2.1,0),COLOR77DD77;
 STICKLINE(ZDF<-9.9,O,C,1.2,0),COLOR88EE88;
 STICKLINE(ZDF<-9.9,O,C,0.2,0),COLOR99FF99;
 STICKLINE(ZDF<-9.9,HIGH,LOW,0 ,0),COLOR99FF99;
 {股票指标网 整理}
 



未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:BACKSET
该公式包含未来函数:DCLOSE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图