九毛八公式指标
请老师帮我把“发现黑马”和“精准狠买”选股公式合并成一个,谢谢! 发现黑马选股公式源码:ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); 精准狠买选股公式源码:VAR2:=TROUGHBARS(3,15,1)<10; VAR3:=PEAKBARS(3,15,1)<10; VAR4:=IF(VAR2=1,50,0); VAR5:=IF(VAR3=1,50,0); 底部:=IF(VAR4=50,10,0); 精准狠买:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0);
公式模块:
A:=zig(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2)
AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); VAR2:=TROUGHBARS(3,15,1)<10; VAR3:=PEAKBARS(3,15,1)<10; VAR4:=IF(VAR2=1,50,0); VAR5:=IF(VAR3=1,50,0); 底部:=IF(VAR4=50,10,0); AA:=IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0); A AND AA