副图公式 源码支持手机/电脑
分界线:30,COLORBROWN;
趋势线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORRED;
GUP1:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
GUP2:=FILTER(GUP1,28)*100;
GUP3:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
GUP4:=FILTER((GUP3>90),45) AND FILTER((GUP3>90),35) AND GUP2>0;
GUP5:=GUP4 AND COUNT(GUP4,60)=1;
STICKLINE(GUP5,70,9,6,0),COLORRED;
DRAWTEXT(GUP5,90,'抄底买入'),COLORRED;
DRAWICON(GUP5,80,13);
DRAWTEXT(趋势线<6,10,'抄底'),COLORGREEN;
DRAWTEXT(趋势线>92,95,'逃顶'),COLORGREEN;
选股公式源码
{选股公式:抄底买入}
GUP1:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
GUP2:=FILTER(GUP1,28)*100;
GUP3:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
GUP4:=FILTER((GUP3>90),45) AND FILTER((GUP3>90),35) AND GUP2>0;
GUP5:=GUP4 AND COUNT(GUP4,60)=1;
抄底买入:GUP5; |