一、通达信两条牛熊线主图指标公式
A12:=MA(CLOSE,5);
牛线:WINNER(A12)*100,LINETHICK2,COLORRED;
熊线:(WINNER(A12*1.1)-WINNER(A12*0.9))*100,LINETHICK2,COLORGREEN;
多头锁仓:IF(牛线>熊线,牛线-熊线,0),LINETHICK0,COLORWHITE;
二、通达信温馨强势股选股指标公式
MID:=MA(CLOSE,26);
UPPER:=MID+2*STD(CLOSE,26);
LOWER:=MID-2*STD(CLOSE,26);
EXP1:=EMA(CLOSE,10);
EXP2:=EMA(CLOSE,60);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
BIAN1:=REF(COUNT(C/REF(C,1)>1.053,15)>3,1);
A1:=MA(CLOSE,5);
A2:=MA(CLOSE,10);
A3:=MA(CLOSE,20);
A4:=MA(CLOSE,60);
A5:=MA(CLOSE,120);
A6:=MA(CLOSE,250);
ZHOUZHANG:=(CLOSE/REF(CLOSE,6)-1)*100<10;
QP:=REF(A1,1)*1.05>REF(UPPER,1);
QO:=REF(A1,2)*1.05>REF(UPPER,2);
QG:= A1*1.05>UPPER;
PPDAY22 := BARSLAST(CROSS(EXP1,EXP2));
DJC22 :=IF((PPDAY22<20 ),1,0);
DD :=C>A3 AND C>A1;
DS :=REF(CCI,1)<100 ;
A22:V/REF(V,1)<1 AND CREF(O,1) AND REF(C,1)>REF(A1,1) AND
C