FX1:=STRCAT(HYBLOCK,1);
FX2:=STRCAT(FX1,DYBLOCK);
FX3:=STRCAT(FX2,1);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(FX3,GNBLOCK)),COLORYELLOW;
{
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
MA30:MA(CLOSE,30),COLORGREEN;
MA60:MA(CLOSE,60),COLORCCCCCC;
MA120:MA(CLOSE,120),COLORBLUE;
}
ZT:=C/REF(C,1)>1.0993 AND C=H;
STICKLINE(ZT,O,C,1.5,0),COLORYELLOW;
DT:=C/REF(C,1)<0.913 AND C=L;
STICKLINE(DT,O,C,3,0),COLORGREEN;
FX4:=MA(CLOSE,5);
牛熊线:HHV(FX4,90),COLORFF8000,LINETHICK3;
牛股线:MA(HIGH,30)*(1+15/100),COLOR00B7FF,LINETHICK2;
回归线:EMA(SLOPE(CLOSE,21)*20+CLOSE,42),POINTDOT,COLORMAGENTA,LINETHICK4;
FX5:=ABS((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20)/EMA(CLOSE,20));
FX6:=DMA((2.15*CLOSE+LOW+HIGH)/4,FX5);
妖股线:MA(CLOSE,25)+MA(CLOSE,25)*20/100,COLORRED,LINETHICK2;
底托线:LLV(HIGH,30),COLOR9932CD,LINETHICK2;
FX7:=CLOSE*VOL;
FX8:=EMA((EMA(FX7,3)/EMA(VOL,3)+EMA(FX7,6)/EMA(VOL,6)+EMA(FX7,12)/EMA(VOL,12)+EMA(FX7,24)/EMA(VOL,24))/4,13);
FX9:=SMA(HIGH,21,2)*1.05;
FX10:=MA(CLOSE,118);
FX11:=SMA(HIGH,21,2)*1.05;
FX12:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
FX13:=SMA(FX12,3,1);
FX14:=SMA(FX13,3,1);
FX15:=3*FX13-2*FX14;
FX16:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
FX17:=SMA(FX16,3,1);
FX18:=SMA(FX17,3,1);
FX19:=3*FX17-2*FX18;
FX20:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
FX21:=SMA(FX20,3,1);
FX22:=SMA(FX21,3,1);
FX23:=3*FX21-2*FX22;
顶压线:IF(CROSS(FX23,FX15),HIGH,REF(HIGH,BARSLAST(CROSS(FX23,FX15)))),COLORGREEN,LINETHICK2;
FX24:=(3*CLOSE+LOW+OPEN+HIGH)/6;
FX25:=(20*FX24+19*REF(FX24,1)+18*REF(FX24,2)+17*REF(FX24,3)+16*REF(FX24,4)+15*REF(FX24,5)+14*REF(FX24,6)+13*REF(FX24,7)+12*REF(FX24,8)+11*REF(FX24,9)+10*REF(FX24,10)+9*REF(FX24,11)+8*REF(FX24,12)+7*REF(FX24,13)+6*REF(FX24,14)+5*REF(FX24,15)+4*REF(FX24,16)+3*REF(FX24,17)+2*REF(FX24,18)+REF(FX24,20))/210;
FX26:=SMA(CLOSE,3,1);
FX27:=SMA(CLOSE,5,1);
FX28:=2*(FX26-FX27);
神龙线:EMA(FX25,13),COLORFFCC00,LINETHICK3; |