通达信交流学习吧 关注:57贴子:235
  • 2回复贴,共1

理想金钻指标评测系列 股圣主图指标 附指标源码

只看楼主收藏回复

理想金钻指标评测系列 股圣主图指标 附指标源码
{股圣主图指标源码}
AA1:LLV((2*C+H+L)/4,21),LINETHICK2,COLORRED;
A2:HHV((2*C+H+L)/4,21),LINETHICK2,COLORFF0080;
年:=YEAR,NODRAW;
月:=MONTH,NODRAW;
星期:=WEEKDAY,NODRAW;
日1:=DATETODAY(DATE);
上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT);
自然日:=日1-DATETODAY(上市日)+1;
ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1)OR TOTALBARSCOUNT-CURRBARSCOUNT=0;
本周第几天:=BARSLAST(ZB)+1;
本月第几天:=BARSLAST(年*100+月!=REF(年*100+月,1))+1;
MA1:=REF(C,本周第几天);
MA2:=REF(MA1,本周第几天);
MA3:=REF(MA2,本周第几天);
MA4:=REF(MA3,本周第几天);
MA5:=REF(MA4,本周第几天);
MA6:=REF(MA5,本周第几天);
MA7:=REF(MA6,本周第几天);
MA8:=REF(MA7,本周第几天);
MA9:=REF(MA8,本周第几天);
十周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10;
出击突破:REFDATE(十周价,DATE),COLORYELLOW,DOTLINE;
DRAWTEXT(ISLASTBAR,出击突破,' 出击突破'),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.20,0,0,DYBLOCK)COLOR00FFFF;
DRAWKLINE(H,O,L,C);
DRAWKLINE(H,IF(C<=REF(C,1),REF(C,1),DRAWNULL),L,IF(C<=REF(C,1),C,DRAWNULL));
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),3.05,0),COLORBLUE;
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),2.2,0),COLORFF7700;
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),1.5,0),COLORFF9900;
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),0.5,0),COLORFFBB00;
DRAWKLINE(H,IF(C>REF(C,1),REF(C,1),DRAWNULL),L,IF(C>REF(C,1),C,DRAWNULL));
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),3.05,0),COLOR000099;
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),2.2,0),COLOR0000CC;
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),1.5,0),COLOR0000FF;
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),0.5,0),COLORCC66FF;
STICKLINE(V/REF(V,1)>2 AND CLOSE>=OPEN,IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),1,0),COLORYELLOW;


1楼2022-08-06 15:01回复
    赞赞赞


    来自手机贴吧2楼2022-08-06 23:24
    回复
      通达信交流学习


      来自Android客户端3楼2022-08-06 23:35
      回复