颜色柱就是买卖点。
用心领悟,你会有意想不到的收获。
地:-10,COLOR7070DB;
ffd:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
a:=EMA(ffd,3,1);
b:=EMA(a,2,1);
e:=3*a-2*b;
LOWV:=LLV(LOW,8);
HIGHV:=HHV(HIGH,8);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
上:=EMA(RSV,3);
下:=EMA(上,2);
RXV=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
k:=SMA(RxV,3,1);
d:=SMA(k,2.5,1);
进:k,colormagenta;
退:d,colorgreen;
DRAWBAND(d,RGB(10,200,10),k,RGB(200,10,10));
DRAWICON(CROSS(k,d),k,1);
DRAWICON(CROSS(d,k),d,2);
A1:=BARSLAST(REF(CROSS(e,b),1));
底:=REF(CLOSE,A1+1)>CLOSE AND e>REF(e,A1+1) AND CROSS(e,b);
A2:=BARSLAST(REF(CROSS(b,e),1));
顶:=REF(CLOSE,A2+1)<CLOSE AND REF(b,A2+1)>b AND CROSS(b,e);
DRAWTEXT(CROSS(96,e) AND (e<=80),75,'回'),COLORFF6EC7;
DRAWTEXT(CROSS(e,1) AND (e<=20),15,'反'),COLORFF8855 ;
DRAWTEXT(底>0,5,'底'),COLORB0C4DE;
DRAWTEXT(顶>0,98,'顶'),COLOR0099FF;
财:=CROSS(a,50) AND CROSS(b,40);
STICKLINE(财,71,19,12,0),COLORFF8855;
DRAWTEXT(财,46,' 财'),coloryellow;
财5:=CROSS(a,50) AND CROSS(b,50) AND CROSS(上,22);
STICKLINE(财5,71,19,12,0),COLORFF0088;
DRAWTEXT(财5,46,' 财'),coloryellow;
财6:=CROSS(a,50) AND CROSS(b,50) AND CROSS(上,35);
STICKLINE(财6,71,19,12,0),COLORFF0088;
DRAWTEXT(财6,46,' 财'),coloryellow;
财7:=CROSS(a,50) AND CROSS(b,50) AND CROSS(上,45);
STICKLINE(财7,71,19,12,0),COLORFF0088;
DRAWTEXT(财7,46,' 财'),coloryellow;
财8:=CROSS(a,50) AND CROSS(b,50) AND CROSS(上,55.3);
STICKLINE(财8,71,19,12,0),COLORFF0088;
DRAWTEXT(财8,46,' 财'),coloryellow;
|
