副图公式源码支持 手机/电脑
GUP1:=((MA(C,60)-L)/MA(C,20))*200;
GUP2:=((MA(C,60)-L)/MA(C,60))*200;
GUP3:=((MA(C,30)-L)/MA(C,60))*200;
GUP4:=REF(CLOSE,1);
GUP5:=SMA(MAX(CLOSE-GUP4,0),7,1)/SMA(ABS(CLOSE-GUP4),7,1)*100;
GUP6:=FILTER(REF(GUP5,1)<20 AND GUP5>REF(GUP5,1),5);
GUP7:=C/MA(C,40)<0.74;
GUP8:=EMA(C,5);
GUP9:=EMA(GUP8,5);
GUP10:=GUP8-REF(GUP8,1);
GUP11:=GUP9-REF(GUP9,1);
GUP12:=ABS(GUP8-GUP9);
GUP13:=(H-L)/REF(C,1)>0.05;
GUP14:=(GUP10+GUP11)/2;
GUP15:=POW(GUP12,1)*POW(GUP14,3);
GUP16:=GUP15/HHV(ABS(GUP15),5*3);
GUP17:=COUNT(GUP13,5)>1;
GUP18:=GUP7 AND GUP13 AND GUP17;
GUP19:=CROSS(GUP16,-0.9);
GUP20:=FILTER((GUP6 AND GUP3>20 OR C>REF(C,1)) AND REF(GUP18,1),10);
GUP21:=FILTER(REF(GUP18,1) AND (GUP19 OR C>REF(C,1)) AND "MACD.MACD">-1.5,10);
GUP22:=COUNT(GUP21,13)>=1 AND GUP20;
DRAWTEXT(GUP22>0.1,L*0.94,'↖牛底难寻'),COLORYELLOW;
DRAWICON(GUP22>0.1,L*0.96,34),COLORRED;
GUA2:=(REF(HIGH,1)+REF(LOW,1))/2;
GUA3:=MA(CLOSE,21)+2*STD(CLOSE,21);
GUA4:=REF(CLOSE,1);
GUA5:=SMA(MAX(CLOSE-GUA4,0),7,1)/SMA(ABS(CLOSE-GUA4),7,1)*100;
GUA6:=CROSS(79,GUA5);
GUA7:=FILTER(GUA6,4);
GUA8:=CROSS(GUA5,20);
GUA9:=FILTER(GUA8,4);
买进:=FILTER((GUA9),2);
DRAWICON(买进,L*0.98,1);
DRAWTEXT(买进,L*0.975,'买进'),COLORMAGENTA;
选股公式源码
{选股公式一:买进}
GUP1:=((MA(C,60)-L)/MA(C,20))*200;
GUP2:=((MA(C,60)-L)/MA(C,60))*200;
GUA2:=(REF(HIGH,1)+REF(LOW,1))/2;
GUA3:=MA(CLOSE,21)+2*STD(CLOSE,21);
GUA4:=REF(CLOSE,1);
GUA5:=SMA(MAX(CLOSE-GUA4,0),7,1)/SMA(ABS(CLOSE-GUA4),7,1)*100;
GUA6:=CROSS(79,GUA5);
GUA7:=FILTER(GUA6,4);
GUA8:=CROSS(GUA5,20);
GUA9:=FILTER(GUA8,4);
买进:FILTER((GUA9),2);
{选股公式二:牛底难寻}
GUP1:=((MA(C,60)-L)/MA(C,20))*200;
GUP2:=((MA(C,60)-L)/MA(C,60))*200;
GUP3:=((MA(C,30)-L)/MA(C,60))*200;
GUP4:=REF(CLOSE,1);
GUP5:=SMA(MAX(CLOSE-GUP4,0),7,1)/SMA(ABS(CLOSE-GUP4),7,1)*100;
GUP6:=FILTER(REF(GUP5,1)<20 AND GUP5>REF(GUP5,1),5);
GUP7:=C/MA(C,40)<0.74;
GUP8:=EMA(C,5);
GUP9:=EMA(GUP8,5);
GUP10:=GUP8-REF(GUP8,1);
GUP11:=GUP9-REF(GUP9,1);
GUP12:=ABS(GUP8-GUP9);
GUP13:=(H-L)/REF(C,1)>0.05;
GUP14:=(GUP10+GUP11)/2;
GUP15:=POW(GUP12,1)*POW(GUP14,3);
GUP16:=GUP15/HHV(ABS(GUP15),5*3);
GUP17:=COUNT(GUP13,5)>1;
GUP18:=GUP7 AND GUP13 AND GUP17;
GUP19:=CROSS(GUP16,-0.9);
GUP20:=FILTER((GUP6 AND GUP3>20 OR C>REF(C,1)) AND REF(GUP18,1),10);
GUP21:=FILTER(REF(GUP18,1) AND (GUP19 OR C>REF(C,1)) AND "MACD.MACD">-1.5,10);
牛底难寻:COUNT(GUP21,13)>=1 AND GUP20; |