N:=2;
LL:=MIN(MA(C,30),MIN(MA(C,60),MIN(MA(C,90),MA(C,120))));
HH:=MAX(MA(C,30),MAX(MA(C,60),MAX(MA(C,90),MA(C,120))));
均线接近度:=(HH-LL)/LL*100;
均线粘合:均线接近度
(已对照600036测试。N可调)
LL:=MIN(MA(C,30),MIN(MA(C,60),MIN(MA(C,90),MA(C,120))));
HH:=MAX(MA(C,30),MAX(MA(C,60),MAX(MA(C,90),MA(C,120))));
均线接近度:=(HH-LL)/LL*100;
均线粘合:均线接近度