用法:1、把公式复制到公式管理》新建》贴入》填入名称》点保存》另存为》选文件夹;2、工具》条件选股.>找到公式》设b=1》高级》选时段》执行选股;3、当天选股:工具》条件选股.>找到公式》设b=1》执行选股;4、预警选股; 工具》条件选股.>组合条件》编辑条件,设b=1》工具》预警.>新增条件.>找到条件》确定》开启预警》等待》选出即买;
Var1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; Var2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; Var3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; Var4:=REF(CLOSE,1); Var5:=SMA(MAX(CLOSE-Var4,0),5,1)/SMA(ABS(CLOSE-Var4),5,1)*100; Var6:=(HIGH+LOW+CLOSE)/3;Var22:=(Var6-MA(Var6,14))/(0.015*AVEDEV(Var6,14)); Var7:=(Var1>=-15.8 AND Var1<=-12.2 AND Var2<=-20.8 AND Var3<=-27.5 AND Var5<=11.7 AND Var22<=-145)*100; b:IF(Var7>0 ,1 ,0 ); |
