黄色梯形指示买入时机。逃顶时点可适当减仓做空
趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
买点准备: IF(趋势线<=20,50,0);
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波: VAR3;
段: VAR4;
VAR7:=CROSS(VAR3,趋势线) AND VAR3>60;
STICKLINE(FILTER(VAR7,5)=1,100,120,1,0),coloryellow ;
DRAWTEXT(FILTER(VAR7,5)=1,110,'逃顶'),LINETHICK3 ,coloryellow;
VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;
VAR11:=(HHV(HIGH,5)-LLV(LOW,5));
VAR12:=(HHV(HIGH,9)-CLOSE);
VAR13:=(CLOSE-LLV(LOW,9));
VAR14:=VAR12/VAR11*100-70 ;
VAR15:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR16:=(2*C+H+L)/4;
VAR17:=SMA((VAR13/VAR11*100),3,1);
VAR18:=LLV(LOW,34);
VAR19:=SMA(VAR17,3,1)-SMA(VAR14,9,1);
VAR10:= IF(VAR19>100,VAR19-100,0);
VARA:=HHV(HIGH,34);
顶线:100;
主力: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2;
见底信号:1, LINETHICK2,colorred ;
AO:SMA(VAR1,5,1)-SMA(VAR1,34,1),COLOR6699CC;
AC:SMA((AO-SMA(AO,5,1)),5,1),COLOR6699CC;
VAR1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1C:=SMA((SMA(VAR1B,4,1)-50)*2,3,1);
STICKLINE(AO>REF(AO,1) AND AC>REF(AC,1) AND VAR1C>REF(VAR1C,1) OR VAR1C=REF(VAR1C,1),0,VAR1C,1,1),colorred;
ZZ:=AO>REF(AO,1) AND AC>REF(AC,1) AND VAR1C>REF(VAR1C,1) OR VAR1C=REF(VAR1C,1) ;
STICKLINE(VAR1C<REF(VAR1C,1),0,VAR1C,1,1),colorgreen;
DD:=VAR1C<REF(VAR1C,1);
VAR21:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR22:=SMA(ABS(LOW-VAR21),13,1)/SMA(MAX(LOW-VAR21,0),10,1);
VAR23:=EMA(VAR22,10);
VAR24:=LLV(LOW,33);
VAR25:=EMA(IF(LOW<=VAR24,VAR23,0),3);
主力进场:IF(VAR25>REF(VAR25,1),-VAR25,0),COLOR0087F3,NODRAW;
STICKLINE(VAR25>REF(VAR25,1),0,-VAR25,7,0 ),COLOR0087F3;