您的位置:查股网 > 查股公式 > 通达信立体3D K线,乖离率变色K线主图指标[查股公式]
股票行情消息查询:

通达信立体3D K线,乖离率变色K线主图指标[查股公式]

2022/8/22 8:01:21

现价:CONST(C),COLORCYAN,DOTLINE;
 BSX:MA(C,5),COLORGREEN;
强弱线:MA(C,25),COLORCYAN;
持股:IF(BSX>=REF(BSX,1),BSX,DRAWNULL),COLORRED;
 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;
 DRAWTEXT_FIX(1,0.6,0.02,0,'【名称】:'),COLORGREEN;
 DRAWTEXT_FIX(1,0.675,0.02,0,STKNAME),COLORBLACK;
 DRAWTEXT_FIX(1,0.6,0.07,0,'【代码】:'),COLORGREEN;
 DRAWTEXT_FIX(1,0.675,0.07,0,CODE),COLOR0080FF;
 DRAWTEXT_FIX(1,0.6,0.12,0,'【卖一】:'),COLORGREEN;
 DRAWNUMBER_FIX(1,0.675,0.12,0,DYNAINFO(21)),COLORCYAN;
 DRAWTEXT_FIX(1,0.6,0.17,0,'【买一】:'),COLORGREEN;
 DRAWNUMBER_FIX(1,0.675,0.17,0,DYNAINFO(20)),COLORBLACK;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29