通达信红就牛主图指标公式【源码分享】
2020-07-02原创 编 辑:掌上指标
电脑版效果展示:
手机版效果展示:
指标源码:
GD:=HHV(HIGH,10);
DD:=LLV(LOW,10);
XJ:=GD*DD;
KF:=SQRT(XJ),COLORGREEN,LINETHICK3;
C1:=C>=KF;
C2:=C<KF;
AA:=C1>=C2 ;
BB:=C2>C1 ;
STICKLINE(AA,C,O,3.2,0),COLORRED;
STICKLINE(AA,H,L,0,0),COLORRED;
STICKLINE(BB,C,O,3.2,0),COLOR00FF00;
STICKLINE(BB,H,L,0,0),COLOR00FF00;
STICKLINE(AA,CLOSE,OPEN,3.2,0),COLOR000099;
STICKLINE(AA,CLOSE,OPEN,2.6,0),COLOR0000AA;
STICKLINE(AA,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(AA,CLOSE,OPEN,1.8,0),COLOR0000DD;
STICKLINE(AA,CLOSE,OPEN,1.3,0),COLOR0000FF;
STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(BB,CLOSE,OPEN,3.2,0),COLOR777700;
STICKLINE(BB,CLOSE,OPEN,2.6,0),COLORAAAA00;
STICKLINE(BB,CLOSE,OPEN,2.2,0),COLORBBBB00;
STICKLINE(BB,CLOSE,OPEN,1.8,0),COLORDDDD00;
STICKLINE(BB,CLOSE,OPEN,1.3,0),COLOREEFF00;
STICKLINE(BB,CLOSE,OPEN,0.5,0),COLORCYAN;
QSX:KF,COLOR00FFFF,LINETHICK3;
IF(C>QSX AND QSX>=REF(QSX,1),QSX ,DRAWNULL),LINETHICK3,COLORRED;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCIA:=EMA(EMA(EMA(CCI,2),2),2);
CCIB:=EMA(EMA(EMA(CCI,3),2),2);
X:=(CROSS(CCIA,CCIB) OR (CCIA>=CCIB))
AND CCIA>=-101 AND CCIA>=REF(CCIA,1)
AND REF(CCIA,1)<-101 ;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
K1:= EMA(EMA(EMA(K,2),2),2);
D1:= EMA(EMA(EMA(D,2),2),2);
J1:= EMA(EMA(EMA(J,2),2),2);
Y:= J1>REF(J1,1) ;
YJ:=X AND Y ;
DRAWICON(YJ,(LOW * 0.98),13);
DRAWTEXT(YJ,(LOW * 0.97),'买'),COLORYELLOW;
STICKLINE(买入时机, 0,65, 0.2, 0),COLORFF00FF;
更多资讯请关注下方掌上指标公众号:
我们的服务:
1、指标转换 --- 根据客户提供的电脑板或者手机版技术指标源码,转换成自己的手机软件使用。
2、指标编写 --- 按照客户定制指标时“提供的编写要求”,制作技术指标。
3、指标修改 --- 按照客户“提供的修改要求”,修改技术指标