通达信红旗飘飘主图及选股指标公式
2021/1/7 19:04:08
MA5:MA(C,5),COLORWHITE;
MA10:MA(C,10),COLORYELLOW;
MA20:MA(C,20),COLORMAGENTA;
HJ1:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));
HJ2:=MA(HJ1,5);
HJ3:=MA(HJ1,20);
DRAWBAND(HJ3,RGB(0,0,0),HJ1,238);
XG:=CROSS(C,HJ1) AND CROSS(C,HJ2) AND CROSS(C,HJ3);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWICON(XG,MA5,1);
{
选股公式:
HJ1:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));
HJ2:=MA(HJ1,5);
HJ3:=MA(HJ1,20);
CROSS(C,HJ1) AND CROSS(C,HJ2) AND CROSS(C,HJ3);
}
投 股票网 www.to u18.cn
股市公式下载推荐