短线1:=(2*CLOSE+HIGH+LOW)/4;
短线2:=LLV(LOW,34);
短线3:=HHV(HIGH,34);
最短1:=EMA((短线1-短线2)/(短线3-短线2)*100,3);
最短2:=EMA(0.667*REF(最短1,1)+0.333*最短1,2) ;
STICKLINE(CROSS(最短1,最短2),CLOSE,OPEN,10.8,0) ,colorred;
STICKLINE(CROSS(最短2,最短1),CLOSE,OPEN,10.8,0) ,coloryellow;
DRAWTEXT(CROSS(最短1,最短2),LOW,'买'),colorblue;
DRAWTEXT(CROSS(最短2,最短1),HIGH,'卖'),colorwhite;
个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DRAWTEXT(CROSS(个股,9) ,LOW,'黑马'),color00ff00;