烦请编辑一个选股公式: 条件:K线最低<5,10,21日均线,最高价>5日10日2...
发布网友
发布时间:2024-02-26 16:38
我来回答
共4个回答
热心网友
时间:2024-10-05 16:09
条件:K线最低<5,10,21日均线,最高价>5日10日21日均线,收盘21线之上,公式如下:
LOW<MA(CLOSE,5) AND LOW<MA(CLOSE,10) AND LOW<MA(CLOSE,21) AND HIGH>MA(CLOSE,5) AND HIGH>MA(CLOSE,10) AND HIGH>MA(CLOSE,21) AND CLOSE>MA(CLOSE,21);
条件:K线最低价小于5日10日21日均线,最高价大于5日10日21日均线,收盘>5日10日21日均线,公式如下:
LOW<MA(CLOSE,5) AND LOW<MA(CLOSE,10) AND LOW<MA(CLOSE,21) AND HIGH>MA(CLOSE,5) AND HIGH>MA(CLOSE,10) AND HIGH>MA(CLOSE,21) AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,21);
热心网友
时间:2024-10-05 16:08
ma5:=ma(c,5);ma10:=ma(c,10);ma21:=ma(c,21);
AA:=LLV(C,1)<MA5 AND MA10 AND MA21;
BB:=HHV(C,1)>MA5 AND MA10 AND MA21;
CC:=C>MA21;
选股:AA AND BB AND CC;
热心网友
时间:2024-10-05 16:08
L<MA(C,5) AND L<MA(C,10) AND L<(C,21) AND H>MA(C,5) AND H>MA(C,10) AND H>C,21)AND C>MA(C,5) AND C>MA(C,10) AND C>C,21)
热心网友
时间:2024-10-05 16:07
M1:=MA(C,5);
M2:=MA(C,15);
M3:=MA(C,30);
上线:=MAX(M1,MAX(M2,M3));
下线:=MIN(M1,MIN(M2,M3));
骑墙K线: O<下线 AND C>上线,NODRAW; {通达信综合选股}
STICKLINE(骑墙K线,O,C,3.2,0),COLOR00FFFF;{主图显示}
MA1:MA(CLOSE,n1);
MA2:MA(CLOSE,n2);
MA3:MA(CLOSE,n3);
MA4:MA(CLOSE,n4);
----------------------------------------------------
没说你用什么软件,就以通达信为例