一、通达信振幅线主图指标公式
趋势线:MAX(MA(C,60),MA(C,120)),COLORWHITE;
DD:=(趋势线-L)/L;
BB:=(C-趋势线)/趋势线;
STICKLINE(DD>=0.3,OPEN,CLOSE,8,0),COLORGREEN;
STICKLINE(DD>=0.3,L,H,1,0),COLORGREEN;
DRAWICON(BB>=0.3,L,15);
M:=(C+O+L)/3;
操盘线:MA(M,5),COLORMAGENTA;
振幅:(H-L)/L,COLORGREEN,NODRAW;
STICKLINE(振幅*100>=8 AND C>O ,O,C,8,0),COLORRED;
STICKLINE(振幅*100>=8 AND C>O ,L,H,1,0),COLORRED;
STICKLINE(振幅*100>=8 AND C<O ,O,C,8,0),COLORGREEN;
STICKLINE(振幅*100>=8 AND C<O ,L,H,1,0),COLORGREEN;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,8,0),COLORMAGENTA;
二、通达信鸡鸣见亮选股指标公式
Q1:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q2:=SMA(Q1, 9, 1);
Q3:=SMA(Q2, 3, 1);
AA:=3*Q2-2*Q3;
VAR1:=(2*C+H+L)/4;
VAR2:=LLV(LOW,34);
VARA:=HHV(HIGH,34);
BB:=EMA((VAR1-VAR2)/(VARA-VAR2)*100,8);
选股:CROSS(AA,BB) AND AA>REF(AA,1) AND BB>REF(BB,1) AND AA<20;