VAR2:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100; VAR3:=SMA(SMA(VAR2,3,1),6,5)/28.57; VAR4:=EMA(VAR3,5); VAR5:=3*VAR3-2*VAR4; AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O; var6:=(2*CLOSE+HIGH+LOW)/4; var7:=LLV(LOW,13); var8:=HHV(HIGH,13); var9:=EMA((var6-var7)/(var8-var7)*100,13); varA:=EMA(0.667*REF(var9,1)+0.333*var9,1); 多:var9,colorred,POINTDOT; 空: EMA(0.382*REF(var9,2)+0.618*var9,12),COLOR00FF00; STICKLINE(var9>varA,var9,varA,6,0), colorred; STICKLINE(var9<=varA,var9,varA,6,0), COLORFFCC66; STICKLINE(AA,0,40,19.5,1),coloryellow; STICKLINE(AA,16,39.5,18,0),colorgreen; STICKLINE(AA,1,16,18,0),colorgreen; STICKLINE(AA,56.5,40,6,0),coloryellow; STICKLINE(AA,40,49.5,6,0),coloryellow; STICKLINE(AA,57,60,6,1),colorred; STICKLINE(AA,61,64,6,1),colorred; STICKLINE(AA,65,68,6,1),colorred; STICKLINE(AA,69,75,8,0),colorffcccc; DRAWTEXT(AA,85,'干杯'),coloryellow; |