通达信公式修改为选股公式
发布网友
发布时间:2022-04-27 08:54
我来回答
共2个回答
热心网友
时间:2023-09-15 14:39
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA60:=MA(CLOSE,60);
PDAY1:=BARSLAST(CROSS(MA5,MA60));
PDAY2:=BARSLAST(CROSS(MA10,MA60));
PDAY3 :=BARSLAST(HIGH=HHV(HIGH,PDAY2));
PDAY4:=BARSLAST(CROSS(MA10,MA5));
PDAY5:=BARSLAST(CROSS(MA5,MA10));
A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;
A3:=MA5>MA60 AND MA10>MA60;
XG:(A1 AND A2 AND A3) AND FILTER(A1 AND A2 AND A3 ,5);
热心网友
时间:2023-09-15 14:39
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA60:=MA(CLOSE,60);
PDAY1:=BARSLAST(CROSS(MA5,MA60));
PDAY2:=BARSLAST(CROSS(MA10,MA60));
PDAY3:=BARSLAST(HIGH=HHV(HIGH,PDAY2));
PDAY4:=BARSLAST(CROSS(MA10,MA5) OR (REF(MA10,1)<REF(MA5,1) AND MA5=MA10));
PDAY5:=BARSLAST(CROSS(MA5,MA10) OR (REF(MA5,1)=REF(MA10,1) AND MA5>MA10));
A1:=PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
A2:=COUNT(CROSS(MA10,MA5),PDAY2)=1;
A3:=MA5>MA60 AND MA10>MA60;
老鸭头:(A1 AND A2 AND A3) AND FILTER(A1 AND A2 AND A3,5);
股票公式专家团为你解答,希望能帮到你,祝投资顺利。
如果你对我的回答感到满意,请别忘了采纳,谢谢。