营利选股公式

1

G 0.00  1000.00 10.00

R 0.00 1000.00 20.00

A1:=FINONE(74,2020,1231)/FINONE(74,2019,1231)>(1+G/100);

A2:=FINONE(74,2019,1231)/FINONE(74,2018,1231)>(1+G/100);

A3:=FINONE(74,2018,1231)/FINONE(74,2017,1231)>(1+G/100);

A4:=POW(FINONE(74,2020,1231)/FINONE(74,2017,1231),(1/3)>-1)>(R/100);

A1 AND A2 AND A3 AND A4;

2三金叉

ND := 5;

DOWN := CLOSE/LLV(LOW,60)<=1.2;

PMA1 := MA(CLOSE,5);

PMA2 := MA(CLOSE,10);

VMA1 := MA(VOL,5);

VMA2 := MA(VOL,10);

DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);

DEA := EMA(DIFF,9);

{更多指标关注微信公众号:程序化指标}

PPDAY := BARSLAST(CROSS(PMA1,PMA2));

YDAY := BARSLAST(CROSS(VMA1,VMA2));

MACDDAY := BARSLAST(CROSS(DIFF,DEA));

三金叉:IF((PPDAY<=ND AND DAY<=ND AND MACDDAY<=ND),1,0);

3 CDMJ

VARC:=LOW;

VARD:=REF(LOW,1);

VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),3,1)*100;

VARF:=MA(VARE/10,3);

VAR10:=LLV(LOW,30);

VAR11:=HHV(VARF,30);

超跌买:MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),3);

(0)

相关推荐