VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
小心: 3.2,COLORFF0000,LINETHICK2;
风险: 3.5,COLORYELLOW,LINETHICK2;
动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
STICKLINE(动力线>REF(动力线,1) ,动力线+0.5 ,动力线,0 ,1),COLORRED;
STICKLINE(动力线<=REF(动力线,1) ,动力线-0.5 ,动力线,0 ,1),COLOR00FF00;
底部:0.2,COLOR00FF00,LINETHICK2;
关注:0.5,COLOR7B91FF,LINETHICK2;
{- }
DRAWICON( FILTER(crOSS(动力线,关注),20),动力线+0.02 ,1);
DRAWICON( FILTER(CROSS(风险,动力线),20),动力线+0.02,2);
DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);
DRAWICON( FILTER(CROSS(小心,动力线),20),动力线+0.02,2);
强弱分界线:1.75,LINETHICK1,COLOR70DB93;
生命线:MA(动力线,3),COLORRED,LINETHICK3;
IF(生命线>=REF(生命线,1),生命线,DRAWNULL),COLORRED,LINETHICK3;
IF(生命线<=REF(生命线,1),生命线,DRAWNULL),COLORGREEN,LINETHICK3;
短:IF(CROSS(动力线,底部)OR CROSS(动力线,关注),0.2,0);