副图公式源码支持 手机/电脑
GUA:=LLV(LOW,30);
GUB:=HHV(HIGH,30);
GUC:=(EMA(((CLOSE-GUA)/(GUB-GUA))*(4),4))*(25);
趋势:GUC,COLORRED,LINETHICK2;
风险:80,COLORFF00FF;
顶部:87.5,COLOR00FF00;
关注:10,COLOR0000FF;
分界:35,COLORWHITE;
GUP1:=(2*CLOSE-HIGH)/4;
GUP2:=MA(GUP1,20);
绝底:IF(CROSS(趋势,5)AND C>REF(C,1),8,0),COLORYELLOW;
DRAWTEXT(CROSS(趋势,5)AND C>REF(C,1),73,'绝底'), COLORGREEN;
试买:IF(CROSS(趋势,9) AND COUNT((趋势<9)=1,3) AND C>REF(C,1),12,0),COLORGREEN;
DRAWTEXT(CROSS(趋势,9) AND COUNT((趋势<9)=1,3) AND C>REF(C,1),53,'试买'), COLORYELLOW;
建仓:IF(CROSS(趋势,10) ,12,0),COLORYELLOW;
DRAWTEXT(CROSS(趋势,10),33,'建仓'), COLORWHITE;
追涨:IF(FILTER(CROSS(趋势,40) AND C>GUP2,5) ,35,10),COLORYELLOW;
DRAWTEXT(FILTER(CROSS(趋势,40) AND C>GUP2,5),43,'追涨'), COLORRED;
减仓:IF(CROSS(趋势,83),75,87.5),COLORYELLOW;
DRAWTEXT(CROSS(趋势,83),72,'减仓'),COLORYELLOW;
小顶:IF(CROSS(趋势,90),67,87.5),COLORWHITE;
DRAWTEXT(CROSS(趋势,90),65,'小顶'),COLORWHITE;
大顶:IF(CROSS(趋势,93),60,87.5),COLORRED;
DRAWTEXT(CROSS(趋势,93),60,'大顶'),COLORWHITE;
绝顶:IF(CROSS(趋势,96),60,87.5),COLORRED;
DRAWTEXT(CROSS(趋势,96),60,'绝顶'),COLORWHITE;
选股公式源码
{选股公式一:绝底}
GUA:=LLV(LOW,30);
GUB:=HHV(HIGH,30);
GUC:=(EMA(((CLOSE-GUA)/(GUB-GUA))*(4),4))*(25);
{趋势:GUC,COLORRED,LINETHICK2;
风险:80,COLORFF00FF;
顶部:87.5,COLOR00FF00;
关注:10,COLOR0000FF;
分界:35,COLORWHITE;}
趋势:=GUC,COLORRED,LINETHICK2;
{DRAWTEXT(CROSS(趋势,5)AND C>REF(C,1),73,'绝底'), COLORGREEN;}
绝底:CROSS(趋势,5)AND C>REF(C,1);
{选股公式二:试买}
GUA:=LLV(LOW,30);
GUB:=HHV(HIGH,30);
GUC:=(EMA(((CLOSE-GUA)/(GUB-GUA))*(4),4))*(25);
趋势:=GUC,COLORRED,LINETHICK2;
GUP1:=(2*CLOSE-HIGH)/4;
GUP2:=MA(GUP1,20);
{DRAWTEXT(CROSS(趋势,9) AND COUNT((趋势<9)=1,3) AND C>REF(C,1),53,'试买'), COLORYELLOW;}
试买:CROSS(趋势,9) AND COUNT((趋势<9)=1,3) AND C>REF(C,1);
{选股公式三:建仓}
GUA:=LLV(LOW,30);
GUB:=HHV(HIGH,30);
GUC:=(EMA(((CLOSE-GUA)/(GUB-GUA))*(4),4))*(25);
{趋势:GUC,COLORRED,LINETHICK2;
风险:80,COLORFF00FF;
顶部:87.5,COLOR00FF00;
关注:10,COLOR0000FF;
分界:35,COLORWHITE;}
趋势:=GUC,COLORRED,LINETHICK2;
{DRAWTEXT(CROSS(趋势,10),33,'建仓'), COLORWHITE;}
建仓:CROSS(趋势,9) AND COUNT((趋势<9)=1,3) AND C>REF(C,1);
{选股公式四:追涨}
GUA:=LLV(LOW,30);
GUB:=HHV(HIGH,30);
GUC:=(EMA(((CLOSE-GUA)/(GUB-GUA))*(4),4))*(25);
趋势:=GUC,COLORRED,LINETHICK2;
GUP1:=(2*CLOSE-HIGH)/4;
GUP2:=MA(GUP1,20);
{DRAWTEXT(FILTER(CROSS(趋势,40) AND C>GUP2,5),43,'追涨'), COLORRED;}
建仓:FILTER(CROSS(趋势,40) AND C>GUP2,5);
|