通达信MACD和±均差指标公式
N:=3;
DP:=(INDEXC-MA(INDEXC,30))/MA(INDEXC,30)*100;
DRAWBAND(DP,RGB(150,20,20),0,RGB(10,150,20));
X30 :(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
X60 :(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
X90 :(CLOSE-MA(CLOSE,90))/MA(CLOSE,90)*100;
X120 :(CLOSE-MA(CLOSE,120))/MA(CLOSE,120)*100;
CL1:=CROSS(X90,0) AND REF(CROSS(X60,0),1) AND REF(CROSS(X30,0),2);
CL2:=CROSS(X90,0) AND CROSS(X60,0) AND CROSS(X30,0);
QD:=ABS(X30-X60)《1 AND ABS(X60-X90)《1 AND ABS(X90-X120)《1 AND ABS(X120-X30)《1;
DRAWICON(CL1 OR CL2,5,19);
DRAWICON(QD,-5,9) ;
DRAWICON(X30《-16.8,0,1);
DRAWICON(X30》16.8,0,2);
关注区:IF(X30》DP AND X30》0,-1.8,DRAWNULL),CIRCLEDOT,COLORFF00FF;
危险:=HHV(X30》20,10) AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,30)+2*STD(CLOSE,30));
DRAWTEXT(危险,X30+10,‘危险’),COLOR00FFFF;
DRAWTEXT(FILTER(X30《-9 AND X30》REF(X30,1),18),X30-2,‘短底’),,COLOR0000FF;
(股票资源馆lixiangluntan.com)
【股票资源馆】通达信,大智慧,同花顺,飞狐,股票指标公式,股票公式大全,道迪拓金,K线图,k线图经典图解,k线图怎么看,k线图分析,股票k线图,大智慧策略破解版。/p>
通达信牛股起爆选股指标公式
MA7:=EMA(C,7);