VAR1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))*100-70;VAR2:=SMA(VAR1,9,1)+100;VAR3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1)+100;VAR6:=VAR5-VAR2;趋势:= IF(VAR6>45,VAR6-45,VAR6-45);STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),5/3,0),COLOR0000FF;STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),5/3,0),COLOR00FF00;强弱分界:50,POINTDOT,COLORFFFFCC;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);STICKLINE(A1>=REF(A1,1),A1,REF(A1,1),5/3,0),COLORWHITE;STICKLINE(A1<REF(A1,1),A1,REF(A1,1),5/3,0),COLORFF9900;地平线:0,COLOR00FFFF;20,POINTDOT,COLORFFAA66,LINETHICK1;80,POINTDOT,COLORFFAA66,LINETHICK1;白云线:100,COLORFFFF33;V1:=LLV(L,5);V2:=HHV(H,25);V3:=LLV(C,10);V4:=HHV(C,30);VAR2Q:=REF(L,1);VAR3Q:=SMA(ABS(L-VAR2Q),3,1)/SMA(MAX(L-VAR2Q,0),3,1)*100;VAR4Q:=EMA(IF(C*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(L,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(C,58),1,0);VAR8Q:=EMA(IF(L<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;VAR9Q:=IF(VAR8Q>100,100,VAR8Q);STICKLINE(VAR9Q>-120,0,VAR9Q,6/3,1),COLORYELLOW;{//吸筹}AA3:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100-10;AA4:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);DNB:=2;QNB:=21;AA7:=EMA(REF(趋势,1),DNB);{大牛}AA8:=EMA(REF(A1,1),QNB),COLORRED;{//骑牛}生命线:EMA(REF(A1,1),QNB),COLORRED;{//骑牛}DRAWICON(CROSS(趋势,AA7) AND 趋势<40 ,趋势-5,1);DRAWICON(CROSS(AA7,趋势) AND 趋势>60 ,趋势+5,2);DRAWTEXT(A1>AA8 ,130,'●'),COLOR0000FF;{////长线////}DRAWTEXT(A1<AA8 ,-30,'●'),COLORGREEN;{////长线////};