副图公式源码支持 手机/电脑
GUP1:=IF(NAMELIKE(1),0,1) AND IF(NAMELIKE(2),0,1);
GUP5:=FINANCE(19)/FINANCE(1);
GUP6:=IF(CLOSE<MA(CLOSE,5),CLOSE>REF(HIGH,1) OR LOW>REF(LOW,1),1);
GUP7:=IF(FINANCE(1)<600000000,1,0);
GUP8:=GUP1 AND GUP7 AND LOW+0.01<GUP5*0.95 AND RANGE(FINANCE(1),10000,600000000) AND FINANCE(34)>CLOSE;
GUP9:=IF(EXIST(GUP8,350),0,1) AND GUP1 AND GUP6 AND GUP7 AND LOW+0.01<GUP5*1.18 AND LOW+0.01>GUP5*0.95 AND RANGE(FINANCE(1),10000,600000000) AND FINANCE(34)*1.18>CLOSE;
GUP10:=GUP1 AND GUP7 AND EXIST(GUP9>0 OR GUP8>0,600) AND (HIGH+0.01<GUP5*1.8 AND HIGH+0.01>GUP5*1.5 AND RANGE(FINANCE(1),10000,600000000));
重仓:FILTER(GUP8=1,10)=1,NODRAW,COLORRED;
STICKLINE(FILTER(GUP8=1,10)=1,0,1,1,0),COLORRED;
轻仓:FILTER(GUP9=1,10)=1,NODRAW,COLORMAGENTA;
STICKLINE(FILTER(GUP9=1,10)=1,0,1,1,0),COLORMAGENTA;
半仓:FILTER(GUP10=1,10)=1,NODRAW,COLORYELLOW;
STICKLINE(FILTER(GUP10=1,10)=1,0,1,1,0),COLORYELLOW;
选股公式源码
{选股公式一:半仓}
GUP1:=IF(NAMELIKE(1),0,1) AND IF(NAMELIKE(2),0,1);
GUP5:=FINANCE(19)/FINANCE(1);
GUP6:=IF(CLOSE<MA(CLOSE,5),CLOSE>REF(HIGH,1) OR LOW>REF(LOW,1),1);
GUP7:=IF(FINANCE(1)<600000000,1,0);
GUP8:=GUP1 AND GUP7 AND LOW+0.01<GUP5*0.95 AND RANGE(FINANCE(1),10000,600000000) AND FINANCE(34)>CLOSE;
GUP9:=IF(EXIST(GUP8,350),0,1) AND GUP1 AND GUP6 AND GUP7 AND LOW+0.01<GUP5*1.18 AND LOW+0.01>GUP5*0.95 AND RANGE(FINANCE(1),10000,600000000) AND FINANCE(34)*1.18>CLOSE;
GUP10:=GUP1 AND GUP7 AND EXIST(GUP9>0 OR GUP8>0,600) AND (HIGH+0.01<GUP5*1.8 AND HIGH+0.01>GUP5*1.5 AND RANGE(FINANCE(1),10000,600000000));
半仓:FILTER(GUP10=1,10)=1,COLORYELLOW;
{选股公式二:轻仓}
GUP1:=IF(NAMELIKE(1),0,1) AND IF(NAMELIKE(2),0,1);
GUP5:=FINANCE(19)/FINANCE(1);
GUP6:=IF(CLOSE<MA(CLOSE,5),CLOSE>REF(HIGH,1) OR LOW>REF(LOW,1),1);
GUP7:=IF(FINANCE(1)<600000000,1,0);
GUP8:=GUP1 AND GUP7 AND LOW+0.01<GUP5*0.95 AND RANGE(FINANCE(1),10000,600000000) AND FINANCE(34)>CLOSE;
GUP9:=IF(EXIST(GUP8,350),0,1) AND GUP1 AND GUP6 AND GUP7 AND LOW+0.01<GUP5*1.18 AND LOW+0.01>GUP5*0.95 AND RANGE(FINANCE(1),10000,600000000) AND FINANCE(34)*1.18>CLOSE;
轻仓:FILTER(GUP9=1,10)=1,COLORMAGENTA;
{选股公式三:重仓}
GUP1:=IF(NAMELIKE(1),0,1) AND IF(NAMELIKE(2),0,1);
GUP5:=FINANCE(19)/FINANCE(1);
GUP6:=IF(CLOSE<MA(CLOSE,5),CLOSE>REF(HIGH,1) OR LOW>REF(LOW,1),1);
GUP7:=IF(FINANCE(1)<600000000,1,0);
GUP8:=GUP1 AND GUP7 AND LOW+0.01<GUP5*0.95 AND RANGE(FINANCE(1),10000,600000000) AND FINANCE(34)>CLOSE;
重仓:FILTER(GUP8=1,10)=1,COLORRED; |