VAR1:=HHV(HIGH,9)-CLOSE/HHV(HIGH,9)-LLV(LOW,9)*100-70;VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=SMA(CLOSE-LLV(LOW,9)/HHV(HIGH,9)-LLV(LOW,9)*100,3,1);差值看图操作:(EMA((VAR2-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13)-EMA(0.667*REF(EMA((VAR2-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13),1)+0.333*EMA((VAR2-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13),2))*25,POINTDOT,COLOR33CC00;STICKLINE( 差值看图操作>=0 ,0 ,差值看图操作 ,1.3,0 ),COLORYELLOW;STICKLINE( 差值看图操作>=0 ,0 ,差值看图操作*0.8 ,1.3,0),COLORFFAA66;STICKLINE( 差值看图操作>=0 ,0 ,差值看图操作*0.6 ,1.3,0),COLORFFBB99;STICKLINE( 差值看图操作>=0 ,0 ,差值看图操作*0.4 ,1.3,0),COLORFFCCCC;STICKLINE( 差值看图操作>=0 ,0 ,差值看图操作*0.2 ,1.3,0),COLORFFDDDD;STICKLINE( 差值看图操作<=0 ,0 ,差值看图操作*1 ,1.3, 0),COLORGREEN;STICKLINE( 差值看图操作<=0 ,0 ,差值看图操作*0.8 ,1.3,0),COLOR33CC00;STICKLINE( 差值看图操作<=0 ,0 ,差值看图操作*0.6 ,1.3,0),COLOR339900;STICKLINE( 差值看图操作<=0 ,0 ,差值看图操作*0.4 ,1.3,0),COLOR337700;STICKLINE( 差值看图操作<=0 ,0 ,差值看图操作*0.2 ,1.3,0),COLOR005500;操盘线:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORMAGENTA,LINETHICK2;底背离: IF((EMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,30)-LLV(LOW,36))*4,4)*25<10),110,150),COLORYELLOW;顶背离: IF((EMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,30)-LLV(LOW,36))*4,4)*25>90),40,0), COLORRED;DRAWTEXT(CROSS((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))),(10)),L,'←底'),COLOR0000FF;VARD:=(ZIG(3,8)<=REF(ZIG(3,8),1)) AND (REF(ZIG(3,8),1)>=REF(ZIG(3,8),2)) AND (REF(ZIG(3,8),2)>=REF(ZIG(3,8),3))AND (REF(ZIG(3,8),3)>=REF(ZIG(3,8),4));STICKLINE((VARD=1),(EMA(((2*C+H+L)/4-LLV(L,21))/(HHV(H,21)-LLV(L,34))*100,5)-2),0,1.3,0),COLOR00FF00;DRAWTEXT((VARD=1),(EMA(((2*C+H+L)/4-LLV(L,21))/(HHV(H,21)-LLV(L,34))*100,5)+5),'逃顶'),COLOR00FF00;选股买点: IF(TROUGHBARS(3,16,1)=1 AND HIGH>LOW+0.04,50,0), COLORYELLOW;DRAWTEXT(CROSS( 选股买点,1),50,'选股买点'), COLORYELLOW;