通达信金叉红柱进副图指标,操作基本要领:金叉买死叉卖,红柱买随便卖
LHX:(VAR0) * 100,STICK ;
STICKLINE(VAR0>0,0,LHX,2.5,0),COLOR9933FF;
STICKLINE(VAR0>0,0,LHX,1.5,0),COLOR0000CC;
STICKLINE(VAR0>0,0,LHX,0,0), COLOR0033FF;
STICKLINE(VAR0<0,0,LHX,2.5,0),COLOR009900;
STICKLINE(VAR0<0,0,LHX,1.5,0),COLOR33FF00;
STICKLINE(VAR0<0,0,LHX,0,0), COLOR33FF00;
LHX1:EMA(LHX,VAR1) * VAR1 ,COLORMAGENTA;
LHX3:MA(LHX1,5),COLORWHITE;
SVAR1:=CROSS(LHX1,LHX2) AND SVAR0 AND LLV(LHX1,3) - REF(LHX1,13) < -25 AND LHX3 < -8 ;
SVAR3:=(LLV(LHX2,3) > LLV(LHX2,44) OR LLV(LHX3,3) > LLV(LHX3,44)) AND CROSS(LHX1,LHX2) AND COUNT(LHX1 < -22,3) >= 1 ;
SVAR5:=(SVAR4 OR CROSS(LHX1,LHX3)) AND COUNT(LHX1 < -5,3) >= 1 AND LHX1 - REF(LHX1,1) > 1 ;
M1:=3;
RSV:= (HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*100;
LWR2:=SMA(LWR1,M2,1);
抄底:FILTER(SVAR2,3) OR FILTER(SVAR3 AND LHX1 - REF(LHX1,1) > 1,2),COLOR0000FF ;
{VERTLINE(买入,0),COLOR0000FF;}
DRAWTEXT(抄底,15,'抄底'),COLOR0000FF;
STICKLINE(抄底,-10,20,0,0),COLOR0000FF;
DRAWTEXT_FIX(C>0,0.01,0.08,0,'操作基本要领:金叉买死叉卖,红柱买随便卖'),COLOR00FFFF;