副图公式源码支持 手机/电脑
GUP1:=HHV(V,5)=V OR V/REF(V,1)>=5;
GUP2:=BARSLAST(GUP1);
量能A:IF(GUP1,C,REF(C,GUP2)),COLORLIMAGENTA,LINETHICK4;
GUP10:=HHV(V,2)=V OR V/REF(V,1)>=5;
GUP20:=BARSLAST(GUP10);
量能B:IF(GUP1,C,REF(C,GUP20)),COLORRED,LINETHICK1;
DRAWTEXT(量能A<REF(量能A,1) AND C>REF(C,1),C,'--上涨'),COLORLIMAGENTA;
DRAWTEXT(量能A>REF(量能A,1) AND C>REF(C,1) AND C>MA(C,13) AND C=HHV(C,20) AND C/REF(C,1)>1.05,C,'--突破'),COLORLIRED;
选股公式源码
{选股公式一:突破}
GUP1:=HHV(V,5)=V OR V/REF(V,1)>=5;
GUP2:=BARSLAST(GUP1);
量能A:=IF(GUP1,C,REF(C,GUP2)),COLORLIMAGENTA,LINETHICK4;
GUP10:=HHV(V,2)=V OR V/REF(V,1)>=5;
GUP20:=BARSLAST(GUP10);
量能B:=IF(GUP1,C,REF(C,GUP20)),COLORRED,LINETHICK1;
突破:量能A>REF(量能A,1) AND C>REF(C,1) AND C>MA(C,13) AND C=HHV(C,20) AND C/REF(C,1)>1.05;
{选股公式二:上涨}
GUP1:=HHV(V,5)=V OR V/REF(V,1)>=5;
GUP2:=BARSLAST(GUP1);
量能A:=IF(GUP1,C,REF(C,GUP2)),COLORLIMAGENTA,LINETHICK4;
GUP10:=HHV(V,2)=V OR V/REF(V,1)>=5;
GUP20:=BARSLAST(GUP10);
量能B:=IF(GUP1,C,REF(C,GUP20)),COLORRED,LINETHICK1;
上涨:量能A<REF(量能A,1) AND C>REF(C,1); |