{老鸭选股公式} MA5 := MA(CLOSE,5); MA10 := MA(CLOSE,10); MA60 := MA(CLOSE,60); PDAY1 := BARSLAST(CROSS(MA5,MA60));{5日均线上穿60日均线} PDAY2 := BARSLAST(CROSS(MA10,MA60));{10日均线上穿60日均线,至此形成鸭颈部} PDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));{形成头部,要下跌} PDAY4 := BARSLAST(CROSS(MA10,MA5));{下跌后,5日均线和10日均线死叉} PDAY5 := BARSL
老鸭头:=(A1 AND A2 AND A3) AND FILTER(A1 AND A2 AND A3 ,...这是两个公式,第一个公式源码不全。第二个公式本身就是一个选股公式。 {...
{LYT-老鸭头} VAR1:=MA(CLOSE,5); VAR2:=MA(CLOSE,10); VAR3:=MA(CLOSE,60); VAR4:=BARSLAST(CROSS(VAR1,VAR3)); VAR5:=BARSLAST(CROSS(VAR2,VAR3)); VAR6:=BARSLAST(HIGH=HHV(HIGH,VAR5)); VAR7:=BARSLAST(CROSS(VAR2,VAR1)); VAR8:=BARSLAST(CROSS(VAR1,VAR2)); VAR9:=VAR4>VAR5 AND VAR5>VAR6 AND VAR6>VAR7 AND VAR7>VAR8
标签:老鸭,通达信,头选股