副图公式源码支持 手机/电脑
GUP1:=MA(AMOUNT,5)/MA(V,5)/100;
GUP2:=(GUP1-MA(AMOUNT,125)/MA(V,125)/100)/GUP1;
GUP3:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP4:=C/MA(C,60)-1;
大底部:IF(CROSS(-5,GUP3) AND GUP2<-0.4,-0.01,-1),COLORRED;
中底部:IF(CROSS(-5,GUP3) AND GUP2<-0.25 AND GUP2>-0.4,-0.3,-1),COLORLIRED;
小底部:IF(CROSS(-5,GUP3) AND GUP2<-0.15 AND GUP2>-0.25,-0.6,-1),COLORYELLOW;
小顶部:IF(CROSS(GUP3,-95) AND GUP4<0.2 AND GUP4>=0.1,0.6,1),COLORWHITE;
中顶部:IF(CROSS(GUP3,-95) AND GUP4<0.35 AND GUP4>=0.2,0.3,1),COLORBLUE;
大顶部:IF(CROSS(GUP3,-95) AND GUP4>=0.35,0,1),COLORGREEN;
选股公式源码
{选股公式一:大底部}
GUP1:=MA(AMOUNT,5)/MA(V,5)/100;
GUP2:=(GUP1-MA(AMOUNT,125)/MA(V,125)/100)/GUP1;
GUP3:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP4:=C/MA(C,60)-1;
大底部:CROSS(-5,GUP3) AND GUP2<-0.4,COLORRED;
{选股公式二:中底部}
GUP1:=MA(AMOUNT,5)/MA(V,5)/100;
GUP2:=(GUP1-MA(AMOUNT,125)/MA(V,125)/100)/GUP1;
GUP3:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP4:=C/MA(C,60)-1;
中底部:CROSS(-5,GUP3) AND GUP2<-0.25 AND GUP2>-0.4,COLORLIRED;
{选股公式三:小底部}
GUP1:=MA(AMOUNT,5)/MA(V,5)/100;
GUP2:=(GUP1-MA(AMOUNT,125)/MA(V,125)/100)/GUP1;
GUP3:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP4:=C/MA(C,60)-1;
小底部:CROSS(-5,GUP3) AND GUP2<-0.15 AND GUP2>-0.25,COLORYELLOW;
{卖出公式一:大顶部}
GUP1:=MA(AMOUNT,5)/MA(V,5)/100;
GUP2:=(GUP1-MA(AMOUNT,125)/MA(V,125)/100)/GUP1;
GUP3:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP4:=C/MA(C,60)-1;
大顶部:CROSS(GUP3,-95) AND GUP4>=0.35,,COLORGREEN;
{卖出公式二:中顶部}
GUP1:=MA(AMOUNT,5)/MA(V,5)/100;
GUP2:=(GUP1-MA(AMOUNT,125)/MA(V,125)/100)/GUP1;
GUP3:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP4:=C/MA(C,60)-1;
中顶部:CROSS(GUP3,-95) AND GUP4<0.35 AND GUP4>=0.2,COLORBLUE;
{卖出公式三:小顶部}
GUP1:=MA(AMOUNT,5)/MA(V,5)/100;
GUP2:=(GUP1-MA(AMOUNT,125)/MA(V,125)/100)/GUP1;
GUP3:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
GUP4:=C/MA(C,60)-1;
小顶部:CROSS(GUP3,-95) AND GUP4<0.2 AND GUP4>=0.1,COLORWHITE; |