{长短趋势 【副图】} VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); 趋势1: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),COLORCYAN; 趋势2: EMA(趋势1,3),COLORGREEN,DOTLINE; IF(趋势1>REF(趋势1,1),趋势1,DRAWNULL),COLORRED,,LINETHICK1; IF(趋势2>REF(趋势2,1),趋势2,DRAWNULL),COLORMAGENTA,LINETHICK1; A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); 黑马线:=EMA(A1,5),COLOR6600FF,LINETHICK1; A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100; A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; 趋势快: (MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),COLORFFA953,DOTLINE; IF(趋势快>REF(趋势快,1),趋势快,DRAWNULL),COLORYELLOW,DOTLINE; 底部:10,COLORGRAY; 卖出线:90,COLORGRAY; |
