以下是通达信人地人和主图+短线擒牛副图/选股源码
{天地人和主图}
天:MA(LOW,20)*1.2,COLORGREEN,CROSSDOT;
地:MA(LOW,20)*1.1,DOTLINE,COLORYELLOW;
人:MA(HIGH,20)*0.9,DOTLINE,COLORWHITE;
和:MA(HIGH,20)*0.8,COLORMAGENTA,CROSSDOT;
最高价:H,NODRAW;
收盘价:C,NODRAW;
最低价:L,NODRAW;
{短线擒牛副图/选股}
天:=MA(LOW,20)*1.2;
地:=MA(LOW,20)*1.1;
人:=MA(HIGH,20)*0.9;
合:=MA(HIGH,20)*0.8;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1),LINETHICK2;
D:=SMA(K,M2,1),LINETHICK2;
KDXG:=K>D;
TJXG:天>REF(天,1) AND 地>REF(地,1) AND 人>REF(人,1) AND 合>REF(合,1)
AND KDXG AND REF(C,1)<REF(天,1) AND C>天 AND C>O AND C/REF(C,1)>1.02;