该指标比较简单明了的在图示中标明买卖点,为投资者投资交易提供参考依据。
DRAWGBK(DATE>900101,STRIP(RGB(100,0,0),RGB(30,30,0),1));
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 ,差值指标看图操作 ,4 ,0 ),coloryellow;
STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.8 ,4 ,0),COLORFFAA66;
STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.6 ,4 ,0),COLORFFBB99;
STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.4 ,4 ,0),COLORFFCCCC;
STICKLINE( 差值指标看图操作>=0 ,0 ,差值指标看图操作*0.2 ,4 ,0),COLORFFDDDD;
STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*1 ,4 , 0),colorgreen;
STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.8 ,4 ,0),COLOR33CC00;
STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.6 ,4 ,0),COLOR339900;
STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.4 ,4 ,0),COLOR337700;
STICKLINE( 差值指标看图操作<=0 ,0 ,差值指标看图操作*0.2 ,4 ,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,4,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;