副图公式源码支持 手机/电脑
GUP2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*200*10;
强度:SMA(GUP2,5,1),COLORRED;
顶部区:1500,COLORYELLOW;
中间区:1000,COLORWHITE;
GUP3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
GUP4:=(IF(CLOSE>OPEN,GUP3*(HIGH-LOW),IF(CLOSE<OPEN,GUP3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-GUP3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-GUP3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-GUP3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-GUP3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,GUP3*(HIGH-LOW),IF(CLOSE<OPEN,GUP3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));
GUP5:=AMOUNT/(100*VOL);
GUP6:=MA(GUP5,40);
GUP7:=100*(CLOSE-GUP6)/GUP6;
抄底上攻:IF(GUP4>0 AND GUP7<-12 AND CLOSE/OPEN>1.08,300,200),COLORRED;
STICKLINE(GUP4>0 AND GUP7<-12 AND CLOSE/OPEN>1.08,1200,200,5,0),COLORRED;
买入:IF(GUP4>0 AND GUP7<-12 AND CLOSE/OPEN>1.05,300,200),COLORMAGENTA;
STICKLINE(GUP4>0 AND GUP7<-12 AND CLOSE/OPEN>1.05,800,200,3,1),COLORMAGENTA;
GUP8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
GUP9:=SMA(GUP8,3,1);
GUPA:=SMA(GUP9,3,1);
D:SMA(GUPA,5,1)*20,COLORCYAN;
STICKLINE(CROSS(D,1500),1600,200,1,0),COLORGREEN;
选股公式源码
{选股公式一:抄底上攻}
GUP3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
GUP4:=(IF(CLOSE>OPEN,GUP3*(HIGH-LOW),IF(CLOSE<OPEN,GUP3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-GUP3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-GUP3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-GUP3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-GUP3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,GUP3*(HIGH-LOW),IF(CLOSE<OPEN,GUP3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));
GUP5:=AMOUNT/(100*VOL);
GUP6:=MA(GUP5,40);
GUP7:=100*(CLOSE-GUP6)/GUP6;
抄底上攻:GUP4>0 AND GUP7<-12 AND CLOSE/OPEN>1.08,COLORRED;
{选股公式二:买入}
GUP3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
GUP4:=(IF(CLOSE>OPEN,GUP3*(HIGH-LOW),IF(CLOSE<OPEN,GUP3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-GUP3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-GUP3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-GUP3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-GUP3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,GUP3*(HIGH-LOW),IF(CLOSE<OPEN,GUP3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));
GUP5:=AMOUNT/(100*VOL);
GUP6:=MA(GUP5,40);
GUP7:=100*(CLOSE-GUP6)/GUP6;
买入:GUP4>0 AND GUP7<-12 AND CLOSE/OPEN>1.05,COLORMAGENTA;
|