{说明1:多用途_几何递增数列_强弱变色_均线;TDX版};
{说明2:均线显红为强势线;显原色为弱势线};
{说明3:弱势线在K线之上为强压力线、在下为弱支撑线};
{说明4:K线向下接近或击穿某均线仍显红色此为强支撑线};
开关色:=1;沉举中:=3;
QZ:=ABS(CLOSE);
DL:=IF(沉举中=1,1/QZ,IF(沉举中=2,QZ,1));
GL:=CLOSE*DL;
M5:SUM(GL,5)/SUM(DL,5);
M9:SUM(GL,9)/SUM(DL,9);
M14:SUM(GL,14)/SUM(DL,14);
M23:SUM(GL,23)/SUM(DL,23);
M37:SUM(GL,37)/SUM(DL,37);
M60:SUM(GL,60)/SUM(DL,60),LINETHICK2;
M97:SUM(GL,97)/SUM(DL,97);
M123:SUM(GL,123)/SUM(DL,123);{加密};
M157:SUM(GL,157)/SUM(DL,157);
M200:SUM(GL,200)/SUM(DL,200);{加密};
M254:SUM(GL,254)/SUM(DL,254);
M323:=SUM(GL,323)/SUM(DL,323);{加密};
{ 概念股网_通达信指标公式}
KK:=DRAWNULL{MA(C,256000)};KG:=开关色;{以下代码属均线变色部分};
K9:IF(KG=1 AND M9