请哪位高手帮忙写一个选股公式?
VAR1:=SAR(10,2,20);IF(VAR1<=C,VAR1,DRAWNULL),COLORRED,CIRCLEDOT,LINETHICK3;IF(VAR1>C,...
VAR1:=SAR(10,2,20);
IF(VAR1<=C,VAR1,DRAWNULL),
COLORRED,CIRCLEDOT,LINETHICK3;
IF(VAR1>C,VAR1,DRAWNULL),
COLORGREEN,CIRCLEDOT,LINETHICK3;
B1:=REF(C,1);B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));
SM:=IF(REF(SS,1)>0 OR REF(SS,1)<0,REF(SS,1),IF(REF(SS,2)>0 OR REF(SS,2)<0,REF(SS,2),IF(REF(SS,3)>0 OR REF(SS,3)<0,REF(SS,3),IF(REF(SS,4)>0 OR REF(SS,4)<0,REF(SS,4),IF(REF(SS,5)>0 OR REF(SS,5)<0,REF(SS,5),IF(REF(SS,6)>0 OR REF(SS,6)<0,REF(SS,6),IF(REF(SS,7)>0 OR REF(SS,7)<0,REF(SS,7),0)))))));
DRAWTEXT_FIX(C>0,0.5,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(C>0,0.5,0.1,0,DYBLOCK),COLORWHITE;
DRAWTEXT_FIX(C>0,0.5,0.2,0,GNBLOCK),COLORYELLOW;
涨停K:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(涨停K>9.8,C,O,2,0),COLORMAGENTA;
ZXX:=(3*CLOSE+OPEN+LOW+HIGH)/6;JJ:=2-1.005;
快线:(20*ZXX+19*REF(ZXX,1)+18*REF(ZXX,2)
+17*REF(ZXX,3)+16*REF(ZXX,4)+15*REF(ZXX,5)
+14*REF(ZXX,6)
+13*REF(ZXX,7)+12*REF(ZXX,8)+11*REF(ZXX,9)
+10*REF(ZXX,10)+9*REF(ZXX,11)+8*REF(ZXX,12)
+7*REF(ZXX,13)+6*REF(ZXX,14)+5*REF(ZXX,15)
+4*REF(ZXX,16)+3*REF(ZXX,17)+2*REF(ZXX,18)+
REF(ZXX,20))/210*JJ,LINETHICK3,COLORCYAN;
MA(C,5)LINETHICK3,COLORWHITE;
MA250:MA(C,250),COLORYELLOW,LINETHICK3;
AA1:=AMOUNT/V;
BB11:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB11 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLORGREEN;
请哪位高手根据上面的指标公式,写一个白线上穿蓝线的选股公式!谢谢! 展开
IF(VAR1<=C,VAR1,DRAWNULL),
COLORRED,CIRCLEDOT,LINETHICK3;
IF(VAR1>C,VAR1,DRAWNULL),
COLORGREEN,CIRCLEDOT,LINETHICK3;
B1:=REF(C,1);B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));
SM:=IF(REF(SS,1)>0 OR REF(SS,1)<0,REF(SS,1),IF(REF(SS,2)>0 OR REF(SS,2)<0,REF(SS,2),IF(REF(SS,3)>0 OR REF(SS,3)<0,REF(SS,3),IF(REF(SS,4)>0 OR REF(SS,4)<0,REF(SS,4),IF(REF(SS,5)>0 OR REF(SS,5)<0,REF(SS,5),IF(REF(SS,6)>0 OR REF(SS,6)<0,REF(SS,6),IF(REF(SS,7)>0 OR REF(SS,7)<0,REF(SS,7),0)))))));
DRAWTEXT_FIX(C>0,0.5,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(C>0,0.5,0.1,0,DYBLOCK),COLORWHITE;
DRAWTEXT_FIX(C>0,0.5,0.2,0,GNBLOCK),COLORYELLOW;
涨停K:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(涨停K>9.8,C,O,2,0),COLORMAGENTA;
ZXX:=(3*CLOSE+OPEN+LOW+HIGH)/6;JJ:=2-1.005;
快线:(20*ZXX+19*REF(ZXX,1)+18*REF(ZXX,2)
+17*REF(ZXX,3)+16*REF(ZXX,4)+15*REF(ZXX,5)
+14*REF(ZXX,6)
+13*REF(ZXX,7)+12*REF(ZXX,8)+11*REF(ZXX,9)
+10*REF(ZXX,10)+9*REF(ZXX,11)+8*REF(ZXX,12)
+7*REF(ZXX,13)+6*REF(ZXX,14)+5*REF(ZXX,15)
+4*REF(ZXX,16)+3*REF(ZXX,17)+2*REF(ZXX,18)+
REF(ZXX,20))/210*JJ,LINETHICK3,COLORCYAN;
MA(C,5)LINETHICK3,COLORWHITE;
MA250:MA(C,250),COLORYELLOW,LINETHICK3;
AA1:=AMOUNT/V;
BB11:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB11 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLORGREEN;
请哪位高手根据上面的指标公式,写一个白线上穿蓝线的选股公式!谢谢! 展开
1个回答
展开全部
ZXX:=(3*CLOSE+OPEN+LOW+HIGH)/6;
快线:=(20*ZXX+19*REF(ZXX,1)+18*REF(ZXX,2)
+17*REF(ZXX,3)+16*REF(ZXX,4)+15*REF(ZXX,5)
+14*REF(ZXX,6)
+13*REF(ZXX,7)+12*REF(ZXX,8)+11*REF(ZXX,9)
+10*REF(ZXX,10)+9*REF(ZXX,11)+8*REF(ZXX,12)
+7*REF(ZXX,13)+6*REF(ZXX,14)+5*REF(ZXX,15)
+4*REF(ZXX,16)+3*REF(ZXX,17)+2*REF(ZXX,18)+
REF(ZXX,20))/210*(2-1.005);
XG:CROSS(快线,MA(C,5));
快线:=(20*ZXX+19*REF(ZXX,1)+18*REF(ZXX,2)
+17*REF(ZXX,3)+16*REF(ZXX,4)+15*REF(ZXX,5)
+14*REF(ZXX,6)
+13*REF(ZXX,7)+12*REF(ZXX,8)+11*REF(ZXX,9)
+10*REF(ZXX,10)+9*REF(ZXX,11)+8*REF(ZXX,12)
+7*REF(ZXX,13)+6*REF(ZXX,14)+5*REF(ZXX,15)
+4*REF(ZXX,16)+3*REF(ZXX,17)+2*REF(ZXX,18)+
REF(ZXX,20))/210*(2-1.005);
XG:CROSS(快线,MA(C,5));
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询