请哪位高手帮我写个通达信选股公式,5,10,20,30,四条均线粘合在一起

2024-12-01 01:15:32
推荐回答(5个)
回答1:

{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;
------------------------------------------------------------
回答这类问题太多了

回答2:

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;

回答3:

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;

回答4:

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);

回答5:

MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20),LINETHICK1;
MA4:MA(CLOSE,30),LINETHICK2;