精悍买入提示 三色美化信号《通达信+指标+公式+副图+源码》

[复制链接]
查看22082 | 回复0 | 2023-7-27 10:06 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
64c1d0a65a7c5.png
副图公式源码支持: 手机/电脑



GUP1:=MA(CLOSE,5);GUP2:=MA(CLOSE,10);
GUP3:=MA(CLOSE,60);GUP4:=MA(CLOSE,120);
GUP5:=REF(CLOSE,1)<REF(GUP1,1) AND OPEN<GUP1 AND GUP1>GUP4;
GUP6:=REF(GUP5,1)=0 AND GUP5;GUP7:=EMA(HHV(HIGH,1),8);
GUP8:=EMA(CLOSE,8);GUP9:=GUP8<REF(GUP8,1) AND CLOSE<GUP8;
GUP10:=IF(GUP7<REF(GUP7,1) OR GUP9,1,0);
GUP11:=(COUNT(GUP10=1,4)=3 AND GUP10=0)*89;
GUP12:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
GUP13:=IF(CLOSE>OPEN,GUP12*(HIGH-LOW),IF(CLOSE<OPEN,GUP12*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-GUP12*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-GUP12*(HIGH-LOW),0-VOL/2));
GUP14:=GUP13/20/1.15;
GUP15:=GUP14*0.55+REF(GUP14,1)*0.33+REF(GUP14,2)*0.22;
GUP16:=EMA(GUP15,3);GUP17:=GUP16<100;
GUP18:=COUNT(GUP17,9)<2;GUP19:=CLOSE/REF(CLOSE,1)>1.09;
GUP20:=CLOSE=HIGH;GUP21:=REF(GUP19,1) AND REF(GUP20,1);
GUP22:=COUNT(GUP21,11)>0;GUP23:=MA(CLOSE,3);
GUP24:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUP25:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUP26:=REF(HHV(VOL,10),1);GUP27:=MA(CLOSE,20);GUP28:=(GUP23+GUP1)/2;
GUP29:=COUNT(COUNT(GUP24>9.9 AND CLOSE=HIGH,1)>=1,30)>0;
GUP30:=COUNT(COUNT(GUP24>9.9 AND CLOSE=HIGH,1)>=1,60)>0;
GUP31:=GUP27>REF(GUP27,1) AND VOL<GUP26 AND GUP29 AND GUP25>3 AND OPEN<=GUP1 AND CLOSE>GUP1 AND (COUNT(GUP28>REF(GUP28,1),3)>=3 OR COUNT(GUP1>REF(GUP1,1),3)>=3) AND COUNT(GUP27>REF(GUP27,1),25)>=16;
GUP32:=(CLOSE-OPEN)/OPEN*100;
GUP33:=GUP30 AND VOL<1.3*REF(VOL,1) AND COUNT(GUP32>0.5,6)>=5 AND COUNT(GUP23>GUP1,5)>=5 AND COUNT(HIGH>REF(HIGH,1),6)>=5 AND GUP25>4.5 AND OPEN<=GUP23 AND CLOSE>GUP23 AND OPEN>GUP1;
GUP34:=GUP31 OR GUP33;GUP35:=GUP34=1 AND COUNT(GUP34,15)=1;
GUP36:=AMOUNT/VOL/7;GUP37:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
GUP38:=SUM(AMOUNT,10)/GUP36/7;GUP39:=DMA(GUP37,VOL/GUP38);
GUP40:=(CLOSE-GUP39)/GUP39*100;GUP41:=-GUP40;
GUP42:=GUP40>GUP41;GUP43:=CROSS(GUP40,0.6) AND GUP42;
GUP44:=EMA(CLOSE/REF(CLOSE,1),5);
GUP45:=EMA(CLOSE/REF(CLOSE,1),10);
GUP46:=CROSS(GUP44,GUP45);
GUP47:=GUP43 AND GUP46;GUP48:=GUP47 AND GUP35;
GUP49:=COUNT(GUP35,10)>0;
GUP50:=GUP47 AND GUP49 AND GUP22;
GUP51:=GUP47 AND GUP22 AND GUP11;
GUP52:=GUP48 AND GUP22;GUP53:=GUP50 OR GUP52 OR GUP51;
GUP54:=(EMA(CLOSE,12)-EMA(CLOSE,26))/EMA(CLOSE,26)*100;
GUP55:=EMA(GUP54,9);GUP56:=(GUP54-GUP55)*100;
GUP57:=GUP56-REF(GUP56,1);GUP58:=CROSS(GUP57,50);
GUP59:=EMA(EMA(EMA(CLOSE,12),12),12);
GUP60:=(GUP59-REF(GUP59,1))/REF(GUP59,1)*100;
GUP61:=MA(GUP60,9);GUP62:=GUP60>GUP61;
GUP63:=CLOSE/REF(CLOSE,1)>1.09;GUP64:=CLOSE=HIGH;
GUP65:=REF(GUP63,1) AND REF(GUP64,1);
GUP66:=COUNT(GUP65,4)>0;GUP67:=COUNT(GUP65,5)>0;
GUP68:=(3*CLOSE+LOW+OPEN+HIGH)/6;
GUP69:=(20*GUP68+19*REF(GUP68,1)+18*REF(GUP68,2)+17*REF(GUP68,3)+16*REF(GUP68,4)+15*REF(GUP68,5)+14*REF(GUP68,6)+13*REF(GUP68,7)+12*REF(GUP68,8)+11*REF(GUP68,9)+10*REF(GUP68,10)+9*REF(GUP68,11)+8*REF(GUP68,12)+7*REF(GUP68,13)+6*REF(GUP68,14)+5*REF(GUP68,15)+4*REF(GUP68,16)+3*REF(GUP68,17)+2*REF(GUP68,18)+REF(GUP68,20))/210;
GUP70:=MA(GUP69,6);GUP71:=GUP69>GUP70;
GUP72:=CLOSE>1.02*REF(CLOSE,1);
GUP73:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<(-6);
GUP74:=REF(CLOSE,1)>(REF(CLOSE,BARSLAST(GUP72))+REF(CLOSE,BARSLAST(GUP72)+1))/2 AND CLOSE<(REF(CLOSE,BARSLAST(GUP72))+REF(CLOSE,BARSLAST(GUP72)+1))/2;
GUP75:=REF(CLOSE,1)<(REF(CLOSE,BARSLAST(GUP73))+REF(CLOSE,BARSLAST(GUP73)+1))/2 AND CLOSE>(REF(CLOSE,BARSLAST(GUP73))+REF(CLOSE,BARSLAST(GUP73)+1))/2;
GUP76:=BARSLAST(GUP73)<=7 AND GUP72 AND GUP75 AND COUNT(GUP72,BARSLAST(GUP73))=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),BARSLAST(GUP73))=1;
GUP77:=COUNT(GUP76,7)>0;
GUP78:=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;
GUP79:=CROSS(CLOSE,GUP78) AND GUP78>REF(GUP78,1);
GUP80:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
GUP81:=CROSS(CLOSE,GUP80) AND GUP80>REF(GUP80,1);
GUP82:=GUP79 AND GUP81 AND GUP76 AND GUP71 AND GUP62;
GUP83:=GUP66 AND GUP76 AND GUP71 AND GUP62;
GUP84:=GUP82 OR GUP83;GUP85:=GUP18 AND GUP53;
GUP86:=GUP84 OR GUP85;
STICKLINE(GUP86,0,20.6,8,0),COLORRED;
STICKLINE(GUP86,20.6,38.200001,6,0),COLORYELLOW;
STICKLINE(GUP86,38,55,5,0),COLORLIMAGENTA;
DRAWICON(GUP86,61,1);

选股公式源码



{选股公式}
GUP1:=MA(CLOSE,5);GUP2:=MA(CLOSE,10);
GUP3:=MA(CLOSE,60);GUP4:=MA(CLOSE,120);
GUP5:=REF(CLOSE,1)<REF(GUP1,1) AND OPEN<GUP1 AND GUP1>GUP4;
GUP6:=REF(GUP5,1)=0 AND GUP5;GUP7:=EMA(HHV(HIGH,1),8);
GUP8:=EMA(CLOSE,8);GUP9:=GUP8<REF(GUP8,1) AND CLOSE<GUP8;
GUP10:=IF(GUP7<REF(GUP7,1) OR GUP9,1,0);
GUP11:=(COUNT(GUP10=1,4)=3 AND GUP10=0)*89;
GUP12:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
GUP13:=IF(CLOSE>OPEN,GUP12*(HIGH-LOW),IF(CLOSE<OPEN,GUP12*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-GUP12*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-GUP12*(HIGH-LOW),0-VOL/2));
GUP14:=GUP13/20/1.15;
GUP15:=GUP14*0.55+REF(GUP14,1)*0.33+REF(GUP14,2)*0.22;
GUP16:=EMA(GUP15,3);GUP17:=GUP16<100;
GUP18:=COUNT(GUP17,9)<2;GUP19:=CLOSE/REF(CLOSE,1)>1.09;
GUP20:=CLOSE=HIGH;GUP21:=REF(GUP19,1) AND REF(GUP20,1);
GUP22:=COUNT(GUP21,11)>0;GUP23:=MA(CLOSE,3);
GUP24:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUP25:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUP26:=REF(HHV(VOL,10),1);GUP27:=MA(CLOSE,20);GUP28:=(GUP23+GUP1)/2;
GUP29:=COUNT(COUNT(GUP24>9.9 AND CLOSE=HIGH,1)>=1,30)>0;
GUP30:=COUNT(COUNT(GUP24>9.9 AND CLOSE=HIGH,1)>=1,60)>0;
GUP31:=GUP27>REF(GUP27,1) AND VOL<GUP26 AND GUP29 AND GUP25>3 AND OPEN<=GUP1 AND CLOSE>GUP1 AND (COUNT(GUP28>REF(GUP28,1),3)>=3 OR COUNT(GUP1>REF(GUP1,1),3)>=3) AND COUNT(GUP27>REF(GUP27,1),25)>=16;
GUP32:=(CLOSE-OPEN)/OPEN*100;
GUP33:=GUP30 AND VOL<1.3*REF(VOL,1) AND COUNT(GUP32>0.5,6)>=5 AND COUNT(GUP23>GUP1,5)>=5 AND COUNT(HIGH>REF(HIGH,1),6)>=5 AND GUP25>4.5 AND OPEN<=GUP23 AND CLOSE>GUP23 AND OPEN>GUP1;
GUP34:=GUP31 OR GUP33;GUP35:=GUP34=1 AND COUNT(GUP34,15)=1;
GUP36:=AMOUNT/VOL/7;GUP37:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
GUP38:=SUM(AMOUNT,10)/GUP36/7;GUP39:=DMA(GUP37,VOL/GUP38);
GUP40:=(CLOSE-GUP39)/GUP39*100;GUP41:=-GUP40;
GUP42:=GUP40>GUP41;GUP43:=CROSS(GUP40,0.6) AND GUP42;
GUP44:=EMA(CLOSE/REF(CLOSE,1),5);
GUP45:=EMA(CLOSE/REF(CLOSE,1),10);
GUP46:=CROSS(GUP44,GUP45);
GUP47:=GUP43 AND GUP46;GUP48:=GUP47 AND GUP35;
GUP49:=COUNT(GUP35,10)>0;
GUP50:=GUP47 AND GUP49 AND GUP22;
GUP51:=GUP47 AND GUP22 AND GUP11;
GUP52:=GUP48 AND GUP22;GUP53:=GUP50 OR GUP52 OR GUP51;
GUP54:=(EMA(CLOSE,12)-EMA(CLOSE,26))/EMA(CLOSE,26)*100;
GUP55:=EMA(GUP54,9);GUP56:=(GUP54-GUP55)*100;
GUP57:=GUP56-REF(GUP56,1);GUP58:=CROSS(GUP57,50);
GUP59:=EMA(EMA(EMA(CLOSE,12),12),12);
GUP60:=(GUP59-REF(GUP59,1))/REF(GUP59,1)*100;
GUP61:=MA(GUP60,9);GUP62:=GUP60>GUP61;
GUP63:=CLOSE/REF(CLOSE,1)>1.09;GUP64:=CLOSE=HIGH;
GUP65:=REF(GUP63,1) AND REF(GUP64,1);
GUP66:=COUNT(GUP65,4)>0;GUP67:=COUNT(GUP65,5)>0;
GUP68:=(3*CLOSE+LOW+OPEN+HIGH)/6;
GUP69:=(20*GUP68+19*REF(GUP68,1)+18*REF(GUP68,2)+17*REF(GUP68,3)+16*REF(GUP68,4)+15*REF(GUP68,5)+14*REF(GUP68,6)+13*REF(GUP68,7)+12*REF(GUP68,8)+11*REF(GUP68,9)+10*REF(GUP68,10)+9*REF(GUP68,11)+8*REF(GUP68,12)+7*REF(GUP68,13)+6*REF(GUP68,14)+5*REF(GUP68,15)+4*REF(GUP68,16)+3*REF(GUP68,17)+2*REF(GUP68,18)+REF(GUP68,20))/210;
GUP70:=MA(GUP69,6);GUP71:=GUP69>GUP70;
GUP72:=CLOSE>1.02*REF(CLOSE,1);
GUP73:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<(-6);
GUP74:=REF(CLOSE,1)>(REF(CLOSE,BARSLAST(GUP72))+REF(CLOSE,BARSLAST(GUP72)+1))/2 AND CLOSE<(REF(CLOSE,BARSLAST(GUP72))+REF(CLOSE,BARSLAST(GUP72)+1))/2;
GUP75:=REF(CLOSE,1)<(REF(CLOSE,BARSLAST(GUP73))+REF(CLOSE,BARSLAST(GUP73)+1))/2 AND CLOSE>(REF(CLOSE,BARSLAST(GUP73))+REF(CLOSE,BARSLAST(GUP73)+1))/2;
GUP76:=BARSLAST(GUP73)<=7 AND GUP72 AND GUP75 AND COUNT(GUP72,BARSLAST(GUP73))=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),BARSLAST(GUP73))=1;
GUP77:=COUNT(GUP76,7)>0;
GUP78:=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;
GUP79:=CROSS(CLOSE,GUP78) AND GUP78>REF(GUP78,1);
GUP80:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
GUP81:=CROSS(CLOSE,GUP80) AND GUP80>REF(GUP80,1);
GUP82:=GUP79 AND GUP81 AND GUP76 AND GUP71 AND GUP62;
GUP83:=GUP66 AND GUP76 AND GUP71 AND GUP62;
GUP84:=GUP82 OR GUP83;GUP85:=GUP18 AND GUP53;
GUP86:=GUP84 OR GUP85;
XG:GUP86;
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则