C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- var00:=lwinner(1,close);
-
- var1:=forcast(var00,10);
-
- var2:=ma(var1,3);
-
- var3:=ma(var2,12);
-
- var4:=ma(var3,16);
-
- var5:=ma(var4,31);
-
- var6:=ma(var5,55);
-
- var7:=var5;
-
- var8:=var4>var2*1.11 and var3>var2*1.095;
-
- var9:=var2>var1*0.95;
-
- var1h:=indexc;
-
- var2h:=ma(var1h,6);
-
- var3h:=ma(var1h,24);
-
- var4h:=ma(var1h,32);
-
- var5h:=ma(var1h,62);
-
- var6h:=ma(var1h,105);
-
- var7h:=var5h;
-
- var8h:=var4h>var2h*1.11 and var3h>var2h*1.095;
-
- var9h:=var2h>var1h*0.95;
-
- pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) and ref(c,1)=ref(o,1) and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;
-
- (var7h and var8h and var9h and close/cost(8)<=0.7985 and (count(c=l,4)<3 or c>ref(c,1))) and pt or var7 and var8 and var9 and close/cost(5)<=0.8 and ((var1>open or var1>ref(open,1) or ref(var1,1)));