通达信猎豹出击副图指标 源码 贴图
VAR1:=IF(CLOSE REF(CLOSE,1),VOL,0);
VAR2:=IF(CLOSE REF(CLOSE,1),VOL,0);
SH:SUM(VAR1,13),NODRAW;
UP:SUM(VAR2,13),NODRAW;
趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORMAGENTA;
见底线: 10,LINETHICK2,COLORYELLOW;
准备抄底: IF(趋势线 =10,50,0),LINETHICK1,COLORRED;
DRAWTEXT(CROSS(准备抄底,8),55,'准备'),COLOR00FF00,COLORRED;
猎豹出击: IF(CROSS(趋势线,见底线),82,0),LINETHICK2,COLORGREEN;
DRAWICON(猎豹出击 0,100,13),COLORYELLOW;
DRAWTEXT(CROSS(猎豹出击,8),89,'猎豹出击'),COLOR00FF00,COLORGREEN;