V1:=EMA(C,7);
V2:=EMA(C,18);
V3:=(V1-V2)/V2*100;
V4:=EMA(V3,1);
V5:=EMA(C,3);
V6:=EMA(C,26);
V7:=V5-V6;
DK:EMA(EMA(EMA(C,3),3),3)+V7,COLORGREEN;
IF(V4>=REF(V4,1),DK,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(V4<=REF(V4,1),DK,DRAWNULL),COLORGREEN;
V8:=HHV(vol,5);
V9:=O>C;
V10:=C>O;
V11:=C=O;
V12:=SUM(VOL,5)/V8;
V13:=IF(V12>0.3,1,0);
V14:=IF(V9 AND V13,VOL,0);
V15:=IF(V10 AND V13,VOL,0);
V16:=IF(V11 AND V13,VOL,0);
V17:=SUM(V15,3);
V18:=SUM(V14,3);
V19:=V17-V18;
STICKLINE(V19=V17,C,O,3.05,0),COLOR000099;
STICKLINE(V19=V17,C,O,2.2,0),COLOR0000CC;
STICKLINE(V19=V17,C,O,1.5,0),COLORRED;
STICKLINE(V19=V17,C,O,0.5,0),COLORYELLOW;
DRAWICON(V19=V17 AND REF(V19=V17,1)=0,LOW*0.98,30),COLORMAGENTA;
V20:=EMA(100*(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
V21:=(REF(V20,1)+REF(V20,2)+REF(V20,3))/3;
V22:=(REF(V20,1)+REF(V20,2)+REF(V20,3)+REF(V20,4) +REF(V20,5)+REF(V20,6)+REF(V20,7)+REF(V20,8) +REF(V20,9)+REF(V20,10))/10;
V23:=V20< 80 AND V21< 80 AND V22< 80;
V24:=V20>80 AND V21>80 AND V22>80;
V25:=V22< V20;
V26:=REF(C,1);
V27:=SMA(MAX(C-V26,0),2,1)/SMA(Abs(C-V26),2,1)*100;
V28:=100*(HHV(HIGH,10)-C)/(HHV(HIGH,10)-LLV(LOW,10));
V29:=100*(HHV(HIGH,6)-C)/(HHV(HIGH,6)-LLV(LOW,6));
V30:=crOSS(V27,V29) AND V25;
V31:=V27>75 AND V29< 5;
DRAWICON(V31 AND V17>V19,LOW*0.99,29),COLORYELLOW;
DRAWICON(V30,LOW*0.98,28),COLORYELLOW;
V32:=WINNER(C*0.9)*100;
V33:=MA(V32,10);
V34:=MA(V32,3);
V35:=IF(V33>V34,V34,V33);
V36:=(C-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
V37:=EMA(C,12)-EMA(C,26);
V38:=EMA(V37,9);
V39:=V37>V38;
V40:=(C-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
V41:=SMA(V36,3,1);
V42:=SMA(V41,3,1);
V43:=V41>V42;
V44:=REF(C,1);
V45:=SMA(MAX(C-V44,0),9,1)/SMA(ABS(C-V44),9,1)*100;
V46:=SMA(MAX(C-V44,0),26,1)/SMA(ABS(C-V44),26,1)*100;
V47:=V45>V46;
V48:=SMA(V40,3,1);
V49:=SMA(V48,3,1);
V50:=V48>V49;
V51:=(MA(C,3)+MA(C,9)+MA(C,12)+MA(C,26))/4;
V52:=C>V51;
V53:=C-REF(C,1);
V54:=100*EMA(EMA(V53,9),9)/EMA(EMA(ABS(V53),9),3);
V55:=100*EMA(EMA(V53,26),12)/EMA(EMA(ABS(V53),26),12);
V56:=V54>V55;
V57:=V39 AND V43 AND V47 AND V50 AND V52 AND V56;
V58:=EMA(EMA(C,9),9);
V59:=100*WINNER(C*0.95);
V60:=EMA(C,12)>EMA(C,50) AND EMA(C,20)>EMA(C,120);
V61:=(V58-REF(V58,1))/REF(V58,1)*1000;
V62:=V59>=50 AND COST(85)<=C AND V61>0 AND V61>REF(V61,1);
V63:=DMA((HIGH+LOW+C*2)/4,0.9);
V64:=VOL/((HIGH-LOW)*2-ABS(C-O));
V65:=IF(C>O,V64*(HIGH-LOW),IF(C< O,V64*(HIGH-O+C-LOW),VOL/2)) +IF(C>O,0-V64*(HIGH-C+O-LOW),IF(C< O,0-V64*(HIGH-LOW),0-VOL/2));
V66:=V65/20/1.15;
V67:=V66*0.55+REF(V66,1)*0.33+REF(V66,2)*0.22;
V68:=EMA(V67,8);
V69:=EMA(V67,3);
V70:=V69;
V71:=MA(VOL,5);
V72:=MA(VOL,10);
V73:=V71>=V72;
V74:=V70>=0;
V75:=V74 AND V73;
V76:=V57 OR V75;
V77:=CROSS(REF(C,1),C);
V78:=WINNER(C)*100;
V79:=REF(V78,1)-V78<=5;
V80:=CROSS(V78,REF(V78,1)) AND V78< 20;
V81:=V79 OR V78;
V82:=V77 AND V81;
V83:=(2*C+HIGH+LOW)/4;
V84:=LLV(LOW,5);
V85:=HHV(HIGH,5);
V86:=IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0);
V87:=V86=23;
V88:=BARSLAST(V87)=1;
V89:=V86< 23;
V90:=V88 AND V89;
V91:=(BARSLASTCOUNT(V86>0)=4)*30;
V92:=V90 OR V91;
V93:=EMA(VOL,13);
V94:=EMA(AMOUNT,13);
V95:=V94/V93/100;
V96:=(C-V95)/V95*100;
V97:=V96< 0-18 OR V96< 0-6;
V98:=V97 AND V92;
V99:=V98 OR V82;
STICKLINE(V99 AND V22< 80 AND V35=V33 AND V76,LOW,O,3,0),COLORBLUE;
STICKLINE(V99 AND V22< 80 AND V35=V33 AND V76,C,O,3,0),COLORMAGENTA;
V100:=REF(LOW,1);
V101:=SMA(ABS(LOW-V100),3,1)/SMA(MAX(LOW-V100,0),3,1)*100;
V102:=EMA(IF(C*1.3,V101*10,V101/10),3);
V103:=LLV(LOW,13);
V104:=HHV(V102,13);
V105:=IF(MA(C,34),1,0);
V106:=EMA(IF(LOW<=V103,(V102+V104*2)/2,0),3)/618*V105;
V107:=IF(V106>100,100,V106);
V108:=V107>15 AND V76;
V109:=V108 OR V107=100;
STICKLINE(V109,LOW,O,3,0),COLORMAGENTA;
STICKLINE(V109,C,O,3,0),COLORBLUE;
V110:=EMA(C,2);
V111:=EMA(SLOPE(C,21)*20+C,42);
V112:=IF(CROSS(V110,V111),LOW-0.02,DRAWNULL);
V113:=(LOW+HIGH+C*2)/4;
V114:=EMA(V113,14);
V115:=(V114-REF(V114,1))/REF(V114,1)*100;
V116:=IF(V115>=0,V114,DRAWNULL);
V117:=IF(CROSS(V112,0),5,0);
V118:=IF(CROSS(V116,0),10,0);
V119:=V117 AND V118;
DRAWICON(V119,LOW*0.99,1),COLORGREEN;
DRAWICON(V119,LOW*0.98,1),COLORGREEN;
V120:=REF(C,1);
V121:=SMA(MAX(C-V120,0),5,1)/SMA(ABS(C-V120),5,1)*100;
V122:=CROSS(80,V121);
DRAWICON(V122,HIGH*1.01,2),COLORGREEN;
DRAWICON(V122,HIGH*1.02,2),COLORGREEN;
V123:=SMA(MAX(C-V26,0),3,1)/SMA(ABS(C-V26),3,1)*100;
V124:=EMA(C,3);
V125:=EMA(C,21);
DRAWICON(CROSS(V124,V125),LOW*0.97,38),COLORRED;
DRAWICON(CROSS(88,V123),HIGH*1.03,39),COLORYELLOW;
V126:=8;
V127:=100*EMA(EMA(V53,V126),V126)/EMA(EMA(ABS(V53),V126),V126);
V128:=IF(LLV(V127,2)=LLV(V127,7) AND COUNT(V127< 0,2) AND CROSS(V127,MA(V127,2)),1,0);
DRAWICON(FILTER(V128=1,5),LOW*0.99,7),COLORRED;
V129:=C-REF(C,1);
V130:=IF(C-REF(C,1)>=0,V129,0);
V131:=REF(C,1)-C;
V132:=IF(C-REF(C,1)<=0,V131,0);
V133:=SUM(V130,90)/SUM(V132,90);
V134:=100-100/(1+V133);
V135:=EMA(V134,21);
V136:=EMA(V135,5);
V137:=EMA(V135,3);
V138:=(C*2+HIGH+LOW)/4;
V139:=EMA(V138,13)-EMA(V138,21);
V140:=EMA(V139,3);
V141:=EMA(V139,10);
V142:=IF(V140>=V141,V140,V141);
V143:=IF(V141-V140,V141,V140);
V144:=EMA(C,7)-EMA(C,21);
V145:=EMA(0.668*REF(V144,1)+0.333*V144,1);
V146:=IF(V144>=V145,V144,V145);
V147:=IF(V145-V144,V145,V144);
V148:=V142>V143;
V149:=V142=V143;
V150:=V146>V147;
V151:=V146=V147;
V152:=V151 AND V149;
V153:=V150 AND V148;
STICKLINE(V150,HIGH,LOW,0,0),COLORRED;
STICKLINE(V151,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(V148,O,C,1,0),COLORRED;
STICKLINE(V149,O,C,1,0),COLORGREEN;
STICKLINE(V153,O,C,2,0),COLORRED;
STICKLINE(V152,O,C,2,0),COLORBLUE;
V154:=HHV(MA(HIGH,3),2);
UP:LLV(MA(HIGH,3),1),COLORRED;
DOWN:IF(V154-UP>0,UP,DRAWNULL),COLORGREEN;
V155:=MA(REF(HHV((C+LOW+O+HIGH)/4,30),1),3);
STICKLINE(REF(COUNT(C< V155,5)=5,1) AND C>V155 AND C>O,C,O,2,0),COLORYELLOW;
DRAWICON(REF(COUNT(C< V155,5)=5,1) AND C>V155 AND C>O,LOW,42),COLORRED;
V156:=MA(C,60)>REF(MA(C,60),1);
V157:=COST(50);
V158:=WINNER(C)*100>50;
V159:=CROSS(C,V157);
V160:=V156 AND V157 AND V158 AND V159 AND V150;
STICKLINE(V160,C,O,1,0),COLORMAGENTA;
DRAWICON(V160,LOW*0.99,44),COLORRED;
V161:=MA(C,10);
V162:=MA(C,54);
STICKLINE(C/REF(C,1)>=1.096 AND HIGH=C,O,C,2,0),COLORYELLOW;
V163:=EMA(C,5);
V164:=EMA(V163,0);
V165:=HHV(MA(HIGH,3),2);
V166:=LLV(MA(HIGH,3),1);
DRAWICON(V166=V165 AND REF(V165,1)>REF(V166,1) AND V150,LOW,1);
DRAWICON(V166< V165 AND REF(V166=V165,1) AND V151,HIGH*1.01,2);
V167:=MA(C,5)>MA(C,10) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,5)>REF(MA(C,5),1);
V168:=100*(1-WINNER(C));
V169:=100-V168;
V170:=CROSS(V169,V168);
DRAWICON(V170,LOW,25);
V171:=MA(C,5);
V172:=MA(C,13);
V173:=MA(C,34);
V174:=V171>REF(V171,1) AND V172>REF(V172,1) AND V173>REF(V173,1);
V175:=EMA(C,3);
V176:=EMA(SLOPE(C,34)*5+C,21);
V177:=CROSS(V175,V176);
V178:=CROSS(V175,V176) AND V174;
V179:=V177>0;
V180:=V178>0;
V181:=MA(C,34);
V182:=V179 OR V180;
V183:=C>V181 AND REF(C,1)< V181;
V184:=CROSS(C,MA(C,250)) AND VOL>=REF(VOL,1)*2;
V185:=(C/REF(C,1)-1)*100>9.97 AND CROSS(C,MA(C,250));
V186:=V184 OR V185 OR V183;
V187:=V182 AND V170 AND V186 AND V167;
STICKLINE(V187,C,O,3.05,0),COLOR000099;
STICKLINE(V187,C,O,2.2,0),COLOR0000CC;
STICKLINE(V187,C,O,1.5,0),COLORRED;
STICKLINE(V187,C,O,0.5,0),COLORYELLOW;
VAR2:V52 OR V102 OR V94 OR V85 OR V86 OR V104 OR V149,NODRAW;
VAR1:V77 AND C/REF(C,1)>1.095 AND V80 AND V79 OR V103 OR V150 OR V152 OR V153 OR V156 OR V155 OR V154 OR V157,NODRAW;
VAR3:V97 AND V84 AND V101 AND V81,NODRAW;
捉妖:VAR1 AND C/REF(C,1)>1.095,NODRAW;
DRAWTEXT(TFILTER(捉妖,20,0),L*0.99,'←捉妖'),COLORYELLOW;
擒龙:VAR3>=1 AND C/REF(C,1)>1.095,NODRAW;
DRAWTEXT(TFILTER(V19=V17,20,0) AND 擒龙 ,L*0.99,'←擒龙'),COLORRED;
通达信首板突破捉妖主图指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/108850.html