{BDWH-百度文华/修改}
顶:=85; 中:=50; 底:=20;
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CC:SMA(VAR1,20,1),COLORRED;
CC1:SMA(CC,5,1),COLORGREEN;
STICKLINE(CC>CC1,CC,CC1,1,0),COLORRED;
STICKLINE(CC1>CC,CC,CC1,1,0),COLORGREEN;
出击:IF((CROSS(CC,CC1) AND (CC1<顶)),40,0),COLORRED;
跑出:IF(CCCC1,40,80);
DRAWICON(CROSS(CC,CC1) AND (CC1<顶),20,1);
DRAWICON(CCCC1,80,2);
DRAWICON(CROSS(CC1,CC),50,15);
删除了多余的字码,保持了原公式的一致性。
{个人看法,仅供参考}