同花顺K线黄金分割源码副图
-
相关简介:买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); STICKLINE(买线=卖线,LOW,HIGH,0,1),colorred; STICKLINE(买线=卖线,CLOSE,OPEN,3.2,1),colorred; STICKLINE(买线卖线,LOW,HIGH,0,1),colorgreen; STICKLINE(买线卖线,CLOSE,OPEN,3.2,1),colorgreen;
-
文章来源:股海网作者:股海网发布时间:2016-07-04浏览次数:
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(买线>=卖线,LOW,HIGH,0,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,3.2,1),colorred;
STICKLINE(买线<卖线,LOW,HIGH,0,1),colorgreen;
STICKLINE(买线<卖线,CLOSE,OPEN,3.2,1),colorgreen;
STICKLINE(BU,OPEN,CLOSE,3.2,0),coloryellow;
STICKLINE(SEL,OPEN,CLOSE,3.2,0),colorblue;
主力:=EMA(CLOSE,10),colorred;散户:=EMA(CLOSE,5),coloryellow;绿降:=(46.18*EMA
(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,colorgreen,LINETHICK1;
操盘:=MA(CLOSE,9),COLORFF9C65,LINETHICK2;界点:=MA(CLOSE,20);
AH:HHV(H,100);
AL:LLV(L,100);AHL:=AH-AL;A23:AL+AHL*0.236,colorblue;
A38:AL+AHL*0.382,colorgreen;
A61:AL+AHL*0.618,COLORFF9CFF;
A76:AL+AHL*0.764,COLORF0F000;
A77:AL+AHL*0.500,colorred;
DRAWTEXT(ISLASTBAR,AH,'100% '),COLORAAAAAA;
DRAWTEXT(ISLASTBAR,A76,'0.764% '),COLORAAAAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A77,'0.500% '),COLORAAAAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A61,'0.618% '),COLOR00AAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A38,'0.382% '),COLOR00AAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A23,'0.236% '),COLORAAAAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,AL,'最低 '),COLORAAAAAA,LINETHICK2;
DRAWICON(BU,L*0.99,1);
DRAWICON(SEL,H*1.0,2);