通达信大嘿马 源码
LC:=REF(CLOSE,1);{股票指标网}
RSI:=((SMA(MAX((CLOSE – LC),0),3,1) / SMA(ABS((CLOSE – LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
IF(MA15>REF(MA15,1),MA15,DRAWNULL),COLORWHITE,LINETHICK2,CROSSDOT;
IF(MA15<REF(MA15,1),MA15,DRAWNULL),COLORCYAN,LINETHICK2,CROSSDOT;
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),’底背离’),COLORWHITE;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),’顶背离’),COLOR00FFFF;
买线:=EMA(C,2);{股票指标网}
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORLIMAGENTA;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLORLIMAGENTA;
STICKLINE(买线>=卖线,CLOSE,OPEN,0.5,0),COLORLIMAGENTA;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLORLIMAGENTA;
STICKLINE(买线>=卖线,CLOSE,OPEN,1.8,0),COLORLIMAGENTA;
STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLORCYAN;
STICKLINE(买线<卖线,CLOSE,OPEN,0.5,0),COLORCYAN;
STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLORCYAN;
STICKLINE(买线<卖线,CLOSE,OPEN,1.8,0),COLORCYAN;
STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORCYAN;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,2,0),COLORWHITE;
{涨跌停K线}
STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,2.8,0),COLORYELLOW;
STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,2.8,0),COLORWHITE;
DRAWICON(IF(HHV(SUM(IF(C<WMA(C,2),V,0),4)/SUM(IF(C>WMA(C,2),V,0),4),5)>4 AND CROSS(2,SUM(IF(C<WMA(C,2),V,0),4)/SUM(IF(C>WMA(C,2),V,0),4)) AND C>=O,1,0),L*0.98,11);
通达信卖出预警2公式
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/189790.html,转载请注明出处。