以下是通达信2线合并出击副图+选股源码贴图
合并出击副图指标中的2条线指标取自论坛指标区,本人做了修改现增加了选股信号
{合并出击副图}
N:=IF((CCI>100),5,55);
RV:MA((C-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,1),COLORYELLOW;
RG:(C-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,COLORRED;
XG:=RV=RG AND RV>=80;
合并:XG AND NOT(REF(XG,1)),COLOR00FFFF,POINTDOT;
STICKLINE(合并,0,75,0.2,0),COLORGREEN;
DRAWTEXT(合并,81,'合并出击'),COLORWHITE;
{合并出击选股}
N:=IF((CCI>100),5,55);
RV:=MA((C-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,1);
RG:=(C-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
XG:=RV=RG AND RV>=80;
HBXG:XG AND NOT(REF(XG,1));