九毛八公式指标
公式模块:
请老师帮我把笑脸选股公式和小牛选股公式合并成一个选股公式,谢谢!
笑脸选股公式:A1:=(3*C+L+O+H)/6;
海平面:=EMA(A1,89)*0.84;
XG:FILTER(REF(C,1)<海平面 AND C>O AND C>海平面,10);
小牛选股公式:短牛:=9;中线:=9;周期:=15;过滤:=8;选股:=-26;抄底:=-30;
VAR22:=MA(CLOSE,5);
VAR23:=MA(CLOSE,10);
VAR24:=MA(CLOSE,30);
VAR25:=MA(CLOSE,60);
VAR26:=EMA(COST(85),7);
VAR27:=EMA(COST(15),7);
VAR60:=(SUM(((CLOSE)*(vol))*(100),4))/(SUM((VOL)*(100),4));
VAR61:=(INTPART((VAR60)*(100)))/(100);
VAR62:=(SUM(((CLOSE)*(VOL))*(100),7))/(SUM((VOL)*(100),7));
VAR63:=(INTPART((VAR62)*(100)))/(100);
VAR64:=(SUM(((CLOSE)*(VOL))*(100),28))/(SUM((VOL)*(100),28));
VAR65:=(INTPART((VAR64)*(100)))/(100);
B:=IF((DATE <= 108880515),EMA(CLOSE,5) - EMA(CLOSE,10),0);
A:=IF((DATE <= 108088515),EMA(B,中线),0);
VAR28:=(((-100))*(HHV(CLOSE,5) - CLOSE))/(HHV(CLOSE,5) - LLV(LOW,5)) + 100;
VAR29:=(((-100))*(HHV(CLOSE,10) - CLOSE))/(HHV(CLOSE,10) - LLV(LOW,10)) + 100;
VAR30:=(((-100))*(HHV(CLOSE,20) - CLOSE))/(HHV(CLOSE,20) - LLV(LOW,20)) + 100;
VAR31:=(((-100))*(HHV(CLOSE,30) - CLOSE))/(HHV(CLOSE,30) - LLV(LOW,30)) + 100;
VAR32:=REF(A,1);
VAR33:=A;
VAR34:=VAR33 - VAR32;
VAR35:=REF(B,1);
VAR36:=B;
VAR37:=VAR36 - VAR35;
VAR50:=OPEN;
VAR51:=CLOSE;
小牛:(VAR50 <= VAR22) AND (VAR50 <= VAR23) AND (VAR50 <= VAR24) AND (VAR51 >= VAR22) AND (VAR51 >= VAR65) AND (VAR34 > 0) AND (VAR37 > 0);
A1:=(3*C+L+O+H)/6;
海平面:=EMA(A1,89)*0.84;
笑脸选股:=FILTER(REF(C,1)<海平面 AND C>O AND C>海平面,10);
短牛:=9;中线:=9;周期:=15;过滤:=8;选股:=-26;抄底:=-30;
VAR22:=MA(CLOSE,5);
VAR23:=MA(CLOSE,10);
VAR24:=MA(CLOSE,30);
VAR25:=MA(CLOSE,60);
VAR26:=EMA(COST(85),7);
VAR27:=EMA(COST(15),7);
VAR60:=(SUM(((CLOSE)*(VOL))*(100),4))/(SUM((VOL)*(100),4));
VAR61:=(INTPART((VAR60)*(100)))/(100);
VAR62:=(SUM(((CLOSE)*(VOL))*(100),7))/(SUM((VOL)*(100),7));
VAR63:=(INTPART((VAR62)*(100)))/(100);
VAR64:=(SUM(((CLOSE)*(VOL))*(100),28))/(SUM((VOL)*(100),28));
VAR65:=(INTPART((VAR64)*(100)))/(100);
B:=IF((DATE <= 108880515),EMA(CLOSE,5) - EMA(CLOSE,10),0);
A:=IF((DATE <= 108088515),EMA(B,中线),0);
VAR28:=(((-100))*(HHV(CLOSE,5) - CLOSE))/(HHV(CLOSE,5) - LLV(LOW,5)) + 100;
VAR29:=(((-100))*(HHV(CLOSE,10) - CLOSE))/(HHV(CLOSE,10) - LLV(LOW,10)) + 100;
VAR30:=(((-100))*(HHV(CLOSE,20) - CLOSE))/(HHV(CLOSE,20) - LLV(LOW,20)) + 100;
VAR31:=(((-100))*(HHV(CLOSE,30) - CLOSE))/(HHV(CLOSE,30) - LLV(LOW,30)) + 100;
VAR32:=REF(A,1);
VAR33:=A;
VAR34:=VAR33 - VAR32;
VAR35:=REF(B,1);
VAR36:=B;
VAR37:=VAR36 - VAR35;
VAR50:=OPEN;
VAR51:=CLOSE;
小牛:=(VAR50 <= VAR22) AND (VAR50 <= VAR23) AND (VAR50 <= VAR24) AND (VAR51 >= VAR22) AND (VAR51 >= VAR65) AND (VAR34 > 0) AND (VAR37 > 0);
合并:笑脸选股 AND 小牛;