通达信《与时俱进》副图指标公式源码:
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*400; DEA:=EMA(DIFF,9),COLORFFFF00; DRAWBAND(DIFF,RGB(150,0,150),DEA,RGB(0,150,0)); LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100; 卖点雷达:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK1; DRAWTEXT(CROSS(85,RSI1),150,'顶'),COLOR00FF00; STICKLINE(卖点雷达,100,120,2,0),COLOR00FF00; VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100; VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100; VARD:=BARSCOUNT(CLOSE); 买点雷达:(VARB< 20 AND VARC< 25 AND VARD> 50 AND AR<70)*30,LINETHICK1,COLOR0078FF; BT1:=CROSS(RSI1,25);{www.zhibiao123.cn} DRAWTEXT(BT1,-150,'底'),COLOR0000FF; STICKLINE(BT1,-120,-100,2,0),COLOR0000FF; 主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK1,COLOR0000FF; 控盘:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*3; STICKLINE(控盘<0,控盘,0,2,0),COLORFFAA00; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2,0),COLORRED; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2,0),COLOR008800; 散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK1,COLORLIGREEN; BT2:=CROSS(主力,散户) AND 主力<-10; DRAWICON(CROSS(主力,散户) AND 主力<-10,主力,'BUY'); BT:=FILTER(COUNT(BT1 OR BT2,3)>=2,3); STICKLINE(BT,0,50,2,1),COLOR0000FF; DRAWTEXT(BT,-100,'天知底'),COLORGRAY; STICKLINE(BT2,0,20,2,0),COLORFF00FF; DRAWTEXT(BT2,-100,'天知升'),COLORGRAY; 买:IF((CROSS(主力,散户) AND 主力<-10),1,0),LINETHICK1,COLORC87800; 卖:IF(CROSS(85,RSI1),1,0),LINETHICK2,COLOR00C800;
负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/154686.html,转载请注明出处。
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/154686.html,转载请注明出处。