以下是同花顺周制作买卖点提示 提示只作参考

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,CulorFFffFF;
界: MA(CLOSE,27),linethick1,Culor00FFFF;
 BU:=CROSS(指导线,界);
SEL:=CROSS(卖线,买线);
DRAWTEXT(bu,LOW*0.989,’买’),colorred,linethick3;
 DRAWTEXT(bu,LOW,”),Culor208FFF,LINETHICK3;
 DRAWTEXT(sel,HIGH,”),CulorFFFF00,LINETHICK3;
 DRAWTEXT(sel,HIGH*1.0175,’卖’),colorffff00,linethick3;
 STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorred;
 STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),color0000aa;
 STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),color0000cc;
 STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),color0000cc;
 STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),color0000ee;
 STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),coloraaaa00;
 STICKLINE(买线<卖线,CLOSE,OPEN,4,0),colorbbbb00;
 STICKLINE(买线<卖线,CLOSE,OPEN,3,0),colorcccc00;
 STICKLINE(买线<卖线,CLOSE,OPEN,2,0),coloreeee00;
 STICKLINE(买线<卖线,LOW,HIGH,1,0),colorffff00;
 STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),color00ffff;
 DRAWTEXT(CROSS(指导线,界),界,”),Culorffffff;
 DRAWTEXT(CROSS(界,指导线),界,”),Culor00ffff;
 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;
 G:=95;
 DRAWTEXT(CROSS(J,D),L*0.999,”),Culor00ffff,linethick4;
 DRAWTEXT(CROSS(J,D),L,”),Culor00ffff;
 DRAWTEXT(CROSS(J,G),H*1.005,”),Culorffff00,linethick4;
 DRAWTEXT(CROSS(J,G),H,”),Culorffff00;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。