【通达信】中线选股(临界区、中线)-指标公式源码临界区 55:=MA(C,55),COLORFF33FF,LINETHICK1; AA:=10;BB:=40;ABCD:=XMA(CLOSE,AA);BCDE:=XMA(CLOSE,BB);N:=REF(BCDE,BB/2+1-CURRBARSCOUNT)/REF(BCDE,BB/2+2-CURRBARSCOUNT);M:=REF(ABCD,AA/2+1-CURRBARSCOUNT)/REF(ABCD,AA/2+2-CURRBARSCOUNT);LOWN:=IF(CURRBARSCOUNTAA/2,ABCD*0.95,REF(ABCD,AA/2+1-CURRBARSCOUNT)*POW(M,AA/2+1-CURRBARSCOUNT)*0.95),COLORGRAY; LOWW:=IF(CURRBARSCOUNTBB/2,BCDE*0.9,REF(BCDE,BB/2+1-CURRBARSCOUNT)*POW(N,BB/2+1-CURRBARSCOUNT)*0.9); 中线 XG:CROSS(LOWW,临界区 55),COLORYELLOW,LINETHICK1;【通达信】中线选股(临界区、中线)-指标公式效果图(文档来源:若水财经社区)