{5、10、20、30均线粘合}
ll:=MIN(MA(C,5),MIN(MA(C,10),MIN(MA(C,20),MA(C,30))));
HH:=MAX(MA(C,5),MAX(MA(C,10),MAX(MA(C,20),MA(C,30))));
均线接近度:=(HH-LL)/LL*100;
均线粘合:均线接近度<5;
------------------------------------------------------------
回答这类问题太多了
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
BB1:=ABS(M5-M30)/M30<0.025;
BB2:=ABS(M10-M30)/M30<0.03;
BB3:=ABS(M20-M30)/M30<0.03;
XX:BB1 AND BB2 AND BB3 AND C>M20;
MAX1:=MAX(MA(C,5),MAX(MA(C,10),MAX(MA(C,20),MA(C,30))));
MIN1:=MIN(MA(C,5),MIN(MA(C,10),MIN(MA(C,20),MA(C,30))));
(MAX1-MIN1)/MIN1*100<0.3;
N 1 10 3
ma5:(c,5);
ma10:(c,10);
ma20:(c,20);
ma30:(c,30);
A:=MIN(MIN(MIN(ma5,ma10),ma20),ma30);
B:=MAX(MAX(MAX(ma5,ma10),ma20),ma30);
DRAWICON((B/A-1)*100<=N,L-0.1,1);
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20),LINETHICK1;
MA4:MA(CLOSE,30),LINETHICK2;