当前位置:首页 > 免费资源 > 正文

「翔博精选指标」萧啸擒龙捉妖X,抓妖股公式,和谐源码分享

2022-05-04原创 编 辑:翔博软件

 萧啸擒龙捉妖X

{公式名称: 萧啸擒龙捉妖X
公式描述: 
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加}
 
VAR1:=EMA(CLOSE,7);
VAR2:=EMA(CLOSE,18);
VAR3:=(VAR1-VAR2)/VAR2*100;
VAR4:=EMA(VAR3,1);
VAR5:=EMA(CLOSE,3);
VAR6:=EMA(CLOSE,26);
VAR7:=VAR5-VAR6;
DK:EMA(EMA(EMA(CLOSE,3),3),3)+VAR7,COLORGREEN;
IF(VAR4>=REF(VAR4,1),DK,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(VAR4<=REF(VAR4,1),DK,DRAWNULL),COLORGREEN;
VAR8:=HHV(VOL,5);
VAR9:=OPEN>CLOSE;
VAR10:=CLOSE>OPEN;
VAR11:=CLOSE=OPEN;
VAR12:=SUM(VOL,5)/VAR8;
VAR13:=IF(VAR12>0.3,1,0);
VAR14:=IF(VAR9 AND VAR13,VOL,0);
VAR15:=IF(VAR10 AND VAR13,VOL,0);
VAR16:=IF(VAR11 AND VAR13,VOL,0);
VAR17:=SUM(VAR15,3);
VAR18:=SUM(VAR14,3);
VAR19:=VAR17-VAR18;
STICKLINE(VAR19=VAR17,CLOSE,OPEN,3.05,0),COLOR000099;
STICKLINE(VAR19=VAR17,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(VAR19=VAR17,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(VAR19=VAR17,CLOSE,OPEN,0.5,0),COLORYELLOW;
DRAWICON(VAR19=VAR17 AND REF(VAR19=VAR17,1)=0,LOW*0.98,30),COLORMAGENTA;
VAR20:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
VAR21:=(REF(VAR20,1)+REF(VAR20,2)+REF(VAR20,3))/3;
VAR22:=(REF(VAR20,1)+REF(VAR20,2)+REF(VAR20,3)+REF(VAR20,4)+REF(VAR20,5)+REF(VAR20,6)+REF(VAR20,7)+REF(VAR20,8)+REF(VAR20,9)+REF(VAR20,10))/10;
VAR23:=VAR20<80 AND VAR21<80 AND VAR22<80;
VAR24:=VAR20>80 AND VAR21>80 AND VAR22>80;
VAR25:=VAR22<VAR20;
VAR26:=REF(CLOSE,1);
VAR27:=SMA(MAX(CLOSE-VAR26,0),2,1)/SMA(ABS(CLOSE-VAR26),2,1)*100;
VAR28:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
VAR29:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
VAR30:=CROSS(VAR27,VAR29) AND VAR25;
VAR31:=VAR27>75 AND VAR29<5;
DRAWICON(VAR31 AND VAR17>VAR19,LOW*0.99,29),COLORYELLOW;
DRAWICON(VAR30,LOW*0.98,28),COLORYELLOW;
VAR32:=WINNER(CLOSE*0.9)*100;
VAR33:=MA(VAR32,10);
VAR34:=MA(VAR32,3);
VAR35:=IF(VAR33>VAR34,VAR34,VAR33);
VAR36:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
VAR37:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR38:=EMA(VAR37,9);
VAR39:=VAR37>VAR38;
VAR40:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
VAR41:=SMA(VAR36,3,1);
VAR42:=SMA(VAR41,3,1);
VAR43:=VAR41>VAR42;
VAR44:=REF(CLOSE,1);
VAR45:=SMA(MAX(CLOSE-VAR44,0),9,1)/SMA(ABS(CLOSE-VAR44),9,1)*100;
VAR46:=SMA(MAX(CLOSE-VAR44,0),26,1)/SMA(ABS(CLOSE-VAR44),26,1)*100;
VAR47:=VAR45>VAR46;
VAR48:=SMA(VAR40,3,1);
VAR49:=SMA(VAR48,3,1);
VAR50:=VAR48>VAR49;
VAR51:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
VAR52:=CLOSE>VAR51;
VAR53:=CLOSE-REF(CLOSE,1);
VAR54:=100*EMA(EMA(VAR53,9),9)/EMA(EMA(ABS(VAR53),9),3);
VAR55:=100*EMA(EMA(VAR53,26),12)/EMA(EMA(ABS(VAR53),26),12);
VAR56:=VAR54>VAR55;
VAR57:=VAR39 AND VAR43 AND VAR47 AND VAR50 AND VAR52 AND VAR56;
VAR58:=EMA(EMA(CLOSE,9),9);
VAR59:=100*WINNER(CLOSE*0.95);
VAR60:=EMA(CLOSE,12)>EMA(CLOSE,50) AND EMA(CLOSE,20)>EMA(CLOSE,120);
VAR61:=(VAR58-REF(VAR58,1))/REF(VAR58,1)*1000;
VAR62:=VAR59>=50 AND COST(85)<=CLOSE AND VAR61>0 AND VAR61>REF(VAR61,1);
VAR63:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
VAR64:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR65:=IF(CLOSE>OPEN,VAR64*(HIGH-LOW),IF(CLOSE<OPEN,VAR64*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-VAR64*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR64*(HIGH-LOW),0-VOL/2));
VAR66:=VAR65/20/1.15;
VAR67:=VAR66*0.55+REF(VAR66,1)*0.33+REF(VAR66,2)*0.22;
VAR68:=EMA(VAR67,8);
VAR69:=EMA(VAR67,3);
VAR70:=VAR69;
VAR71:=MA(VOL,5);
VAR72:=MA(VOL,10);
VAR73:=VAR71>=VAR72;
VAR74:=VAR70>=0;
VAR75:=VAR74 AND VAR73;
VAR76:=VAR57 OR VAR75;
VAR77:=CROSS(REF(CLOSE,1),CLOSE);
VAR78:=WINNER(CLOSE)*100;
VAR79:=REF(VAR78,1)-VAR78<=5;
VAR80:=CROSS(VAR78,REF(VAR78,1)) AND VAR78<20;
VAR81:=VAR79 OR VAR78;
VAR82:=VAR77 AND VAR81;
VAR83:=(2*CLOSE+HIGH+LOW)/4;
VAR84:=LLV(LOW,5);
VAR85:=HHV(HIGH,5);
VAR86:=IF((MA(CLOSE,5)-CLOSE)/CLOSE>0.04 AND (MA(CLOSE,10)-MA(CLOSE,5))/MA(CLOSE,5)>0.04,23,0);
VAR87:=VAR86=23;
VAR88:=BARSLAST(VAR87)=1;
VAR89:=VAR86<23;
VAR90:=VAR88 AND VAR89;
VAR91:=(BARSLASTCOUNT(VAR86>0)=4)*30;
VAR92:=VAR90 OR VAR91;
VAR93:=EMA(VOL,13);
VAR94:=EMA(AMOUNT,13);
VAR95:=VAR94/VAR93/100;
VAR96:=(CLOSE-VAR95)/VAR95*100;
VAR97:=VAR96<0-18 OR VAR96<0-6;
VAR98:=VAR97 AND VAR92;
VAR99:=VAR98 OR VAR82;
STICKLINE(VAR99 AND VAR22<80 AND VAR35=VAR33 AND VAR76,LOW,OPEN,3,0),COLORBLUE;
STICKLINE(VAR99 AND VAR22<80 AND VAR35=VAR33 AND VAR76,CLOSE,OPEN,3,0),COLORMAGENTA;
VAR100:=REF(LOW,1);
VAR101:=SMA(ABS(LOW-VAR100),3,1)/SMA(MAX(LOW-VAR100,0),3,1)*100;
VAR102:=EMA(IF(CLOSE*1.3,VAR101*10,VAR101/10),3);
VAR103:=LLV(LOW,13);
VAR104:=HHV(VAR102,13);
VAR105:=IF(MA(CLOSE,34),1,0);
VAR106:=EMA(IF(LOW<=VAR103,(VAR102+VAR104*2)/2,0),3)/618*VAR105;
VAR107:=IF(VAR106>100,100,VAR106);
VAR108:=VAR107>15 AND VAR76;
VAR109:=VAR108 OR VAR107=100;
STICKLINE(VAR109,LOW,OPEN,3,0),COLORMAGENTA;
STICKLINE(VAR109,CLOSE,OPEN,3,0),COLORBLUE;
VAR110:=EMA(CLOSE,2);
VAR111:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
VAR112:=IF(CROSS(VAR110,VAR111),LOW-0.02,DRAWNULL);
VAR113:=(LOW+HIGH+CLOSE*2)/4;
VAR114:=EMA(VAR113,14);
VAR115:=(VAR114-REF(VAR114,1))/REF(VAR114,1)*100;
VAR116:=IF(VAR115>=0,VAR114,DRAWNULL);
VAR117:=IF(CROSS(VAR112,0),5,0);
VAR118:=IF(CROSS(VAR116,0),10,0);
VAR119:=VAR117 AND VAR118;
DRAWICON(VAR119,LOW*0.99,1),COLORGREEN;
DRAWICON(VAR119,LOW*0.98,1),COLORGREEN;
VAR120:=REF(CLOSE,1);
VAR121:=SMA(MAX(CLOSE-VAR120,0),5,1)/SMA(ABS(CLOSE-VAR120),5,1)*100;
VAR122:=CROSS(80,VAR121);
DRAWICON(VAR122,HIGH*1.01,2),COLORGREEN;
DRAWICON(VAR122,HIGH*1.02,2),COLORGREEN;
VAR123:=SMA(MAX(CLOSE-VAR26,0),3,1)/SMA(ABS(CLOSE-VAR26),3,1)*100;
VAR124:=EMA(CLOSE,3);
VAR125:=EMA(CLOSE,21);
DRAWICON(CROSS(VAR124,VAR125),LOW*0.97,38),COLORRED;
DRAWICON(CROSS(88,VAR123),HIGH*1.03,39),COLORYELLOW;
VAR126:=8;
VAR127:=100*EMA(EMA(VAR53,VAR126),VAR126)/EMA(EMA(ABS(VAR53),VAR126),VAR126);
VAR128:=IF(LLV(VAR127,2)=LLV(VAR127,7) AND COUNT(VAR127<0,2) AND CROSS(VAR127,MA(VAR127,2)),1,0);
DRAWICON(FILTER(VAR128=1,5),LOW*0.99,7),COLORRED;
VAR129:=CLOSE-REF(CLOSE,1);
VAR130:=IF(CLOSE-REF(CLOSE,1)>=0,VAR129,0);
VAR131:=REF(CLOSE,1)-CLOSE;
VAR132:=IF(CLOSE-REF(CLOSE,1)<=0,VAR131,0);
VAR133:=SUM(VAR130,90)/SUM(VAR132,90);
VAR134:=100-100/(1+VAR133);
VAR135:=EMA(VAR134,21);
VAR136:=EMA(VAR135,5);
VAR137:=EMA(VAR135,3);
VAR138:=(CLOSE*2+HIGH+LOW)/4;
VAR139:=EMA(VAR138,13)-EMA(VAR138,21);
VAR140:=EMA(VAR139,3);
VAR141:=EMA(VAR139,10);
VAR142:=IF(VAR140>=VAR141,VAR140,VAR141);
VAR143:=IF(VAR141-VAR140,VAR141,VAR140);
VAR144:=EMA(CLOSE,7)-EMA(CLOSE,21);
VAR145:=EMA(0.668*REF(VAR144,1)+0.333*VAR144,1);
VAR146:=IF(VAR144>=VAR145,VAR144,VAR145);
VAR147:=IF(VAR145-VAR144,VAR145,VAR144);
VAR148:=VAR142>VAR143;
VAR149:=VAR142=VAR143;
VAR150:=VAR146>VAR147;
VAR151:=VAR146=VAR147;
VAR152:=VAR151 AND VAR149;
VAR153:=VAR150 AND VAR148;
STICKLINE(VAR150,HIGH,LOW,0,0),COLORRED;
STICKLINE(VAR151,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(VAR148,OPEN,CLOSE,1,0),COLORRED;
STICKLINE(VAR149,OPEN,CLOSE,1,0),COLORGREEN;
STICKLINE(VAR153,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(VAR152,OPEN,CLOSE,2,0),COLORBLUE;
VAR154:=HHV(MA(HIGH,3),2);
UP:LLV(MA(HIGH,3),1),COLORRED;
DOWN:IF(VAR154-UP>0,UP,DRAWNULL),COLORGREEN;
VAR155:=MA(REF(HHV((CLOSE+LOW+OPEN+HIGH)/4,30),1),3);
STICKLINE(REF(COUNT(CLOSE<VAR155,5)=5,1) AND CLOSE>VAR155 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLORYELLOW;
DRAWICON(REF(COUNT(CLOSE<VAR155,5)=5,1) AND CLOSE>VAR155 AND CLOSE>OPEN,LOW,42),COLORRED;
VAR156:=MA(CLOSE,60)>REF(MA(CLOSE,60),1);
VAR157:=COST(50);
VAR158:=WINNER(CLOSE)*100>50;
VAR159:=CROSS(CLOSE,VAR157);
VAR160:=VAR156 AND VAR157 AND VAR158 AND VAR159 AND VAR150;
STICKLINE(VAR160,CLOSE,OPEN,1,0),COLORMAGENTA;
DRAWICON(VAR160,LOW*0.99,44),COLORRED;
VAR161:=MA(CLOSE,10);
VAR162:=MA(CLOSE,54);
STICKLINE(CLOSE/REF(CLOSE,1)>=1.096 AND HIGH=CLOSE,OPEN,CLOSE,2,0),COLORYELLOW;
VAR163:=EMA(CLOSE,5);
VAR164:=EMA(VAR163,0);
VAR165:=HHV(MA(HIGH,3),2);
VAR166:=LLV(MA(HIGH,3),1);
DRAWICON(VAR166=VAR165 AND REF(VAR165,1)>REF(VAR166,1) AND VAR150,LOW,1);
DRAWICON(VAR166<VAR165 AND REF(VAR166=VAR165,1) AND VAR151,HIGH*1.01,2);
VAR167:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
VAR168:=100*(1-WINNER(CLOSE));
VAR169:=100-VAR168;
VAR170:=CROSS(VAR169,VAR168);
DRAWICON(VAR170,LOW,25);
VAR171:=MA(CLOSE,5);
VAR172:=MA(CLOSE,13);
VAR173:=MA(CLOSE,34);
VAR174:=VAR171>REF(VAR171,1) AND VAR172>REF(VAR172,1) AND VAR173>REF(VAR173,1);
VAR175:=EMA(CLOSE,3);
VAR176:=EMA(SLOPE(CLOSE,34)*5+CLOSE,21);
VAR177:=CROSS(VAR175,VAR176);
VAR178:=CROSS(VAR175,VAR176) AND VAR174;
VAR179:=VAR177>0;
VAR180:=VAR178>0;
VAR181:=MA(CLOSE,34);
VAR182:=VAR179 OR VAR180;
VAR183:=CLOSE>VAR181 AND REF(CLOSE,1)<VAR181;
VAR184:=CROSS(CLOSE,MA(CLOSE,250)) AND VOL>=REF(VOL,1)*2;
VAR185:=(CLOSE/REF(CLOSE,1)-1)*100>9.97 AND CROSS(CLOSE,MA(CLOSE,250));
VAR186:=VAR184 OR VAR185 OR VAR183;
VAR187:=VAR182 AND VAR170 AND VAR186 AND VAR167;
STICKLINE(VAR187,CLOSE,OPEN,3.05,0),COLOR000099;
STICKLINE(VAR187,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(VAR187,CLOSE,OPEN,1.5,0),COLORRED;

STICKLINE(VAR187,CLOSE,OPEN,0.5,0),COLORYELLOW;

 

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标