A1:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A2:=LLV(L,21);
A3:LLV(L,30);
A4:=EMA(A1,5);
A5:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A6:=MA(C,20);
DIF:="macd.DIF"(12,26,9);
DEA:="MacD.DEA"(12,26,9);
基础:=( DIF<-0.1 AND DIF>DEA),COLORYELLOW;
{ -通达信股票指标公式}
中线买入:=crOSS(A1,A4)AND (A5-A4)>40 AND 基础,COLORRED;
STICKLINE(CROSS(A1,A4)AND (A5-A4)>40 AND 基础 ,A3,A3*1.2,4,0),COLORRED;
STICKLINE( 基础,A3,A3*1.1,4,0),COLORYELLOW;