副图公式 源码支持手机/电脑
GUP0:=DYNAINFO(5);
GUP1:=BARSCOUNT(HIGH);
GUP2:=(SMA((HIGH/HHV(CLOSE,120)),3,1)*100);
GUA1:=IF((GUP1>20),GUP2,0);
GUP11:=IF((HIGH<GUP0),0,IF((LOW>GUP0),1,(((GUP0-HIGH)+0.009)/((LOW-HIGH)+0.009))));
GUA2:=(DMA(GUP11,(VOL /SUM(VOL,90)))*60);
GUA3:=(DMA(GUP11,(VOL/CAPITAL))*60);
GUP12:=IF(C>1000,GUA2,GUA3);
GUP3:=IF((((GUP12>0) AND (GUP12>REF(GUP12,1))) AND (GUA1>=88)),GUP2,0);
GUP4:=((3*SMA((((CLOSE-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27)))*100),5,1))-(2*SMA(SMA((((HIGH-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27)))*100),5,1),3,1)));
GUP5:=EMA(GUP4,8);
GUP6:=((3*SMA((((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55)))*100),5,1))-(2*SMA(SMA((((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55)))*100),5,1),3,1)));
GUP7:=(EMA(GUP6,3)-10);
GUC1:=1.1*C;
GUC2:=0.9*C;
GUC3:=100*(WINNER(GUC1)-WINNER(GUC2));
GUC4:=MA(C,13)<REF(MA(C,13),1);
GUC5:=IF(C>1000,CROSS(GUP3,22),CROSS(GUP3,24));
锁筹:=100-GUC3;
买入区:STICKLINE(锁筹>70 AND GUC4,0,锁筹-65,8,0),COLORLIRED;
卖出区:STICKLINE(((GUP3>0) AND ((GUP7<20) OR ((GUP7>REF(GUP7,1)) AND (GUP7<50)))),0,GUP3,8,0),COLORLICYAN;
明买:IF(CROSS(锁筹,90) AND GUC4,锁筹-50,0),COLORRED,LINETHICK2;
明卖:IF(GUC5,GUP3+10,0),COLORGREEN,LINETHICK2;
选股公式源码
{选股公式:明买}
GUP0:=DYNAINFO(5);
GUP1:=BARSCOUNT(HIGH);
GUP2:=(SMA((HIGH/HHV(CLOSE,120)),3,1)*100);
GUA1:=IF((GUP1>20),GUP2,0);
GUP11:=IF((HIGH<GUP0),0,IF((LOW>GUP0),1,(((GUP0-HIGH)+0.009)/((LOW-HIGH)+0.009))));
GUA2:=(DMA(GUP11,(VOL /SUM(VOL,90)))*60);
GUA3:=(DMA(GUP11,(VOL/CAPITAL))*60);
GUP12:=IF(C>1000,GUA2,GUA3);
GUP3:=IF((((GUP12>0) AND (GUP12>REF(GUP12,1))) AND (GUA1>=88)),GUP2,0);
GUP4:=((3*SMA((((CLOSE-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27)))*100),5,1))-(2*SMA(SMA((((HIGH-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27)))*100),5,1),3,1)));
GUP5:=EMA(GUP4,8);
GUP6:=((3*SMA((((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55)))*100),5,1))-(2*SMA(SMA((((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55)))*100),5,1),3,1)));
GUP7:=(EMA(GUP6,3)-10);
GUC1:=1.1*C;
GUC2:=0.9*C;
GUC3:=100*(WINNER(GUC1)-WINNER(GUC2));
GUC4:=MA(C,13)<REF(MA(C,13),1);
锁筹:=100-GUC3;
明买:CROSS(锁筹,90) AND GUC4;
{卖出公式:明卖}
GUP0:=DYNAINFO(5);
GUP1:=BARSCOUNT(HIGH);
GUP2:=(SMA((HIGH/HHV(CLOSE,120)),3,1)*100);
GUA1:=IF((GUP1>20),GUP2,0);
GUP11:=IF((HIGH<GUP0),0,IF((LOW>GUP0),1,(((GUP0-HIGH)+0.009)/((LOW-HIGH)+0.009))));
GUA2:=(DMA(GUP11,(VOL /SUM(VOL,90)))*60);
GUA3:=(DMA(GUP11,(VOL/CAPITAL))*60);
GUP12:=IF(C>1000,GUA2,GUA3);
GUP3:=IF((((GUP12>0) AND (GUP12>REF(GUP12,1))) AND (GUA1>=88)),GUP2,0);
GUC5:=IF(C>1000,CROSS(GUP3,22),CROSS(GUP3,24));
明卖:GUC5; |