P能量5:LLV(C,5),COLORGRAY;
P能量10:LLV(C,10),COLORBLUE;
P能量20:LLV(C,20),COLORMAGENTA;
{ _通达信指标公式}
合力线:FORCAST(C,10),COLOR00FF00,LINETHICK2;
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 12);
Y0:SMA(RSV,7,1), COLORRED;
Y1:SMA(SMA(RSV,7,1),3,1),COLORYELLOW;
Y2:(((CLOSE/COST(13))<=0.8)*10),COLORMAGENTA;
Y3:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORGREEN;
DRAWICON(crOSS(18,Y0) AND Y1<21,10,1);