去评论
彩虹桥投资充电站

2024龙头威武 牛气冲天《通达信+指标+公式+副图+源码》

刘冠华
2024/03/22 13:07:58

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

GUP1:=MA(CLOSE,10);
GUP2:=MA(CLOSE,54);
GUP3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
GUP4:=FILTER(GUP3,10);
GUP5:=BARSLAST(GUP4);
GUP6:=REF(HIGH,GUP5+2);
GUP7:=REF(HIGH,GUP5+1);
GUP8:=REF(HIGH,GUP5);
GUP9:=MAX(GUP6,GUP7);
GUP10:=MAX(GUP9,GUP8);
GUP11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
GUP12:=GUP5<150;
GUP13:=(OPEN-GUP10)/GUP10*100<30;
GUP14:=(CLOSE-LLV(LOW,GUP5))/LLV(LOW,GUP5)*100<50;
GUP15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
GUP16:=VOL/MA(VOL,5)<3.5;
GUP17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
GUP18:=GUP11 AND GUP12 AND GUP13 AND GUP14 AND GUP15 AND GUP16 AND GUP17;
GUP19:=FILTER(GUP18,15);
GUP20:=(CLOSE-GUP2)/GUP2<0.1;
GUP21:=(CLOSE-GUP1)/GUP1<0.3;
GUP22:=(GUP20=1 AND GUP21=1)*0.2;
GUP23:=(GUP22=0 AND REF(GUP22,1)=0.2 AND REF(COUNT(GUP22=0.2,10)=10,1)=1)*(-0.1);
GUP24:=GUP23=(-0.1);
GUP25:=GUP19 OR GUP24;
GUP26:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
GUP27:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
GUP28:=GUP25 AND CLOSE/REF(CLOSE,1)>1.095 AND GUP27 AND GUP26;
GUP29:=REF(CLOSE,1);
GUP30:=IF((CLOSE-GUP29)*100/GUP29>=10-0.01*100/GUP29,1,0);
GUP31:=EMA(CLOSE,9);
GUP32:=MA(CLOSE,25)+MA(CLOSE,25)*20/100;
GUP33:=MA(CLOSE,25)+MA(CLOSE,25)*6/100;
GUP34:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
GUP35:=EMA(GUP31*1.14,5);
GUP36:=LLV(REF(LOW,1),2)+(HHV(REF(HIGH,1),2)-LLV(REF(LOW,1),2))/2;
GUP37:=CLOSE>GUP33 AND CLOSE>GUP34 AND CLOSE>GUP36;
GUP38:=COUNT(GUP37,10)=1 AND GUP37;
GUP39:=BARSLAST(GUP38);
GUP40:=CROSS(CLOSE,GUP35);
GUP41:=COUNT(GUP40,GUP39)<=1 AND GUP40;
GUP42:=REF(GUP41,1) AND OPEN>GUP35 AND CLOSE>GUP35;
GUP43:=REF(GUP41,1) AND CROSS(CLOSE,GUP32) AND CLOSE>GUP35;
GUP44:=GUP38 AND GUP41;
GUP45:=GUP42 OR GUP43;
GUP46:=REF(GUP30,1) AND OPEN>GUP35 AND OPEN>REF(HIGH,1) AND REF(HIGH,1)<REF(GUP35,1) AND LOW>=GUP35;
GUP47:=GUP44 OR GUP45 OR GUP46 AND CLOSE>REF(CLOSE,1)*1.05;
GUP48:=MA(CLOSE,1);
GUP49:=SMA(SMA(SMA(GUP48,2,1),2,1),2,1);
GUP50:=MA(GUP49,3);
GUP51:=(3*CLOSE+LOW+OPEN+HIGH)/6;
GUP52:=(20*GUP51+19*REF(GUP51,1)+18*REF(GUP51,2)+17*REF(GUP51,3)+16*REF(GUP51,4)+15*REF(GUP51,5)+14*REF(GUP51,6)+13*REF(GUP51,7)+12*REF(GUP51,8)+11*REF(GUP51,9)+10*REF(GUP51,10)+9*REF(GUP51,11)+8*REF(GUP51,12)+7*REF(GUP51,13)+6*REF(GUP51,14)+5*REF(GUP51,15)+4*REF(GUP51,16)+3*REF(GUP51,17)+2*REF(GUP51,18)+REF(GUP51,20))/210;
DRAWTEXT_FIX(CLOSE>OPEN,0,0.07,0,27),COLOR666666;
DRAWBAND(GUP49,RGB(255,255,0),GUP50,RGB(0,0,255));
DRAWBAND(GUP52,RGB(255,40,0),GUP52,RGB(256,200,0));
STICKLINE(IF(CLOSE>REF(CLOSE,1)*1.096,2,0),OPEN,CLOSE,3,0),COLORRED;
DRAWTEXT(GUP47=1,LOW*0.93,'龙头'),COLORRED;
DRAWTEXT(GUP28,LOW*0.99,'牛气'),COLORYELLOW;

选股公式源码



{选股公式一:龙头}
GUP29:=REF(CLOSE,1);
GUP30:=IF((CLOSE-GUP29)*100/GUP29>=10-0.01*100/GUP29,1,0);
GUP31:=EMA(CLOSE,9);
GUP32:=MA(CLOSE,25)+MA(CLOSE,25)*20/100;
GUP33:=MA(CLOSE,25)+MA(CLOSE,25)*6/100;
GUP34:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
GUP35:=EMA(GUP31*1.14,5);
GUP36:=LLV(REF(LOW,1),2)+(HHV(REF(HIGH,1),2)-LLV(REF(LOW,1),2))/2;
GUP37:=CLOSE>GUP33 AND CLOSE>GUP34 AND CLOSE>GUP36;
GUP38:=COUNT(GUP37,10)=1 AND GUP37;
GUP39:=BARSLAST(GUP38);
GUP40:=CROSS(CLOSE,GUP35);
GUP41:=COUNT(GUP40,GUP39)<=1 AND GUP40;
GUP42:=REF(GUP41,1) AND OPEN>GUP35 AND CLOSE>GUP35;
GUP43:=REF(GUP41,1) AND CROSS(CLOSE,GUP32) AND CLOSE>GUP35;
GUP44:=GUP38 AND GUP41;
GUP45:=GUP42 OR GUP43;
GUP46:=REF(GUP30,1) AND OPEN>GUP35 AND OPEN>REF(HIGH,1) AND REF(HIGH,1)<REF(GUP35,1) AND LOW>=GUP35;
GUP47:=GUP44 OR GUP45 OR GUP46 AND CLOSE>REF(CLOSE,1)*1.05;
龙头:GUP47=1;
{选股公式二:牛气}
GUP1:=MA(CLOSE,10);
GUP2:=MA(CLOSE,54);
GUP3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
GUP4:=FILTER(GUP3,10);
GUP5:=BARSLAST(GUP4);
GUP6:=REF(HIGH,GUP5+2);
GUP7:=REF(HIGH,GUP5+1);
GUP8:=REF(HIGH,GUP5);
GUP9:=MAX(GUP6,GUP7);
GUP10:=MAX(GUP9,GUP8);
GUP11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
GUP12:=GUP5<150;
GUP13:=(OPEN-GUP10)/GUP10*100<30;
GUP14:=(CLOSE-LLV(LOW,GUP5))/LLV(LOW,GUP5)*100<50;
GUP15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
GUP16:=VOL/MA(VOL,5)<3.5;
GUP17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
GUP18:=GUP11 AND GUP12 AND GUP13 AND GUP14 AND GUP15 AND GUP16 AND GUP17;
GUP19:=FILTER(GUP18,15);
GUP20:=(CLOSE-GUP2)/GUP2<0.1;
GUP21:=(CLOSE-GUP1)/GUP1<0.3;
GUP22:=(GUP20=1 AND GUP21=1)*0.2;
GUP23:=(GUP22=0 AND REF(GUP22,1)=0.2 AND REF(COUNT(GUP22=0.2,10)=10,1)=1)*(-0.1);
GUP24:=GUP23=(-0.1);
GUP25:=GUP19 OR GUP24;
GUP26:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
GUP27:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
GUP28:=GUP25 AND CLOSE/REF(CLOSE,1)>1.095 AND GUP27 AND GUP26;
牛气:GUP28;
  • 鍏嶈垂鎸囨爣鍒嗕韩銆愮簿鍝佹寚鏍囥戞捣楸间箣閲戜紭鍖栫増鈥斺旂ǔ瀹氬彲闈犵殑
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愭父璧勯噾榫欑獊鐮淬戜富鍥炬寚鏍 锛屽姪浣犺偂
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愰緳鑸熸姄榫欍 鎵嬫満鐢佃剳閫氱敤鍓夋寚鏍
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇♀滄瀬闄愭礂鐩樷濆壇鍥炬寚鏍囬夎偂鍏紡--鍚姩
  • 鍏嶈垂鎸囨爣鍒嗕韩0729|鈥嬧嬧嬧嬮氳揪淇¢珮鑳滅巼銆愮珵浠疯繛鏉挎墦濡
  • 鍏嶈垂鎸囨爣鍒嗕韩鍛ㄦ湯绂忓埄閾佹爲寮鑺辫繘鍑荤増鎸囨爣婧愮爜涓诲浘闄勫浘閫