N:=13;N1:=3;N2:=5;N3:=9;N4:=9;
VVAR4:=EXPMA(CLOSE,9);
VLDN:=EXPMA(VVAR4*0.86,5);
QAVW1:=(C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100;
QAVW2:=100*(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55));
QAV21:=SMA(QAVW2,55,1)+100;
HH:=(HHV(V,135));
RSV8:=(CLOSE - LLV(L,21))/(HHV(H,21) - LLV(L,21));
K18:=EMA(RSV8,3);
D18:=EMA(K18,3);
J18:=3*K18-2*D18;
KDJ1:=REF(COUNT(J18<REF(J18,1),5)>=3,1) AND REF(J18,1)<0.03;
KDJ2:=J18>REF(J18,1);
QAV11:=SMA(QAVW1,9,1);
QAV51:=SMA(QAV11,3,1)+100;
KDJ3:=REF(COUNT(J18>REF(J18,1),5)>=3,1) AND REF(J18,1)>0.99;
KDJ4:=J18<REF(J18,1);
VAR22:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*200*10;
能量:=SMA(VAR22,5,1);
WRH:=QAV51-QAV21+50;
T:=(HIGH+LOW+CLOSE)/3;
CCII:=(T-MA(T,9))/(0.016*AVEDEV(T,9));
STICKLINE(WRH>REF(WRH,1),VLDN-0.4,VLDN-0.7,10,0),COLOR8C1177;
STICKLINE(WRH<REF(WRH,1),VLDN-0.4,VLDN-0.7,10,0),COLOR015400;
JJ:=(H+L+C)/3;
QJ0:=VOL/IF(H=L,4,H-L);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(C,O)),QJ0*(MIN(O,C)-L));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(O,C)-L),QJ0*(JJ-MIN(C,O)));
QJ3:=QJ0*(H-MAX(O,C));
QJ4:=QJ0*(MAX(C,O)-JJ);
QJ5:=QJ1+QJ2;
QJ6:=QJ3+QJ4;
DD:=(QJ5-QJ6)/(QJ5+QJ6)*100;
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/SUM(VOL,10)*100;
DDZ:=DD*17;
DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;
捡钱1:=CROSS(CCII,-150),NODRAW;
捡钱2:=CROSS(CCII,-150) AND ((DDX>0 AND DDY>0) OR DDZ>400),NODRAW;
BIAS:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100,NODRAW;
捡钱3:=IF(BIAS<=-16,1,0),NODRAW;
量1:=MA(VOL,250);
F:=VOL<量1;
CCI8:=(T-MA(T,14))/(0.015*AVEDEV(T,14));
R:=F OR ((捡钱1 OR 捡钱2 OR 捡钱3) AND 能量<550) OR (FILTER(KDJ1 AND KDJ2,3) AND 能量<650) AND CCI8<-180,NODRAW;
DRAWICON(R,VLDN-0.7,9);
DRAWTEXT(R,VLDN-0.7,'捡钱啦'),COLOR00FFFF;

VAR2:=CLOSE*VOL;
VAR3:=EMA((EXPMA(VAR2,3)/EXPMA(VOL,3)+EXPMA(VAR2,6)/EXPMA(VOL,6)+EXPMA(VAR2,12)/EXPMA(VOL,12)+EXPMA(VAR2,24)/EXPMA(VOL,24))/4,N);
SUP:1.06*VAR3;
SDN:VAR3*0.94;
VAR4:=EXPMA(CLOSE,9);
LUP:EXPMA(VAR4*1.14,5);
LDN:EXPMA(VAR4*0.86,5);
多头:=LDN>=REF(LDN,1);
STICKLINE(多头,LDN,LDN+LDN*0.03,0.8,1),COLORMAGENTA;
狮龙抬头:=多头 AND COUNT(多头=0,2)=1 ;
上穿:=CROSS(C,SDN);
SS:=C-SDN<0 AND C/REF(C,3)>1 AND COUNT(C-SDN<0,2)=2 AND C-O>0;
进仓:=上穿 OR SS;
STICKLINE(进仓,L,L-L*0.03,0.8,1),COLOR70DB93;
A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);
散户:=MA(A,27),COLORF2E9E7,POINTDOT;
EMA5:=EMA(C,5);
EMA13:=EMA(C,9);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(EMA13,EMA5))+1),LLV(L,BARSLAST(CROSS
(EMA13,EMA5))+1),H=HHV(H,BARSLAST(CROSS(EMA5,EMA13))+1),HHV(H,BARSLAST(CROSS
(EMA5,EMA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(EMA5,EMA13))+1),HHV(H,BARSLAST(CROSS
(EMA5,EMA13))+1),L=LLV(L,BARSLAST(CROSS(EMA13,EMA5))+1),LLV(L,BARSLAST(CROSS
(EMA13,EMA5))+1),0),COLOR00FF00;
HRY33:=SQRT((HHV(HIGH,55)*LLV(LOW,55)));
牛:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
红犀牛1:=UP>0 AND COUNT(DOWN>0,2)=1;
多空:=IF(红犀牛1,-2,90),COLOR00FF00,LINETHICK3;
多:IF(多空=90,SDN,DRAWNULL),COLORMAGENTA,LINETHICK3;
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N3),N3)/EMA(EMA(ABS(MTM),N3),N3),COLORWHITE;
MAZL:=MA(ZLGJ,N2),COLORYELLOW;
VAAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAAR2:=SMA(ABS(LOW-VAAR1),13,1)/SMA(MAX(LOW-VAAR1,0),10,1);
VAAR3:=EMA(VAAR2,10);
VAAR4:=LLV(LOW,33);
VAAR5:=EMA(IF(LOW<=VAAR4,VAAR3,0),3);
主力进场:=IF(VAAR5>REF(VAAR5,1),VAAR5,0),COLORRED,NODRAW;
洗盘:=IF(VAAR5<REF(VAAR5,1),VAAR5,0),COLORGREEN,NODRAW;
AAA:=ZLGJ>REF(ZLGJ,1) AND MAZL>REF(MAZL,1) AND CROSS(ZLGJ,MAZL);
BBB:=CROSS(ZLGJ,MAZL) AND 多空>10;
CCC:=CROSS(ZLGJ,MAZL) AND COUNT(多空=90,2)=1;
进场:=AAA OR BBB OR CCC;
STICKLINE(进场,SUP,SUP+SUP*0.06,0.8,1),COLORYELLOW;
买:=MA(CLOSE,1);
卖:=(LOW+HIGH+CLOSE)/3;
奇准:= MA(卖,5);
买卖:=LLV(奇准,10);
急买奇准:=LLV((买<买卖),5);
短买奇准:=LLV((买<买卖),10);
P:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
CCI:=((P - MA(P,14))*(100))/((1.5)*(AVEDEV(P,14)));
JL:=CCI < (-100);
P1:=4;
P2:=5;
V1:=LLV(LOW,P1);
V2:=HHV(HIGH,P1);
牛线:= EMA((CLOSE-V1)/(V2-V1)*100,P2),COLORRED,LINETHICK1;
马线:= EMA(0.667*REF(牛线,1)+0.333*牛线,2),COLORGREEN,LINETHICK1;
AAAA:=CROSS(牛线,马线) AND COUNT(急买奇准,2)=1 ;
BBBB:=CROSS(牛线,马线) AND COUNT(短买奇准,2)=1 ;
CCCC:=CROSS(牛线,马线) AND COUNT(JL,2)=1;
DDDD:=CROSS(牛线,马线) AND JL;
进:=AAAA OR BBBB OR CCCC OR DDDD;
STICKLINE(进,SUP,SUP+SUP*0.016,0.8,1),COLORMAGENTA;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VARB2:=(RSV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) AND ZXNH),COLORRED;
低:=黄金 AND RSV<VARB2-2;
DRAWTEXT(低,SUP,'低'),COLORYELLOW;
AA8:=AMOUNT/VOL/100;
RSSV:=(AA8-LLV(AA8,9))/(HHV(AA8,9)-LLV(AA8,9))*100;
K8:=SMA(RSSV,3,1);
D8:=SMA(K8,3,1);
J8:=K8*3-D8*2;
CCI1:=(AA8-MA(AA8,14))/(0.015*AVEDEV(AA8,14));
DIIF:=EMA(AA8,12)-EMA(AA8,26);
DEA:=EMA(DIIF,9);
KDJJ:IF(J8>D,LDN,DRAWNULL),COLORYELLOW,LINETHICK3;
DIFFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEAA:=EMA(DIFFF,5);
MACD:=2*(DIFFF-DEAA);
A1:=EMA(DIFFF,5)*100;
A2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*100;
A3:=IF(A2>0,A2,50),POINTDOT,COLORRED;
A4:=IF(A2<0,A2,50),POINTDOT,COLORGREEN;
资金动能A:=A2+50,COLOR00FFFF,LINETHICK2;
资金动能B:=A1+50,COLORFFFF00,LINETHICK2;
资金动能C:=资金动能A-资金动能B>0;
资金动能:IF(资金动能C,LUP,DRAWNULL),COLORYELLOW,LINETHICK3;
VA1:=HHV(HIGH,9)-LLV(LOW,9);
VA2:=HHV(HIGH,9)-CLOSE;
VA3:=CLOSE-LLV(LOW,9);
VA4:=VA2/VA1*100-70;
VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VA6:=(CLOSE+HIGH+LOW)/3;
VA7:=SMA(VA3/VA1*100,3,1);
VA8:=LLV(LOW,34);
VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
VARA:=IF(VA9>100,VA9-100,0);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
生命线:=EMA(VARD,1),COLORYELLOW;
A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT,COLORFF9900 ;
开始拉升:=IF(CROSS(VARC,生命线) AND VARC>VARD AND VARC<55 AND C>O,1,0),COLORLIRED,POINTDOT;
安全位:=20;
STICKLINE(CROSS(A5,安全位),LDN,LDN-LDN*0.04,2,1);
STICKLINE(开始拉升,LDN,LDN-LDN*0.03,4,1),COLORD9D919;
DRAWTEXT(开始拉升,LDN,' 开始拉升' ),COLORD9D919;
DRAWTEXT(CROSS(A5,安全位),LDN-0.5,' 低位转强' ),COLORYELLOW;
VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VARF:=MA(VARE,3);
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR29:=HHV(HIGH,9)-CLOSE;
VAR39:=CLOSE-LLV(LOW,9);
VAR49:=((VAR29)/(VAR1))*(100)-70;
VAR59:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR69:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR79:=SMA(((VAR39)/(VAR1))*(100),3,1);
VAR89:=LLV(LOW,34);
VAR99:=SMA(VAR79,3,1)-SMA(VAR49,9,1);
VAR10:=IF((VAR99>100),VAR99-100,0);
VAR11:=HHV(HIGH,34);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR39)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR79,3,1)-SMA(VAR4,9,1);
VAR109:=IF((VAR99>100),VAR9-100,0);
VAR191:=HHV(HIGH,34);
B1:=EMA(((VAR69-VAR89)/(VAR11-VAR89))*(100),8);
领先:=EMA(B1,5),COLORCYAN;
A6:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
极地上涨:=IF(A6,领先,0),COLORGREEN,LINETHICK2;
STICKLINE(极地上涨,LDN,LDN-LDN*0.05.1,2,1),COLORMAGENTA;
{ 爱约股_最新股票指标公式}
清:=EMA(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416,5)/2+50,COLORGREEN,POINTDOT;
赚20个点就走:=EMA(ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.1416,5)/2+50,COLORRED,POINTDOT;
黄主升蓝主跌:=EMA(ATAN((MA(C,30)/REF(MA(C,30),1)-1)*100)*180/3.1416,5)/2+50,COLORYELLOW,POINTDOT;
STICKLINE(黄主升蓝主跌>REF(黄主升蓝主跌,1),LUP+0.3,LUP+0.4,3,0),COLORD9D919;
N10:=7;
LC1:=REF(CLOSE,1);
X:=SMA(MAX(CLOSE-LC1,0),N10,1)/SMA(ABS(CLOSE-LC1),N10,1)*100;
Y:=DRAWLINE(X>=HHV(X,N10),X,X<=LLV(X,N10),X,1);
TJ10:=X=Y;
TJ20:=X<REF(X,1);
绝对买底:STICKLINE(TJ10 AND TJ20,LUP,LUP+0.3,1,0),COLORBLUE;
A11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑码线:=EMA(A11,5); A21:=(黑码线-REF(黑码线,1))/REF(黑码线,1)*100; A31:=EMA(C,5);
A41:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:=(MA(3*SMA(A41,6,1)-2*SMA(SMA(A41,5,1),5,1),2));
A51:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(CROSS(A11,黑码线)AND 黑码线<A51,LUP+0.6,'黑码'),COLORD9D919;
VARM1:=4*SMA((CLOSE-LLV(LOW,N4))/(HHV(HIGH,N4)-LLV(LOW,N4))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N4))/(HHV(HIGH,N4)-LLV(LOW,N4))*100,5,1),3.2,1),COLORWHITE,LINETHICK1;
VARM2:=15,COLORGREEN,LINETHICK1;
上升在即1:= IF(CROSS(VARM1,VARM2),LUP,0),STICK,COLORRED,LINETHICK2;
上升在即:STICKLINE(上升在即1,SUP,SDN,0.1,0),COLORRED;
VARH2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VARH3:=SMA(SMA(VARH2,3,1),3,1)/28.57;
VARH4:=EMA(VARH3,5);
操盘:=3*VARH3-2*VARH4;
AH1:=CROSS(操盘,VARH3) AND VARH3<2.1 AND C>O;
DRAWTEXT(AH1,SUP-0.6,'财神'),COLORYELLOW;

 

通达信薛斯通道指标公式

 

达信薛斯通道指标公式的选股公式如下: