副图公式 源码支持手机/电脑
GUPC:=HHV(HIGH,9)-LLV(LOW,9);
GUPD:=HHV(HIGH,9)-CLOSE;
GUPE:=CLOSE-LLV(LOW,9);
GUPF:=GUPD/GUPC*100-70;
GUP10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
GUP11:=(2*CLOSE+HIGH+LOW)/4;
GUP12:=SMA(GUPE/GUPC*100,3,1);
GUP13:=LLV(LOW,34);
GUP14:=SMA(GUP12,3,1)-SMA(GUPF,9,1);
GUP15:=IF(GUP14>100,GUP14-100,0);
GUP16:=HHV(HIGH,34);
GUP17:=EMA((GUP11-GUP13)/(GUP16-GUP13)*100,8);
GUA1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUA2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
GUA3:=SMA(GUA2,9,1);
GUA4:=SMA(GUA3,3,1);
AA:=3*GUA3-2*GUA4,COLORYELLOW;
卖出:IF(CROSS(GUP17,AA) AND REF(AA,1)>80,85,90),COLORGREEN,LINETHICK4;
GUP18:=EMA(GUP17,5);
STICKLINE(GUP17-GUP18>0,GUP17,GUP18,10,0),COLORRED;
STICKLINE(GUP17-GUP18<0,GUP17,GUP18,10,0),COLORGREEN;
GUA5:=AA>1*REF(AA,1);
GUA6:=HHVBARS(HIGH,50);
GUA7:=SUM(VOL,GUA6);
GUB8:=(CLOSE-REF(OPEN,GUA6))/REF(OPEN,GUA6)*100;
GUB1:=EMA(GUA3,3),COLORFFDDCC;
GUB2:=EMA(GUB1,3),COLORFFBBCC;
GUB3:=EMA(GUB2,3),COLORFF99CC;
GUB4:=EMA(GUB3,3),COLORFF55CC;
GUB5:=EMA(GUB4,3),COLORFF33CC;
重点关注:IF(CROSS(AA,20) AND GUB8<-13,10,0),COLOR00FF00;
买点:IF(CROSS(AA,GUP18) AND 18>REF(AA,1),10,0),COLORMAGENTA,LINETHICK4;
选股公式源码
{选股公式一:买点}
GUPC:=HHV(HIGH,9)-LLV(LOW,9);
GUPD:=HHV(HIGH,9)-CLOSE;
GUPE:=CLOSE-LLV(LOW,9);
GUPF:=GUPD/GUPC*100-70;
GUP10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
GUP11:=(2*CLOSE+HIGH+LOW)/4;
GUP12:=SMA(GUPE/GUPC*100,3,1);
GUP13:=LLV(LOW,34);
GUP14:=SMA(GUP12,3,1)-SMA(GUPF,9,1);
GUP15:=IF(GUP14>100,GUP14-100,0);
GUP16:=HHV(HIGH,34);
GUP17:=EMA((GUP11-GUP13)/(GUP16-GUP13)*100,8);
GUP18:=EMA(GUP17,5);
GUA1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUA2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
GUA3:=SMA(GUA2,9,1);
GUA4:=SMA(GUA3,3,1);
AA:=3*GUA3-2*GUA4,COLORYELLOW;
买点:CROSS(AA,GUP18) AND 18>REF(AA,1);
{选股公式二:重点关注}
GUPC:=HHV(HIGH,9)-LLV(LOW,9);
GUPD:=HHV(HIGH,9)-CLOSE;
GUPE:=CLOSE-LLV(LOW,9);
GUPF:=GUPD/GUPC*100-70;
GUP10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
GUP11:=(2*CLOSE+HIGH+LOW)/4;
GUP12:=SMA(GUPE/GUPC*100,3,1);
GUP13:=LLV(LOW,34);
GUP14:=SMA(GUP12,3,1)-SMA(GUPF,9,1);
GUP15:=IF(GUP14>100,GUP14-100,0);
GUP16:=HHV(HIGH,34);
GUP17:=EMA((GUP11-GUP13)/(GUP16-GUP13)*100,8);
GUA1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUA2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
GUA3:=SMA(GUA2,9,1);
GUA4:=SMA(GUA3,3,1);
AA:=3*GUA3-2*GUA4,COLORYELLOW;
GUP18:=EMA(GUP17,5);
GUA5:=AA>1*REF(AA,1);
GUA6:=HHVBARS(HIGH,50);
GUA7:=SUM(VOL,GUA6);
GUB8:=(CLOSE-REF(OPEN,GUA6))/REF(OPEN,GUA6)*100;
重点关注:CROSS(AA,20) AND GUB8<-13; |