通达信蓝色海底+黄金分割线主图指标公式
2020/5/7 18:28:33
M1:=5;M2:=10;M3:=20;
MA5:MA(CLOSE,M1);
MA10:MA(CLOSE,M2);
MA20:MA(CLOSE,M3),COLORBLUE;
STICKLINE(C>=O,C,O,3,0),COLOR000045;
STICKLINE(C>=O,C,O,2.5,0),COLOR000065;
STICKLINE(C>=O,C,O,2,0),COLOR000085;
STICKLINE(C>=O,C,O,1.5,0),COLOR0000A5;
STICKLINE(C>=O,C,O,1,0),COLOR0000C5;
STICKLINE(C>=O,C,O,0.5,0),COLOR0000E5;
STICKLINE(C>=O,H,L,0,0),COLOR0000F5;
STICKLINE(C<O,C,O,3,0),COLOR656500;
STICKLINE(C<O,C,O,2.5,0),COLOR757500;
STICKLINE(C<O,C,O,2,0),COLOR858500;
STICKLINE(C<O,C,O,1.5,0),COLOR959500;
STICKLINE(C<O,C,O,1,0),COLORA5A500;
STICKLINE(C<O,C,O,0.5,0),COLORB5B500;
STICKLINE(C<O,H,L,0,0),COLORC5C500;
KDJ9底:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K9底:=SMA(KDJ9底,3,1);
D9底:=SMA(K9底,3,1);
J9底:=3*K9底-2*D9底;
{买涨信号,蓝色柱子}
STICKLINE(K9底<30,OPEN,CLOSE,3,0),COLORFF0000;
STICKLINE(K9底<30,OPEN,CLOSE,2.5,0),COLORFF1100;
STICKLINE(K9底<30,OPEN,CLOSE,2,0),COLORFF2200;
STICKLINE(K9底<30,OPEN,CLOSE,1.5,0),COLORFF3300;
STICKLINE(K9底<30,OPEN,CLOSE,1,0),COLORFF4400;
STICKLINE(K9底<30,OPEN,CLOSE,0.5,0),COLORFF5500;
STICKLINE(K9底<30,H,L,0,0),COLORFF6600;
DRAWTEXT_FIX(1,0.01,0.82,0,'蓝色K线消失收实体阳线是可结合其它指标买点介入,股价跌破蓝色信号最低价止损'),COLORMAGENTA;
日:=150;昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:REFDATE(高1,DATE),COLORRED;
一0.809:REFDATE(H1,DATE),COLORYELLOW;
二0.618:REFDATE(H2,DATE),COLORMAGENTA;
三0.500:REFDATE(H3,DATE),COLORWHITE;
四0.382:REFDATE(H4,DATE),COLORGREEN;
五0.191:REFDATE(H5,DATE),COLORYELLOW;
低:REFDATE(低1,DATE),COLORRED;
投股票 网 w ww.tou18.cn
股市公式下载推荐