通达信多空起爆点指标公式
2020/5/29 18:33:48
N:=14;
MM:=6;
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);
多头线: DMP*100/MTR,COLORRED,LINETHICK2;
空头线: DMM*100/MTR,COLORGREEN,LINETHICK2;
趋势线: EXPMEMA(ABS(空头线-多头线)/(空头线+多头线)*100,MM),COLORYELLOW,LINETHICK2;
强弱分界:30,COLORWHITE,DOTLINE,LINETHICK1;
BOLL:=MA(CLOSE,20);
UB:=BOLL+2*STD(CLOSE,20);
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.025) AND((HIGH)/(CLOSE)<1.03) AND ((CLOSE)>(UB)) AND (多头线-空头线)>5 AND 多头线>20 AND (趋势线>REF(趋势线,1)) AND (多头线>REF(多头线,1)) AND (VAR3AA>0),91,0);
XG:=(FILTER((VAR4AA>90),21)),COLORYELLOW;
STICKLINE(XG,30,0,4,0),COLOR000099;
STICKLINE(XG,30,0,2,0),COLOR0000BB;
STICKLINE(XG,30,0,1,0),COLOR0000DD;
STICKLINE(XG,30,0,0.9,0),COLOR0000FF;
看 股吧公式 www.kan guba.com
其它股票公式列表