通达信楚河汉界,简单实用均线类指标公式
A:=(LOW+HIGH+CLOSE+OPEN)/4.2;
楚河汉界:HHV((MA(A,6)),15),COLORGREEN,LINETHICK2;
C3:=REF(C,1);{公式在线提供:www.gszx.com.cn}
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,3,0),COLORBLUE;