N:=2;N2:=2;DD:=8;连续上涨:=-30;
极品短线:REF(CLOSE, 1)*(1-N/100);
选股:REF(CLOSE, 1)*(1+N2/100);
指标公式:100, POINTDOT;
jjjkk1:0, POINTDOT;
cccc2:=(CLOSE-LLV(LOW, 4))/(HHV(HIGH, 4)-LLV(LOW, 4))*100;
cccc3:=SMA(cccc2, 3, 1);
cccc4:=CLOSE<=1*REF(CLOSE, 1);
cccc5:=SMA(cccc3, 3, 1);
cccc1:3*cccc3-2*cccc5;
cccc6:=cccc1>=1*REF(cccc1, 1);
cccc7:=cccc1<=1*REF(cccc1, 1);
jjjkk2:MA(cccc1, 3);
cccc8:=jjjkk2<=1*REF(jjjkk2, 1);
cccc9:=(CLOSE-LLV(LOW, 45))/(HHV(HIGH, 45)-LLV(LOW, 45))*100;
cccc10:=(CLOSE-REF(OPEN, 29))/REF(OPEN, 29)*100;
cccc11:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
jjjkk3:SMA(cccc9, 3, 1), COLORRED;
jjjkk4:SMA(jjjkk3, 3, 1), COLORGREEN;
jjjkk5:50, POINTDOT, COLORWHITE;
STICKLINE(cccc1>jjjkk2 AND cccc6, cccc1, jjjkk2, 3, 1), COLORRED;
STICKLINE(cccc1>jjjkk2 AND cccc7 AND jjjkk2>50, cccc1, jjjkk2, 7, 0), COLORYELLOW;
STICKLINE(cccc7, cccc1, jjjkk2, 3, 0), COLORFFFF66;
STICKLINE(CLOSE>OPEN AND cccc6, cccc1, jjjkk2, 3, 1), COLORRED;
cccc12:=MA(cccc1, 5);
cccc13:=MA(cccc1, 10);
DRAWTEXT(CROSS(jjjkk4, jjjkk3) AND jjjkk4>70, 100, ' '), COLORWHITE;
DRAWTEXT(CROSS(jjjkk3, jjjkk4) AND jjjkk4<DD AND cccc10<连续上涨 AND cccc11>1, 0, ''), COLORFFFF66;