通达信《四线合一》主副图选股公式源码

通达信《四线合一》主图指标公式源码:

MA1:=MA(CLOSE,5)COLORYELLOW LINETHICK2;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF00FF;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK3;
四线合一:=BARSLASTCOUNT(短期=100 AND 中期=100 AND 长期=100)=1;
STICKLINE(短期=100 AND 中期=100 AND 长期=100,CLOSE,OPEN,1,0),COLORMAGENTA;
DRAWTEXT(四线合一,LOW*0.99,'★合一'),COLORRED;
DRAWICON(四线合一,L,9);

通达信《四线合一》副图指标公式源码:

短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF00FF;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK3;
20,POINTDOT,LINETHICK1;
50,DOTLINE,LINETHICK1;
80,POINTDOT,LINETHICK1;

通达信《四线合一》选股公式源码:

QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
AAA:=QXS AND QST AND QKC AND QXX AND QBJ;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF00FF;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK3;
四线合一:=BARSLASTCOUNT(短期=100 AND 中期=100 AND 中长期 AND 长期=100)=1;
四线合一 AND AAA;

通达信《四线合一》案例截图: