以下是通达信航海指标公式私用多年
通达信航海指标公式私用多年
BIAS20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
起航天数:BARSLAST(BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0)>0),STICK,COLORRED,LINETHICK4;
休整天数:BARSLAST(BARSLAST(BIAS20<0 AND REF(BIAS20,1)<0)>0),STICK,COLOR00FFFF,LINETHICK4;
DRAWTEXT(起航天数=1,-5,’起’),COLORRED;
DRAWTEXT(起航天数=1,-10,’航’),COLORRED;
DRAWTEXT(休整天数=1,-5,’休’),COLORYELLOW;
DRAWTEXT(休整天数=1,-10,’整’),COLORYELLOW;
-20,COLOR000000;
VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(VAR2W,3);
VAR3W:=EMA(VAR2W,7);
M1:= EMA(VAR3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
抄底介入:IF((MB1),20,0),LINETHICK2,COLORFF00FF;
DRAWTEXT(抄底介入 ,30,’抄底 ‘),COLORRED;
VAR06:=(2*CLOSE+HIGH+LOW)/4;
VAR08:=LLV(LOW,34);
VARB1:=HHV(HIGH,34);
BB:=EMA((VAR06-VAR08)/(VARB1-VAR08)*100,9);
VARC1:=EMA(0.667*REF(BB,1)+0.333*BB,2),COLOR000000;
DRAWICON(FILTER(BB<REF(BB,1)AND BB>55 AND BB>REF(BB,3)AND C>MA(C,15),7),50,2);
评论(0)