把金昌九老师的CCI改成通达信的_通达信研究版破解

MACD选股的公式

MACD选股的公式

黑马股票

编写条件:

{DDI-J} INPUT:N(18,2,100); DRAWGBKlast(DATE>900101,strip(RGB(0,0,160),RGB(0,0,40),0));100,DOTLINE;-100,DOTLINE; TYP := (OPEN+HIGH + LOW + 2*CLOSE)/5; CCI:EMA(EMA(EMA((TYP-WMA(TYP,N))/(0.015*AVEDEV(TYP,N)),4),6),8),colorFF9900; Xl:=slope(CCI,3)>0; PARTLINE(CCI,Xl,rgb(255,0,0)),LINETHICK3,LAYER2; FILLRGN(CCI,100,CCI>100,RGB(80,0,80)),LAYER4; FILLRGN(CCI,-100,CCI<-100,RGB(60,150,0)),LAYER4; {大盘CCI} TYPD := (INDEXO+INDEXH + INDEXL + 2*INDEXC)/5; 大盘CCI:EMA(EMA(EMA((TYPD-WMA(TYPD,N))/(0.015*AVEDEV(TYPD,N)),4),6),8),color00FFFF,DOTLINE; 大盘Xl:=slope(大盘CCI,3)>0; PARTLINE(大盘CCI,(大盘Xl)-1,rgb(60,200,60),1,rgb(200,60,60) ),POINTDOT,LINETHICK4; XG:IF(CROSS(CCI,REF(CCI,1)) AND CCI<-75,-60,-100); Var12:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100; 能量线:SMA(Var12,3,1)*(-1)+100,colorRED,linethick0; KNX:=SMA(Var12,3,1); MK:=MA(KNX,18); XG买:IF(KNX>45 AND CROSS(MK , KNX),-50,-100),COLOR0077ff,LINETHICK1; DRAWRECTABS(3,2 ,170 ,70 , rgb(0,20,20)),color00FF00,LINETHICK1,LAYER2; DRAWTEXTABS(10,5,'('+STKLABEL+') '+ STKNAME+''),Color00FFFF,LINETHICK2; DRAWTEXTABS(5,20,'总股本: '+NUMTOSTRn(FINANCE2(35)/10000,1)+'亿股'),Color0088ff,LINETHICK2; DRAWTEXTABS(5,35,'流通A股: '+NUMTOSTRn(FINANCE2(37)/10000,1)+'亿股'),Color00ff00,LINETHICK2; DRAWTEXTABS(5,50,'市盈率: '+NUMTOSTRn(DYNAINFO(39),1)+'倍'),Color8800ff,LINETHICK2;(

编写方法:

 {DDI-J}

STICKLINE(50,100,-100,15,0),COLOR650000;
N:=18;
100,DOTLINE;
-100,DOTLINE;
TYP := (OPEN+HIGH + LOW + 2*CLOSE)/5;
CCI:EMA(EMA(EMA((TYP-WMA(TYP,N))/(0.015*AVEDEV(TYP,N)),4),6),8),COLORFF9900;
XL:=SLOPE(CCI,3)>0;
IF(XL,CCI,DRAWNULL),COLORRED,LINETHICK3;
STICKLINE(CCI>100,100,CCI,5,0),COLOR500050;
STICKLINE(CCI<-100,-100,CCI,5,0),COLOR00963C;
{大盘CCI}
TYPD := (INDEXO+INDEXH + INDEXL + 2*INDEXC)/5;
大盘CCI:EMA(EMA(EMA((TYPD-WMA(TYPD,N))/(0.015*AVEDEV(TYPD,N)),4),6),8),COLOR00FFFF,CIRCLEDOT;
大盘XL:=SLOPE(大盘CCI,3)>0;
IF((大盘XL)-1,大盘CCI,DRAWNULL),COLOR00FF00,CIRCLEDOT;
XG2:IF(CROSS(CCI,REF(CCI,1)) AND CCI<-75,-60,-100);
XG:IF(CROSS(CCI,REF(CCI,1)) AND CCI<-75,-60,-100),POINTDOT,LINETHICK4;
VAR12:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;
能量线:SMA(VAR12,3,1)*(-1)+100,COLORRED,LINETHICK0;
KNX:=SMA(VAR12,3,1);
MK:=MA(KNX,18);
XG买:IF(KNX>45 AND CROSS(MK , KNX),-50,-100),COLOR0077FF,LINETHICK1;
总股本(亿):=FINANCE(1)/100000000;
流通股本:=FINANCE(7)/100000000;
市盈率:=DYNAINFO(39);
DRAWTEXT_FIX(1,0.0,0.2,0,'总股本(亿)'),COLOR0089FF;
DRAWNUMBER_FIX(1,0.1,0.2,0,总股本(亿)),COLOR0080FF;
DRAWTEXT_FIX(1,0.0,0.3,0,'流通股本(亿)'),COLORGREEN;
DRAWNUMBER_FIX(1,0.1,0.3,0,流通股本),COLORGREEN;
DRAWTEXT_FIX(1,0.0,0.4,0,'市盈率(倍)'),COLORFF00FF;
DRAWNUMBER_FIX(1,0.1,0.4,0,市盈率),COLORFF00FF;
DRAWTEXT_FIX(1,0,0.1,0,'所属板块:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.05,0.1,0,HYBLOCK),COLOR0080FF;
DRAWTEXT_FIX(1,0.10,0.1,0,DYBLOCK),COLOR0080FF;

{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}

【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!

是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。

把压力支撑指标改成通达信的

把压力支撑指标改成通达信的

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu