|
RC1:=REF(C,1);
RV1:=REF(V,1);
X:=XX/100;{XX为参数:1,1000,175}
CJHJZ:=
((V>=X*RV1 AND C>=RC1*1.025 AND REFX(V,1)<V*1.25 AND REFX(HHV(V,2),3)<V) OR
(C>=RC1*1.025 AND V<X*RV1 AND HHV(V,8)=V AND REFX(V,3)<=V AND REFX(V,2)<=V AND REFX(V,1)<=V)) AND
REFX(LLV(C,3),3)>=C AND REFX(C,3)>=REFX(MAX(C,O),1);
CJHJZYP:=
((V>=X*RV1 AND C>=RC1*1.025 AND REFX(V,1)<V*1.25 AND REFX(V,2)<V) OR
(C>=RC1*1.025 AND V<X*RV1 AND HHV(V,8)=V AND REFX(V,2)<=V AND REFX(V,1)<=V)) AND
REFX(LLV(C,2),2)>=C AND REFX(C,2)>=REFX(MAX(C,O),1);{预判黄金柱,此公式未用到}
LTGOLD:=REF(BARSLAST(CJHJZ),4)+4;
LNMAX:=V=HHV(V,15) AND C>RC1;LTLNMAX:=REF(BARSLAST(LNMAX),1)+1;{量能平台,此公式未用到}
回调价:=REF(C,LTGOLD);
回调:BETWEEN(L,回调价*0.997,回调价*1.003) AND LTGOLD<=15; |
|