A1:=(EMA(((O+H+L+C)/4),3)+EMA(((O+H+L+C)/4),6)+EMA(((O+H+L+C)/4),9))/3;
A2:=(EMA(((O+H+L+C)/4),5)+EMA(((O+H+L+C)/4),10)+EMA(((O+H+L+C)/4),20))/3;
A3:=(EMA(((O+H+L+C)/4),7)+EMA(((O+H+L+C)/4),14)+EMA(((O+H+L+C)/4),28))/3;
A4:=(EMA(((O+H+L+C)/4),9)+EMA(((O+H+L+C)/4),18)+EMA(((O+H+L+C)/4),36))/3;
A5:=(EMA(((O+H+L+C)/4),11)+EMA(((O+H+L+C)/4),22)+EMA(((O+H+L+C)/4),44))/3;
A6:=(EMA(((O+H+L+C)/4),13)+EMA(((O+H+L+C)/4),26)+EMA(((O+H+L+C)/4),52))/3;
A:(EMA(((O+H+L+C)/4),21)+EMA(((O+H+L+C)/4),34)+EMA(((O+H+L+C)/4),55))/3;
{指标之家-股票公式网站 www.tdxclub.com}
PARTLINE(A1>REF(A1,1),a1),coloryellow;
PARTLINE(A1<REF(A1,1),a1),colorblue;
PARTLINE(A2>REF(A2,1),a2),coloryellow;
PARTLINE(A2<REF(A2,1),a2),colorblue;
PARTLINE(A3>REF(A3,1),a3),coloryellow;
PARTLINE(A3<REF(A3,1),a3),colorblue;
PARTLINE(A4>REF(A4,1),a4),coloryellow;
PARTLINE(A4<REF(A4,1),a4),colorblue;
PARTLINE(A5>REF(A5,1),a5),coloryellow;
PARTLINE(A5<REF(A5,1),a5),colorblue;
PARTLINE(A6>REF(A6,1),a6),coloryellow;
PARTLINE(A6<REF(A6,1),a6),colorblue;
PARTLINE(A>REF(A,1),a),linethick3,colorred;
PARTLINE(A<REF(A,1),a),linethick3,colorgreen;
202108211222.jpg
|