当前位置:首页 > 免费资源 > 正文

「翔博精选指标」非常漂亮的【立体3D K线】,唯美之作(通达信公

2022-05-23原创 编 辑:翔博软件

本公式是非常漂亮的3D的K线,唯美之作
 {立体3D K线}

DRAWTEXT_FIX(1,0.01,0.02,0,'【名称】:'),COLORLIGREEN;
 DRAWTEXT_FIX(1,0.08,0.02,0,STKNAME),COLORRED;
 DRAWTEXT_FIX(1,0.01,0.07,0,'【代码】:'),COLORLIGREEN;
 DRAWTEXT_FIX(1,0.08,0.07,0,CODE),COLOR0080FF;
 DRAWTEXT_FIX(1,0.01,0.12,0,'【卖一】:'),COLORLIGREEN;
 DRAWNUMBER_FIX(1,0.08,0.12,0,DYNAINFO(21)),COLORLICYAN;
 DRAWTEXT_FIX(1,0.01,0.17,0,'【买一】:'),COLORLIGREEN;
 DRAWNUMBER_FIX(1,0.08,0.17,0,DYNAINFO(20)),COLORLIBLUE;
 
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;

 

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标