ZBVAR2:=LLV(LOW,10);
ZBVAR3:=HHV(HIGH,25);
注意风险: 3.2,COLORBLUE;
风险: 3.5,COLORYELLOW;
ZBVAR4:= EMA((CLOSE-ZBVAR2)/(ZBVAR3-ZBVAR2)*4,4);
STICKLINE(ZBVAR4>REF(ZBVAR4,1) ,ZBVAR4 ,REF(ZBVAR4,1),1,0),COLORRED;
STICKLINE(ZBVAR4<=REF(ZBVAR4,1) ,ZBVAR4 ,REF(ZBVAR4,1),1,0),COLOR00FF00;
底部:0.2,COLORC6C600;
关注:0.5,COLORFF75FF;
DRAWICON( FILTER(CROSS(ZBVAR4,关注),10),REF(ZBVAR4,1)-0.3,5);
DRAWICON( FILTER(CROSS(ZBVAR4,底部),10),REF(ZBVAR4,1)-0.3,9);
强弱分界:1.75,COLORGRAY;
生命线:MA(ZBVAR4,3),COLORRED LINETHICK3;
IF(ZBVAR4<REF(ZBVAR4,2) OR ZBVAR4<=REF(ZBVAR4,1),生命线,DRAWNULL),COLORGREEN, LINETHICK3;
短:IF((生命线>REF(生命线,1)) AND (REF(生命线,1)<REF(生命线,2)) AND (生命线<0.6),0.2,0);
DRAWICON( FILTER(CROSS(生命线,注意风险),20),REF(ZBVAR4,1)+0.4,4);
DRAWICON( FILTER(CROSS(生命线,风险),20),REF(ZBVAR4,1)+0.3,15);