副图公式源码支持 手机/电脑
GUP1:=MA((H-L)/REF(C,1)*100,5);
GUP2:=MA((H-L)/REF(C,1)*100,10);
GUP3:=(INTPART(GUP1)+INTPART(GUP2))/200;
GUP4:=INTPART(H);
GUP5:=INTPART(L);
GUP6:=INTPART(O);
GUP7:=INTPART(C);
GUP8:=IF(V>MA(VOL,50),1,0);
GUP9:=IF(C>(GUP5*GUP3+L),1,0);
GUP10:=IF(C>(GUP6*GUP3+O),1,0);
GUP11:=IF(L<MA(C,5),1,0);
GUP12:=GUP8+GUP9+GUP11;
GUP13:=GUP8+GUP10+GUP11;
GUP14:=REF(H,1);
GUP15:=REF(H,2);
GUP16:=REF(H,3);
GUP17:=MAX(H,GUP14);
GUP18:=MAX(GUP15,GUP16);
GUP19:=MAX(GUP17,GUP18);
GUP20:=REF(MA(C,5),5);
GUP21:=IF((GUP19-GUP20)/GUP20>0.1,1,0);
GUP22:=IF(H>(GUP7*GUP3+C),1,0);
测涨3:H+GUP4*GUP3*3;
测涨5:H+GUP4*GUP3*5;
测跌2:H-GUP4*GUP3*2;
测跌3:H-GUP4*GUP3*3;
测跌5:H-GUP4*GUP3*5;
股价:C;
DRAWTEXT(GUP12=3,测跌5,'买1'),COLORRED;
DRAWTEXT(GUP13=3,测跌5,'买2'),COLORYELLOW;
DRAWTEXT(GUP21+GUP22=2,测涨5,'卖'),COLORGREEN;
选股公式源码
{选股公式一:买1}
GUP1:=MA((H-L)/REF(C,1)*100,5);
GUP2:=MA((H-L)/REF(C,1)*100,10);
GUP3:=(INTPART(GUP1)+INTPART(GUP2))/200;
GUP4:=INTPART(H);
GUP5:=INTPART(L);
GUP6:=INTPART(O);
GUP7:=INTPART(C);
GUP8:=IF(V>MA(VOL,50),1,0);
GUP9:=IF(C>(GUP5*GUP3+L),1,0);
GUP10:=IF(C>(GUP6*GUP3+O),1,0);
GUP11:=IF(L<MA(C,5),1,0);
GUP12:=GUP8+GUP9+GUP11;
买1:GUP12=3;
{选股公式二:买2}
GUP1:=MA((H-L)/REF(C,1)*100,5);
GUP2:=MA((H-L)/REF(C,1)*100,10);
GUP3:=(INTPART(GUP1)+INTPART(GUP2))/200;
GUP4:=INTPART(H);
GUP5:=INTPART(L);
GUP6:=INTPART(O);
GUP7:=INTPART(C);
GUP8:=IF(V>MA(VOL,50),1,0);
GUP9:=IF(C>(GUP5*GUP3+L),1,0);
GUP10:=IF(C>(GUP6*GUP3+O),1,0);
GUP11:=IF(L<MA(C,5),1,0);
GUP13:=GUP8+GUP10+GUP11;
买2:FILTER(GUP2>90,45)=1,COLORRED; |