今日上上签 发表于 2024-4-11 13:33:34

2024双龙出击 爆发起飞《通达信+指标+公式+副图+源码》


副图公式源码支持 手机/电脑

GUP1:=1;
GUP2:=((((2*CLOSE)+HIGH)+LOW) / 4);
GUP3:=LLV(LOW,34);
GUP4:=LLV(LOW,5);
GUP5:=HHV(HIGH,4);
GUA1:=(EMA((((GUP2-GUP4)/(GUP5-GUP4))*100),4)*GUP1);
GUA2:=(EMA(((0.667*REF(GUA1,1))+(0.333*GUA1)),2)*GUP1);
GUA3:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50);
GUP22:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP44:=HHV(HIGH,34);
GUA4:=EMA((GUP22-GUP3)/(GUP44-GUP3)*100,13),COLOR00FF00;
GUP11:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
GUP222:=SMA(GUP11,9,1)+100;
GUP33:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP444:=SMA(GUP33,3,1);
GUP55:=SMA(GUP444,3,1)+100;
GUP6:=GUP55-GUP222;
GUA5:=IF(GUP6>45,GUP6-45,0),COLOR00FFFF;
起飞:=CROSS(GUA1,GUA2) AND CROSS(GUA3,GUA4) AND GUA5>REF(GUA5,1);
STICKLINE(起飞,0.5,1,2,0),COLORLIMAGENTA;
STICKLINE(起飞,0,0.5,3,0),COLORMAGENTA;
DRAWTEXT(起飞,起飞/1.4,'起'),COLORYELLOW;
DRAWTEXT(起飞,起飞/2.2,'飞'),COLORYELLOW;
GUB1:=((MA(C,60)-L)/MA(C,20))*200;
GUB2:=((MA(C,60)-L)/MA(C,60))*200;
GUB3:=((MA(C,30)-L)/MA(C,60))*200;
GUB4:=REF(CLOSE,1);
GUB5:=SMA(MAX(CLOSE-GUB4,0),7,1)/SMA(ABS(CLOSE-GUB4),7,1)*100;
GUB6:=FILTER(REF(GUB5,1)<20 AND GUB5>REF(GUB5,1),5);
GUB7:=C/MA(C,40)<0.74;
GUB8:=5;
GUB9:=EMA(C,GUB8);
GUB10:=EMA(GUB9,GUB8);
GUB11:=GUB9-REF(GUB9,1);
GUB12:=GUB10-REF(GUB10,1);
GUB13:= ABS(GUB9-GUB10);
GUB14:=(H-L)/REF(C,1)>0.05;
GUB15:= (GUB11+GUB12)/2;
GUB17:= POW(GUB13,1)*POW(GUB15,3);
GUB18:=GUB17/HHV(ABS(GUB17),GUB8*3);
GUB19:=COUNT(GUB14,5)>1;
GUB20:=GUB7 AND GUB14 AND GUB19;
GUB21:=CROSS(GUB18,-0.9);
GUB22:=FILTER((GUB6 AND GUB3>20 OR C>REF(C,1)) AND REF(GUB20,1),10);
GUB23:=FILTER(REF(GUB20,1) AND (GUB21 OR C>REF(C,1)) AND MACD.MACD>-1.5,10);
爆发:=COUNT(GUB23,13)>=1 AND GUB22;
STICKLINE(爆发,0.5,1,2,0),COLORLIRED;
STICKLINE(爆发,0,0.5,3,0),COLORRED;
DRAWTEXT(爆发,爆发/1.4,'爆'),COLORYELLOW;
DRAWTEXT(爆发,爆发/2.2,'发'),COLORYELLOW;

选股公式源码



{选股公式一:起飞}
GUP1:=1;
GUP2:=((((2*CLOSE)+HIGH)+LOW) / 4);
GUP3:=LLV(LOW,34);
GUP4:=LLV(LOW,5);
GUP5:=HHV(HIGH,4);
GUA1:=(EMA((((GUP2-GUP4)/(GUP5-GUP4))*100),4)*GUP1);
GUA2:=(EMA(((0.667*REF(GUA1,1))+(0.333*GUA1)),2)*GUP1);
GUA3:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50);
GUP22:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP44:=HHV(HIGH,34);
GUA4:=EMA((GUP22-GUP3)/(GUP44-GUP3)*100,13),COLOR00FF00;
GUP11:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
GUP222:=SMA(GUP11,9,1)+100;
GUP33:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP444:=SMA(GUP33,3,1);
GUP55:=SMA(GUP444,3,1)+100;
GUP6:=GUP55-GUP222;
GUA5:=IF(GUP6>45,GUP6-45,0),COLOR00FFFF;
起飞:CROSS(GUA1,GUA2) AND CROSS(GUA3,GUA4) AND GUA5>REF(GUA5,1);
{选股公式二:爆发}
GUB1:=((MA(C,60)-L)/MA(C,20))*200;
GUB2:=((MA(C,60)-L)/MA(C,60))*200;
GUB3:=((MA(C,30)-L)/MA(C,60))*200;
GUB4:=REF(CLOSE,1);
GUB5:=SMA(MAX(CLOSE-GUB4,0),7,1)/SMA(ABS(CLOSE-GUB4),7,1)*100;
GUB6:=FILTER(REF(GUB5,1)<20 AND GUB5>REF(GUB5,1),5);
GUB7:=C/MA(C,40)<0.74;
GUB8:=5;
GUB9:=EMA(C,GUB8);
GUB10:=EMA(GUB9,GUB8);
GUB11:=GUB9-REF(GUB9,1);
GUB12:=GUB10-REF(GUB10,1);
GUB13:= ABS(GUB9-GUB10);
GUB14:=(H-L)/REF(C,1)>0.05;
GUB15:= (GUB11+GUB12)/2;
GUB17:= POW(GUB13,1)*POW(GUB15,3);
GUB18:=GUB17/HHV(ABS(GUB17),GUB8*3);
GUB19:=COUNT(GUB14,5)>1;
GUB20:=GUB7 AND GUB14 AND GUB19;
GUB21:=CROSS(GUB18,-0.9);
GUB22:=FILTER((GUB6 AND GUB3>20 OR C>REF(C,1)) AND REF(GUB20,1),10);
GUB23:=FILTER(REF(GUB20,1) AND (GUB21 OR C>REF(C,1)) AND MACD.MACD>-1.5,10);
爆发:COUNT(GUB23,13)>=1 AND GUB22;
页: [1]
查看完整版本: 2024双龙出击 爆发起飞《通达信+指标+公式+副图+源码》