HJ_1:=EMA(CLOSE,1);
HJ_2:=EMA(CLOSE,3);
主力:EMA(CLOSE,5),COLORRED,LINETHICK2;
HJ_3:=STRCAT(HYBLOCK,3);
HJ_4:=STRCAT(HJ_3,DYBLOCK);
HJ_5:=STRCAT(HJ_4,3);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(HJ_5,GNBLOCK)),COLOR00C0C0;
HJ_6:=CLOSE;
HJ_7:=MA(CLOSE,50);
主升线:HJ_7+2*STD(CLOSE,50),COLORGREEN;
HJ_8:=HJ_7-2*STD(CLOSE,50);
强势:EMA(CLOSE,30)+EMA(CLOSE,30)*6/100,COLORYELLOW,LINETHICK2;
STICKLINE(CROSS(主升线,主力),HJ_8,主升线,2,0),COLORGREEN;
STICKLINE(CROSS(主力,主升线),-HJ_8,主升线,3,0),COLORRED;
HJ_9:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(HJ_9>9.8,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(HJ_9<(-9.8),OPEN,CLOSE,2,0),COLORGREEN;
{-----------------------------------}