D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J《20,30,0);
主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);
散戶:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
動(dòng)能趨勢線:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4);
DRAWTEXT(CROSS(動(dòng)能趨勢線,70),HIGH*1.02,‘險(xiǎn)’),COLORGREEN;
DRAWTEXT(CROSS(動(dòng)能趨勢線,80),HIGH*1.02,‘減’),COLOR00FF00;
DRAWTEXT(CROSS(動(dòng)能趨勢線,87.5),HIGH*1.02,‘出局’),COLORWHITE;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J《20,LOW,‘短進(jìn)’),COLORFF00FF;
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)