VERTLINE(HOUR=15),POINTDOT,color4E7E2A;
MA5:MA(CLOSE,5),colorFFFF;
DRAWICON(CROSS(REF(ZIG(3,3),1),ZIG(3,3)),HIGH*1.008,'高减2');
MA120:MA(CLOSE,120),LINETHICK2,colorFFFF00;
MA250:MA(CLOSE,250),LINETHICK2,colorFF;
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(买线>=卖线,LOW,HIGH,0.1,1),colorFF;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorFF;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),color148A14;
STICKLINE(买线<卖线,LOW,HIGH,0.1,1),color148A14;
指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK2,colorFFFF;
界:MA(CLOSE,27),LINETHICK2,colorFF0000;
DRAWTEXT(CROSS(指导线,界),界,' ̄ ̄'),PXUP6,colorFF;
DRAWTEXT(CROSS(界,指导线),界,' ̄ ̄'),ALIGN1,PXUP6,colorFF00;
MA18:=EMA(CLOSE,18);
加码价:=((CLOSE-REF(MA18,1))/18+MA18)*1.004;
加码条件:=CROSS(CLOSE,加码价) AND 加码价>REF(加码价,1);
黄K加码:IF(加码条件,LOW,HIGH),POINTDOT,colorFF;
STICKLINE(加码条件,HIGH,LOW,0,0),LINETHICK2,colorFFFF;
STICKLINE(加码条件,OPEN,CLOSE,8,0),LINETHICK2,colorFFFF;
F:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
今小昨:=IF(CLOSE
S1:=今小昨;