您的位置:查股网 > 查股公式 > 冠军一号(副图指标 源码 )[查股公式]
股票行情消息查询:

冠军一号(副图指标 源码 )[查股公式]

2023/1/5 8:25:45

冠军一号  部分源码

HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
 +13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
 +7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
 REF(H,20))/210,COLORBLUE,LINETHICK1;
 LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
 +13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
 +7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
 REF(L,20))/210,COLORBLUE,LINETHICK1;

D90H:=EMA(HH,90),COLORRED,LINETHICK1;
 D90L:=EMA(LL,90),COLORRED,LINETHICK1;
 D90:(D90H+D90L)/2;
 DGH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
 +13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
 +7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
 REF(H,20))/210,COLORBLUE,LINETHICK1;DDL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
 +13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
 +7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
 REF(L,20))/210,COLORBLUE,LINETHICK1;
 D90C:=D90H-D90L;
 G0:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))+XMA(XMA(H,25),25);
 D0:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25));
 GO0:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60);
 DO0:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3;
 DTD:=(D0+G0)/2>=(D90H+D90L)/2;
 KTD:=(D0+G0)/2<(D90H+D90L)/2;
 YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORWHITE,LINETHICK1;
 YM1:EMA(YM,5),COLORWHITE,LINETHICK1;
 YM2:EMA(YM1,5),COLORWHITE,LINETHICK1;
 YM3:EMA(YM2,5),COLORWHITE,LINETHICK1;
 D1:EMA(D90,10),COLORWHITE,LINETHICK1;
 D2:EMA(D1,10),COLORWHITE,LINETHICK1;
 DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),L*0.99,'买'),COLORRED;
 DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),H*1.01,'卖'),COLORGREEN;
 IF(DTD=1,YM,DRAWNULL),LINETHICK1,COLORRED;
 IF(DTD=1,YM1,DRAWNULL),LINETHICK1,COLORRED;
 IF(DTD=1,YM2,DRAWNULL),LINETHICK1,COLORRED;
 IF(DTD=1,YM3,DRAWNULL),LINETHICK1,COLORRED;
 IF(KTD=1,YM,DRAWNULL),LINETHICK1,COLORGREEN;
 IF(KTD=1,YM1,DRAWNULL),LINETHICK1,COLORGREEN;
 IF(KTD=1,YM2,DRAWNULL),LINETHICK1,COLORGREEN;
 IF(KTD=1,YM3,DRAWNULL),LINETHICK1,COLORGREEN;
 IF(D90>D1,D90,DRAWNULL),LINETHICK1,COLORRED;
 IF(D90>D1,D1,DRAWNULL),LINETHICK1,COLORRED;
 IF(D90>D1,D2,DRAWNULL),LINETHICK1,COLORRED;
 DX:DRAWLINE(HIGH>=HHV(HIGH,20),HIGH,LOW<=LLV(LOW,20),HHV(HIGH,4),1),POINTDOT,COLORMAGENTA;
 KX:DRAWLINE(LOW<=LLV(LOW,20),LOW,HIGH>=HHV(HIGH,20),LLV(LOW,4),1),POINTDOT,COLORWHITE;
 STICKLINE(CURRBARSCOUNT=1,G0,G0,100,5),COLORYELLOW;
 STICKLINE(CURRBARSCOUNT=1,D0,D0,100,5),COLORYELLOW;
 STICKLINE(CURRBARSCOUNT=1,GO0,GO0,100,5),COLORMAGENTA;
 STICKLINE(CURRBARSCOUNT=1,DO0,DO0,100,5),COLORMAGENTA;

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

股票公式分类

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