个股:EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),COLORRED;
大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORGREEN;
A1:=AMOUNT/VOL/100;
A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
A3:=SUM(AMOUNT,15)/A1/100;
A4:=SUM(AMOUNT,30)/A1/100;
B1:=DMA(A2,VOL/A3);
B2:=DMA(A2,VOL/A4);
力度:(CLOSE-B1)/B1*100,COLORYELLOW,NODRAW;
STICKLINE(力度>2.5,0,力度,3,0),COLORRED;
50,DOTLINE; 80,DOTLINE; 20,DOTLINE;
多:=IF(C>REF(C,1),V,0)/100;
空:=IF(C<REF(C,1),V,0)/100;
正:=EMA(MA(多,3),3),COLORWHITE,LINETHICK2;
负:=EMA(MA(空,3),10),COLORGREEN,LINETHICK2;
进:=正>0 AND 正>REF(正,1);
进天数:=BARSLAST(进=0);
小买:进天数=1;
强买:力度>0 AND 个股>大盘 AND 小买;
力度小买:力度>0 AND 小买;
个股小买:个股>大盘 AND 小买;
个股力度:=力度>0 AND 个股>大盘;
个股力度天数:=BARSLAST(个股力度=0);
个股力度买:个股力度天数=1;
DRAWICON(力度小买,30,1);
DRAWTEXT(个股力度买,70,'买');