2024短线良机 快速买妖《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,10);
GUP3:=IF(GUP1>GUP2,1,IF(GUP2>GUP1,-1,0));
GUP4:=MA(CLOSE,3);
GUP5:=MA(CLOSE,5);
GUP6:=IF(GUP4>GUP5,1,IF(GUP5>GUP4,-1,0));
GUP7:=MA(CLOSE,12);
GUP8:=MA(CLOSE,50);
GUP9:=IF(GUP7>GUP8,1,IF(GUP8>GUP7,-1,0));
GUP10:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
GUP11:=EMA(GUP10,3);
GUP12:=EMA(GUP11,3);
GUP13:=IF(GUP11>GUP12,1,IF(GUP12>GUP11,-1,0));
GUP14:=EMA(CLOSE,12)-EMA(CLOSE,26);
GUP15:=EMA(GUP14,9);
GUP16:=(GUP14-GUP15)*2;
GUP17:=IF(GUP14>GUP15,1,IF(GUP15>GUP14,-1,0));
GUP18:=EMA(EMA(EMA(CLOSE,12),12),12);
GUP19:=(TR-REF(TR,1))/REF(TR,1)*100;
GUP20:=MA(GUP19,9) ;
GUP21:=IF(GUP19>GUP20,1,IF(GUP20>GUP19,-1,0));
GUP22:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),7);
GUP23:=HIGH-REF(HIGH,1);
GUP24:=REF(LOW,1)-LOW;
GUP25:=EMA(IF(GUP23>0 AND GUP23>GUP24,GUP23,0),7);
GUP26:=EMA(IF(GUP24>0 AND GUP24>GUP23,GUP24,0),7);
GUP27:=GUP25*100/TR;
GUP28:=GUP26*100/TR;
GUP29:=EMA(ABS(GUP28-GUP27)/(GUP28+GUP27)*100,7);
GUP30:=EMA(GUP29,7);
GUP31:=IF(GUP27>GUP28 AND GUP29>GUP27 AND GUP29>50,3,IF(GUP27<GUP28 AND GUP29>GUP28 AND GUP29>50,-3,0));
GUP32:=REF(CLOSE,1);
GUP33:=EMA(MAX(CLOSE-GUP32,0),5)/EMA(ABS(CLOSE-GUP32),5)*100;
GUP34:=IF(GUP33>80,1,IF(GUP33<20,-1,0));
GUP35:=(HIGH+LOW+CLOSE)/3;
GUP36:=(GUP35-MA(GUP35,8))/(0.015*AVEDEV(GUP35,8));
GUP37:=IF(GUP36>180,2,IF(GUP36<-180,-2,0));
GUP38:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
GUP39:= IF(GUP38>80,1,IF(GUP38<20,-1,0));
GUP40:=100*(CLOSE-MA(CLOSE,20));
GUP41:=IF(GUP40>0,1,IF(GUP40<0,-1,0));
GUP42:=CLOSE-REF(CLOSE,7);
GUP43:=IF(GUP42>0,1,IF(GUP42<0,-1,0));
GUP44:=CLOSE-REF(MA(CLOSE,11),11/2+1);
GUP45:=IF(GUP44>0,1,IF(GUP44<0,-1,0));
GUP46:=MA(CLOSE,12);
GUP47:=(CLOSE-GUP46)*(CLOSE-GUP46);
GUP48:=MA(GUP47,12);
GUP49:=SQRT(GUP48);
GUP50:=1;
GUP51:=GUP46+(GUP50*GUP49);
GUP52:=GUP46-(GUP50*GUP49);
GUP53:=IF(CLOSE>GUP51,2,IF(CLOSE<GUP52,-2,0));
GUP54:=SUM(MAX(0,HIGH-REF(CLOSE,1)),14)/SUM(MAX(0,REF(CLOSE,1)-LOW),14)*100;
GUP55:=SUM(HIGH-OPEN,14)/SUM(OPEN-LOW,14)*100;
GUP56:=IF(GUP54>350 OR GUP55>180,3,IF(GUP54<45 OR GUP55<45,-3,0));
GUP57:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),14);
GUP58:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),14);
GUP59:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),14);
GUP60:=0100*(GUP57*2+GUP59)/(GUP58*2+GUP59);
GUP61:=IF(GUP60>350,3,IF(GUP60<45,-3,0));
GUP62:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,6)/10000;
GUP63:=IF(GUP62>0,1,IF(GUP62<0,-1,0));
GUP64:=MA(VOL,4)/VOL;
GUP65:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);
GUP66:=MA(GUP65*GUP64*(HIGH-LOW)/MA(HIGH-LOW,4),4);
GUP67:=IF(GUP66>0,1,IF(GUP66<0,-1,0));
GUP68:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
GUP69:=SUM(IF(CLOSE=REF(CLOSE,1),0,GUP68),0);
GUP70:=EMA(GUP69,24);
GUP71:=IF(GUP69>GUP70,1,IF(GUP69<GUP70,-1,0));
GUP72:=PVI,COLORWHITE;
GUP73:=EMA(GUP72,24),COLORYELLOW;
GUP74:=IF(GUP72>GUP73,1,IF(GUP72<GUP73,-1,0));
GUP75:=NVI,COLORWHITE;
GUP76:=EMA(GUP75,24),COLORYELLOW;
GUP77:=IF(GUP75>GUP76,2,IF(GUP75<GUP76,-2,0));
GUP78:=SUM(MA(HIGH-LOW,9)/MA(MA(HIGH-LOW,9),9),25);
GUP79:=MA(CLOSE,9);
GUP80:=IF(GUP79>REF(GUP79,1) AND GUP78>26.5,2,IF(GUP79<REF(GUP79,1) AND GUP78<26.5,-2,0));
GUP81:=ABS(HHV(HIGH,15)-LLV(LOW,15));
GUP82:=SUM(ABS(CLOSE-REF(CLOSE,1)),15);
GUP83:=IF(GUP82=0,0,GUP81/GUP82);
GUP84:=EMA(GUP83,240);
GUP85:=IF(GUP83>GUP84,1,IF(GUP83<GUP84,-1,0));
GUP86:=MA(CLOSE,13);
GUP87:=MA(VOL,13);
GUP88:=(GUP86-REF(GUP86,1))/REF(GUP86,1)*100;
GUP89:=(GUP87-REF(GUP87,1))/REF(GUP87,1)*100;
GUP90:=GUP88+GUP89;
GUP91:=IF(GUP90>REF(GUP90,1),1,IF(GUP90<REF(GUP90,1),-1,0));
GUP92:=REF(CLOSE,1);
GUP93:=ABS(HIGH-GUP92);
GUP94:=ABS(LOW-GUP92);
GUP95:=ABS(HIGH-REF(LOW,1));
GUP96:=ABS(GUP92-REF(OPEN,1));
GUP97:=IF(GUP93>GUP94 AND GUP93>GUP95,GUP93+GUP94/2+GUP96/4,IF(GUP94>GUP95 AND GUP94>GUP93,GUP94+GUP93/2+GUP96/4,GUP95+GUP96/4));
GUP98:=(CLOSE-GUP92+(CLOSE-OPEN)/2+GUP92-REF(OPEN,1));
GUP99:=16*GUP98/GUP97*MAX(GUP93,GUP94);
GUP100:=SUM(GUP99,0),COLORWHITE;
GUP101:=MA(GUP100,6),COLORYELLOW;
GUP102:=IF(CLOSE<HHV(CLOSE,13) AND GUP100=HHV(GUP100,13),1,IF(CLOSE>LLV(CLOSE,13) AND GUP100=LLV(GUP100,13),-1,0));
GUP103:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
GUP104:=IF(GUP103>10,1,IF(GUP103<-10,-1,0));
生命线36+GUP3+GUP6+GUP9+GUP13+GUP17+GUP21+GUP31+GUP34+GUP37+GUP39+GUP41+GUP43+GUP45+GUP53+GUP56+GUP61+GUP63+GUP67+GUP71+GUP74+GUP77+GUP80+GUP85+GUP91+GUP102+GUP104)*1.36,COLORMAGENTA;
趋势线:MA(生命线,3),COLORWHITE;
DRAWTEXT(CROSS(82.5,生命线),80,'↖出逃'),COLORYELLOW;
DRAWTEXT(CROSS(75,生命线),74,'减仓'),COLORGREEN;
DRAWTEXT(CROSS(生命线,18),16,'↖买入'),COLORRED;
持币:IF(生命线<=REF(生命线,1),生命线,DRAWNULL),COLORGREEN,LINETHICK2;
持股:IF(生命线>REF(生命线,1),生命线,DRAWNULL),COLORRED,LINETHICK2;
选股公式源码
{选股公式:买入}
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,10);
GUP3:=IF(GUP1>GUP2,1,IF(GUP2>GUP1,-1,0));
GUP4:=MA(CLOSE,3);
GUP5:=MA(CLOSE,5);
GUP6:=IF(GUP4>GUP5,1,IF(GUP5>GUP4,-1,0));
GUP7:=MA(CLOSE,12);
GUP8:=MA(CLOSE,50);
GUP9:=IF(GUP7>GUP8,1,IF(GUP8>GUP7,-1,0));
GUP10:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
GUP11:=EMA(GUP10,3);
GUP12:=EMA(GUP11,3);
GUP13:=IF(GUP11>GUP12,1,IF(GUP12>GUP11,-1,0));
GUP14:=EMA(CLOSE,12)-EMA(CLOSE,26);
GUP15:=EMA(GUP14,9);
GUP16:=(GUP14-GUP15)*2;
GUP17:=IF(GUP14>GUP15,1,IF(GUP15>GUP14,-1,0));
GUP18:=EMA(EMA(EMA(CLOSE,12),12),12);
GUP19:=(TR-REF(TR,1))/REF(TR,1)*100;
GUP20:=MA(GUP19,9) ;
GUP21:=IF(GUP19>GUP20,1,IF(GUP20>GUP19,-1,0));
GUP22:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),7);
GUP23:=HIGH-REF(HIGH,1);
GUP24:=REF(LOW,1)-LOW;
GUP25:=EMA(IF(GUP23>0 AND GUP23>GUP24,GUP23,0),7);
GUP26:=EMA(IF(GUP24>0 AND GUP24>GUP23,GUP24,0),7);
GUP27:=GUP25*100/TR;
GUP28:=GUP26*100/TR;
GUP29:=EMA(ABS(GUP28-GUP27)/(GUP28+GUP27)*100,7);
GUP30:=EMA(GUP29,7);
GUP31:=IF(GUP27>GUP28 AND GUP29>GUP27 AND GUP29>50,3,IF(GUP27<GUP28 AND GUP29>GUP28 AND GUP29>50,-3,0));
GUP32:=REF(CLOSE,1);
GUP33:=EMA(MAX(CLOSE-GUP32,0),5)/EMA(ABS(CLOSE-GUP32),5)*100;
GUP34:=IF(GUP33>80,1,IF(GUP33<20,-1,0));
GUP35:=(HIGH+LOW+CLOSE)/3;
GUP36:=(GUP35-MA(GUP35,8))/(0.015*AVEDEV(GUP35,8));
GUP37:=IF(GUP36>180,2,IF(GUP36<-180,-2,0));
GUP38:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
GUP39:= IF(GUP38>80,1,IF(GUP38<20,-1,0));
GUP40:=100*(CLOSE-MA(CLOSE,20));
GUP41:=IF(GUP40>0,1,IF(GUP40<0,-1,0));
GUP42:=CLOSE-REF(CLOSE,7);
GUP43:=IF(GUP42>0,1,IF(GUP42<0,-1,0));
GUP44:=CLOSE-REF(MA(CLOSE,11),11/2+1);
GUP45:=IF(GUP44>0,1,IF(GUP44<0,-1,0));
GUP46:=MA(CLOSE,12);
GUP47:=(CLOSE-GUP46)*(CLOSE-GUP46);
GUP48:=MA(GUP47,12);
GUP49:=SQRT(GUP48);
GUP50:=1;
GUP51:=GUP46+(GUP50*GUP49);
GUP52:=GUP46-(GUP50*GUP49);
GUP53:=IF(CLOSE>GUP51,2,IF(CLOSE<GUP52,-2,0));
GUP54:=SUM(MAX(0,HIGH-REF(CLOSE,1)),14)/SUM(MAX(0,REF(CLOSE,1)-LOW),14)*100;
GUP55:=SUM(HIGH-OPEN,14)/SUM(OPEN-LOW,14)*100;
GUP56:=IF(GUP54>350 OR GUP55>180,3,IF(GUP54<45 OR GUP55<45,-3,0));
GUP57:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),14);
GUP58:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),14);
GUP59:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),14);
GUP60:=0100*(GUP57*2+GUP59)/(GUP58*2+GUP59);
GUP61:=IF(GUP60>350,3,IF(GUP60<45,-3,0));
GUP62:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,6)/10000;
GUP63:=IF(GUP62>0,1,IF(GUP62<0,-1,0));
GUP64:=MA(VOL,4)/VOL;
GUP65:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);
GUP66:=MA(GUP65*GUP64*(HIGH-LOW)/MA(HIGH-LOW,4),4);
GUP67:=IF(GUP66>0,1,IF(GUP66<0,-1,0));
GUP68:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
GUP69:=SUM(IF(CLOSE=REF(CLOSE,1),0,GUP68),0);
GUP70:=EMA(GUP69,24);
GUP71:=IF(GUP69>GUP70,1,IF(GUP69<GUP70,-1,0));
GUP72:=PVI,COLORWHITE;
GUP73:=EMA(GUP72,24),COLORYELLOW;
GUP74:=IF(GUP72>GUP73,1,IF(GUP72<GUP73,-1,0));
GUP75:=NVI,COLORWHITE;
GUP76:=EMA(GUP75,24),COLORYELLOW;
GUP77:=IF(GUP75>GUP76,2,IF(GUP75<GUP76,-2,0));
GUP78:=SUM(MA(HIGH-LOW,9)/MA(MA(HIGH-LOW,9),9),25);
GUP79:=MA(CLOSE,9);
GUP80:=IF(GUP79>REF(GUP79,1) AND GUP78>26.5,2,IF(GUP79<REF(GUP79,1) AND GUP78<26.5,-2,0));
GUP81:=ABS(HHV(HIGH,15)-LLV(LOW,15));
GUP82:=SUM(ABS(CLOSE-REF(CLOSE,1)),15);
GUP83:=IF(GUP82=0,0,GUP81/GUP82);
GUP84:=EMA(GUP83,240);
GUP85:=IF(GUP83>GUP84,1,IF(GUP83<GUP84,-1,0));
GUP86:=MA(CLOSE,13);
GUP87:=MA(VOL,13);
GUP88:=(GUP86-REF(GUP86,1))/REF(GUP86,1)*100;
GUP89:=(GUP87-REF(GUP87,1))/REF(GUP87,1)*100;
GUP90:=GUP88+GUP89;
GUP91:=IF(GUP90>REF(GUP90,1),1,IF(GUP90<REF(GUP90,1),-1,0));
GUP92:=REF(CLOSE,1);
GUP93:=ABS(HIGH-GUP92);
GUP94:=ABS(LOW-GUP92);
GUP95:=ABS(HIGH-REF(LOW,1));
GUP96:=ABS(GUP92-REF(OPEN,1));
GUP97:=IF(GUP93>GUP94 AND GUP93>GUP95,GUP93+GUP94/2+GUP96/4,IF(GUP94>GUP95 AND GUP94>GUP93,GUP94+GUP93/2+GUP96/4,GUP95+GUP96/4));
GUP98:=(CLOSE-GUP92+(CLOSE-OPEN)/2+GUP92-REF(OPEN,1));
GUP99:=16*GUP98/GUP97*MAX(GUP93,GUP94);
GUP100:=SUM(GUP99,0),COLORWHITE;
GUP101:=MA(GUP100,6),COLORYELLOW;
GUP102:=IF(CLOSE<HHV(CLOSE,13) AND GUP100=HHV(GUP100,13),1,IF(CLOSE>LLV(CLOSE,13) AND GUP100=LLV(GUP100,13),-1,0));
GUP103:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
GUP104:=IF(GUP103>10,1,IF(GUP103<-10,-1,0));
生命线:=(36+GUP3+GUP6+GUP9+GUP13+GUP17+GUP21+GUP31+GUP34+GUP37+GUP39+GUP41+GUP43+GUP45+GUP53+GUP56+GUP61+GUP63+GUP67+GUP71+GUP74+GUP77+GUP80+GUP85+GUP91+GUP102+GUP104)*1.36,COLORMAGENTA;
买入:CROSS(生命线,18);
{卖出公式一:减仓}
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,10);
GUP3:=IF(GUP1>GUP2,1,IF(GUP2>GUP1,-1,0));
GUP4:=MA(CLOSE,3);
GUP5:=MA(CLOSE,5);
GUP6:=IF(GUP4>GUP5,1,IF(GUP5>GUP4,-1,0));
GUP7:=MA(CLOSE,12);
GUP8:=MA(CLOSE,50);
GUP9:=IF(GUP7>GUP8,1,IF(GUP8>GUP7,-1,0));
GUP10:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
GUP11:=EMA(GUP10,3);
GUP12:=EMA(GUP11,3);
GUP13:=IF(GUP11>GUP12,1,IF(GUP12>GUP11,-1,0));
GUP14:=EMA(CLOSE,12)-EMA(CLOSE,26);
GUP15:=EMA(GUP14,9);
GUP16:=(GUP14-GUP15)*2;
GUP17:=IF(GUP14>GUP15,1,IF(GUP15>GUP14,-1,0));
GUP18:=EMA(EMA(EMA(CLOSE,12),12),12);
GUP19:=(TR-REF(TR,1))/REF(TR,1)*100;
GUP20:=MA(GUP19,9) ;
GUP21:=IF(GUP19>GUP20,1,IF(GUP20>GUP19,-1,0));
GUP22:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),7);
GUP23:=HIGH-REF(HIGH,1);
GUP24:=REF(LOW,1)-LOW;
GUP25:=EMA(IF(GUP23>0 AND GUP23>GUP24,GUP23,0),7);
GUP26:=EMA(IF(GUP24>0 AND GUP24>GUP23,GUP24,0),7);
GUP27:=GUP25*100/TR;
GUP28:=GUP26*100/TR;
GUP29:=EMA(ABS(GUP28-GUP27)/(GUP28+GUP27)*100,7);
GUP30:=EMA(GUP29,7);
GUP31:=IF(GUP27>GUP28 AND GUP29>GUP27 AND GUP29>50,3,IF(GUP27<GUP28 AND GUP29>GUP28 AND GUP29>50,-3,0));
GUP32:=REF(CLOSE,1);
GUP33:=EMA(MAX(CLOSE-GUP32,0),5)/EMA(ABS(CLOSE-GUP32),5)*100;
GUP34:=IF(GUP33>80,1,IF(GUP33<20,-1,0));
GUP35:=(HIGH+LOW+CLOSE)/3;
GUP36:=(GUP35-MA(GUP35,8))/(0.015*AVEDEV(GUP35,8));
GUP37:=IF(GUP36>180,2,IF(GUP36<-180,-2,0));
GUP38:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
GUP39:= IF(GUP38>80,1,IF(GUP38<20,-1,0));
GUP40:=100*(CLOSE-MA(CLOSE,20));
GUP41:=IF(GUP40>0,1,IF(GUP40<0,-1,0));
GUP42:=CLOSE-REF(CLOSE,7);
GUP43:=IF(GUP42>0,1,IF(GUP42<0,-1,0));
GUP44:=CLOSE-REF(MA(CLOSE,11),11/2+1);
GUP45:=IF(GUP44>0,1,IF(GUP44<0,-1,0));
GUP46:=MA(CLOSE,12);
GUP47:=(CLOSE-GUP46)*(CLOSE-GUP46);
GUP48:=MA(GUP47,12);
GUP49:=SQRT(GUP48);
GUP50:=1;
GUP51:=GUP46+(GUP50*GUP49);
GUP52:=GUP46-(GUP50*GUP49);
GUP53:=IF(CLOSE>GUP51,2,IF(CLOSE<GUP52,-2,0));
GUP54:=SUM(MAX(0,HIGH-REF(CLOSE,1)),14)/SUM(MAX(0,REF(CLOSE,1)-LOW),14)*100;
GUP55:=SUM(HIGH-OPEN,14)/SUM(OPEN-LOW,14)*100;
GUP56:=IF(GUP54>350 OR GUP55>180,3,IF(GUP54<45 OR GUP55<45,-3,0));
GUP57:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),14);
GUP58:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),14);
GUP59:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),14);
GUP60:=0100*(GUP57*2+GUP59)/(GUP58*2+GUP59);
GUP61:=IF(GUP60>350,3,IF(GUP60<45,-3,0));
GUP62:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,6)/10000;
GUP63:=IF(GUP62>0,1,IF(GUP62<0,-1,0));
GUP64:=MA(VOL,4)/VOL;
GUP65:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);
GUP66:=MA(GUP65*GUP64*(HIGH-LOW)/MA(HIGH-LOW,4),4);
GUP67:=IF(GUP66>0,1,IF(GUP66<0,-1,0));
GUP68:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
GUP69:=SUM(IF(CLOSE=REF(CLOSE,1),0,GUP68),0);
GUP70:=EMA(GUP69,24);
GUP71:=IF(GUP69>GUP70,1,IF(GUP69<GUP70,-1,0));
GUP72:=PVI,COLORWHITE;
GUP73:=EMA(GUP72,24),COLORYELLOW;
GUP74:=IF(GUP72>GUP73,1,IF(GUP72<GUP73,-1,0));
GUP75:=NVI,COLORWHITE;
GUP76:=EMA(GUP75,24),COLORYELLOW;
GUP77:=IF(GUP75>GUP76,2,IF(GUP75<GUP76,-2,0));
GUP78:=SUM(MA(HIGH-LOW,9)/MA(MA(HIGH-LOW,9),9),25);
GUP79:=MA(CLOSE,9);
GUP80:=IF(GUP79>REF(GUP79,1) AND GUP78>26.5,2,IF(GUP79<REF(GUP79,1) AND GUP78<26.5,-2,0));
GUP81:=ABS(HHV(HIGH,15)-LLV(LOW,15));
GUP82:=SUM(ABS(CLOSE-REF(CLOSE,1)),15);
GUP83:=IF(GUP82=0,0,GUP81/GUP82);
GUP84:=EMA(GUP83,240);
GUP85:=IF(GUP83>GUP84,1,IF(GUP83<GUP84,-1,0));
GUP86:=MA(CLOSE,13);
GUP87:=MA(VOL,13);
GUP88:=(GUP86-REF(GUP86,1))/REF(GUP86,1)*100;
GUP89:=(GUP87-REF(GUP87,1))/REF(GUP87,1)*100;
GUP90:=GUP88+GUP89;
GUP91:=IF(GUP90>REF(GUP90,1),1,IF(GUP90<REF(GUP90,1),-1,0));
GUP92:=REF(CLOSE,1);
GUP93:=ABS(HIGH-GUP92);
GUP94:=ABS(LOW-GUP92);
GUP95:=ABS(HIGH-REF(LOW,1));
GUP96:=ABS(GUP92-REF(OPEN,1));
GUP97:=IF(GUP93>GUP94 AND GUP93>GUP95,GUP93+GUP94/2+GUP96/4,IF(GUP94>GUP95 AND GUP94>GUP93,GUP94+GUP93/2+GUP96/4,GUP95+GUP96/4));
GUP98:=(CLOSE-GUP92+(CLOSE-OPEN)/2+GUP92-REF(OPEN,1));
GUP99:=16*GUP98/GUP97*MAX(GUP93,GUP94);
GUP100:=SUM(GUP99,0),COLORWHITE;
GUP101:=MA(GUP100,6),COLORYELLOW;
GUP102:=IF(CLOSE<HHV(CLOSE,13) AND GUP100=HHV(GUP100,13),1,IF(CLOSE>LLV(CLOSE,13) AND GUP100=LLV(GUP100,13),-1,0));
GUP103:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
GUP104:=IF(GUP103>10,1,IF(GUP103<-10,-1,0));
生命线:=(36+GUP3+GUP6+GUP9+GUP13+GUP17+GUP21+GUP31+GUP34+GUP37+GUP39+GUP41+GUP43+GUP45+GUP53+GUP56+GUP61+GUP63+GUP67+GUP71+GUP74+GUP77+GUP80+GUP85+GUP91+GUP102+GUP104)*1.36,COLORMAGENTA;
减仓:CROSS(75,生命线);
{卖出公式二:清仓}
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,10);
GUP3:=IF(GUP1>GUP2,1,IF(GUP2>GUP1,-1,0));
GUP4:=MA(CLOSE,3);
GUP5:=MA(CLOSE,5);
GUP6:=IF(GUP4>GUP5,1,IF(GUP5>GUP4,-1,0));
GUP7:=MA(CLOSE,12);
GUP8:=MA(CLOSE,50);
GUP9:=IF(GUP7>GUP8,1,IF(GUP8>GUP7,-1,0));
GUP10:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
GUP11:=EMA(GUP10,3);
GUP12:=EMA(GUP11,3);
GUP13:=IF(GUP11>GUP12,1,IF(GUP12>GUP11,-1,0));
GUP14:=EMA(CLOSE,12)-EMA(CLOSE,26);
GUP15:=EMA(GUP14,9);
GUP16:=(GUP14-GUP15)*2;
GUP17:=IF(GUP14>GUP15,1,IF(GUP15>GUP14,-1,0));
GUP18:=EMA(EMA(EMA(CLOSE,12),12),12);
GUP19:=(TR-REF(TR,1))/REF(TR,1)*100;
GUP20:=MA(GUP19,9) ;
GUP21:=IF(GUP19>GUP20,1,IF(GUP20>GUP19,-1,0));
GUP22:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),7);
GUP23:=HIGH-REF(HIGH,1);
GUP24:=REF(LOW,1)-LOW;
GUP25:=EMA(IF(GUP23>0 AND GUP23>GUP24,GUP23,0),7);
GUP26:=EMA(IF(GUP24>0 AND GUP24>GUP23,GUP24,0),7);
GUP27:=GUP25*100/TR;
GUP28:=GUP26*100/TR;
GUP29:=EMA(ABS(GUP28-GUP27)/(GUP28+GUP27)*100,7);
GUP30:=EMA(GUP29,7);
GUP31:=IF(GUP27>GUP28 AND GUP29>GUP27 AND GUP29>50,3,IF(GUP27<GUP28 AND GUP29>GUP28 AND GUP29>50,-3,0));
GUP32:=REF(CLOSE,1);
GUP33:=EMA(MAX(CLOSE-GUP32,0),5)/EMA(ABS(CLOSE-GUP32),5)*100;
GUP34:=IF(GUP33>80,1,IF(GUP33<20,-1,0));
GUP35:=(HIGH+LOW+CLOSE)/3;
GUP36:=(GUP35-MA(GUP35,8))/(0.015*AVEDEV(GUP35,8));
GUP37:=IF(GUP36>180,2,IF(GUP36<-180,-2,0));
GUP38:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
GUP39:= IF(GUP38>80,1,IF(GUP38<20,-1,0));
GUP40:=100*(CLOSE-MA(CLOSE,20));
GUP41:=IF(GUP40>0,1,IF(GUP40<0,-1,0));
GUP42:=CLOSE-REF(CLOSE,7);
GUP43:=IF(GUP42>0,1,IF(GUP42<0,-1,0));
GUP44:=CLOSE-REF(MA(CLOSE,11),11/2+1);
GUP45:=IF(GUP44>0,1,IF(GUP44<0,-1,0));
GUP46:=MA(CLOSE,12);
GUP47:=(CLOSE-GUP46)*(CLOSE-GUP46);
GUP48:=MA(GUP47,12);
GUP49:=SQRT(GUP48);
GUP50:=1;
GUP51:=GUP46+(GUP50*GUP49);
GUP52:=GUP46-(GUP50*GUP49);
GUP53:=IF(CLOSE>GUP51,2,IF(CLOSE<GUP52,-2,0));
GUP54:=SUM(MAX(0,HIGH-REF(CLOSE,1)),14)/SUM(MAX(0,REF(CLOSE,1)-LOW),14)*100;
GUP55:=SUM(HIGH-OPEN,14)/SUM(OPEN-LOW,14)*100;
GUP56:=IF(GUP54>350 OR GUP55>180,3,IF(GUP54<45 OR GUP55<45,-3,0));
GUP57:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),14);
GUP58:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),14);
GUP59:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),14);
GUP60:=0100*(GUP57*2+GUP59)/(GUP58*2+GUP59);
GUP61:=IF(GUP60>350,3,IF(GUP60<45,-3,0));
GUP62:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,6)/10000;
GUP63:=IF(GUP62>0,1,IF(GUP62<0,-1,0));
GUP64:=MA(VOL,4)/VOL;
GUP65:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);
GUP66:=MA(GUP65*GUP64*(HIGH-LOW)/MA(HIGH-LOW,4),4);
GUP67:=IF(GUP66>0,1,IF(GUP66<0,-1,0));
GUP68:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
GUP69:=SUM(IF(CLOSE=REF(CLOSE,1),0,GUP68),0);
GUP70:=EMA(GUP69,24);
GUP71:=IF(GUP69>GUP70,1,IF(GUP69<GUP70,-1,0));
GUP72:=PVI,COLORWHITE;
GUP73:=EMA(GUP72,24),COLORYELLOW;
GUP74:=IF(GUP72>GUP73,1,IF(GUP72<GUP73,-1,0));
GUP75:=NVI,COLORWHITE;
GUP76:=EMA(GUP75,24),COLORYELLOW;
GUP77:=IF(GUP75>GUP76,2,IF(GUP75<GUP76,-2,0));
GUP78:=SUM(MA(HIGH-LOW,9)/MA(MA(HIGH-LOW,9),9),25);
GUP79:=MA(CLOSE,9);
GUP80:=IF(GUP79>REF(GUP79,1) AND GUP78>26.5,2,IF(GUP79<REF(GUP79,1) AND GUP78<26.5,-2,0));
GUP81:=ABS(HHV(HIGH,15)-LLV(LOW,15));
GUP82:=SUM(ABS(CLOSE-REF(CLOSE,1)),15);
GUP83:=IF(GUP82=0,0,GUP81/GUP82);
GUP84:=EMA(GUP83,240);
GUP85:=IF(GUP83>GUP84,1,IF(GUP83<GUP84,-1,0));
GUP86:=MA(CLOSE,13);
GUP87:=MA(VOL,13);
GUP88:=(GUP86-REF(GUP86,1))/REF(GUP86,1)*100;
GUP89:=(GUP87-REF(GUP87,1))/REF(GUP87,1)*100;
GUP90:=GUP88+GUP89;
GUP91:=IF(GUP90>REF(GUP90,1),1,IF(GUP90<REF(GUP90,1),-1,0));
GUP92:=REF(CLOSE,1);
GUP93:=ABS(HIGH-GUP92);
GUP94:=ABS(LOW-GUP92);
GUP95:=ABS(HIGH-REF(LOW,1));
GUP96:=ABS(GUP92-REF(OPEN,1));
GUP97:=IF(GUP93>GUP94 AND GUP93>GUP95,GUP93+GUP94/2+GUP96/4,IF(GUP94>GUP95 AND GUP94>GUP93,GUP94+GUP93/2+GUP96/4,GUP95+GUP96/4));
GUP98:=(CLOSE-GUP92+(CLOSE-OPEN)/2+GUP92-REF(OPEN,1));
GUP99:=16*GUP98/GUP97*MAX(GUP93,GUP94);
GUP100:=SUM(GUP99,0),COLORWHITE;
GUP101:=MA(GUP100,6),COLORYELLOW;
GUP102:=IF(CLOSE<HHV(CLOSE,13) AND GUP100=HHV(GUP100,13),1,IF(CLOSE>LLV(CLOSE,13) AND GUP100=LLV(GUP100,13),-1,0));
GUP103:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
GUP104:=IF(GUP103>10,1,IF(GUP103<-10,-1,0));
生命线:=(36+GUP3+GUP6+GUP9+GUP13+GUP17+GUP21+GUP31+GUP34+GUP37+GUP39+GUP41+GUP43+GUP45+GUP53+GUP56+GUP61+GUP63+GUP67+GUP71+GUP74+GUP77+GUP80+GUP85+GUP91+GUP102+GUP104)*1.36,COLORMAGENTA;
出逃:CROSS(82.5,生命线);
页:
[1]