同花顺量化买卖点指标公式
2021/4/3 19:21:03
N:=5;
M:=13;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
量化阻力:=L1+P1*7/8,colorgreen;
量化支撑:=L1+P1*0.5/8,colorred;
量化中线:=(量化支撑+量化阻力)/2,colorwhite,POINTDOT;
V11:=3*SMA((C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*M,5,1)-2*SMA(SMA((C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*M,5,1),3,1);
量化趋势线:EMA(V11,3),LINETHICK1,coloryellow;
V12:=(量化趋势线-REF(量化趋势线,1))/REF(量化趋势线,1)*100;
准备买入:STICKLINE(量化趋势线<11,量化趋势线,11,5,0),colorred;
AA:=(量化趋势线<11) AND FILTER((量化趋势线<=11),15) AND C<量化中线;
BB0:=REF(量化趋势线,1)<11 AND CROSS(量化趋势线,11) AND C<量化中线;
BB1:=REF(量化趋势线,1)<11 AND REF(量化趋势线,1)>6 AND CROSS(量化趋势线,11);
BB2:=REF(量化趋势线,1)<6 AND REF(量化趋势线,1)>3 AND CROSS(量化趋势线,6);
BB3:=REF(量化趋势线,1)<3 AND REF(量化趋势线,1)>1 AND CROSS(量化趋势线,3);
BB4:=REF(量化趋势线,1)<1 AND REF(量化趋势线,1)>0 AND CROSS(量化趋势线,1);
BB5:=REF(量化趋势线,1)<0 AND CROSS(量化趋势线,0);
BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1;
下单买入:STICKLINE(BB=1 AND C<量化中线,11,52,1,0),colorred;
DRAWICON(BB=1 AND C<量化中线,55,1);
DRAWTEXT(BB0,60,'★抄底'),colorred;
DRAWTEXT(AA,16,'超卖见底'),colorwhite;
准备卖出:STICKLINE(量化趋势线>89,量化趋势线,89,5,0),colorgreen;
CC:=(量化趋势线>89) AND FILTER((量化趋势线>89),15) AND C>量化中线;
DD0:=REF(量化趋势线,1)>89 AND CROSS(89,量化趋势线) AND C>量化中线;
DD1:=REF(量化趋势线,1)>89 AND REF(量化趋势线,1)<94 AND CROSS(89,量化趋势线);
DD2:=REF(量化趋势线,1)>94 AND REF(量化趋势线,1)<97 AND CROSS(94,量化趋势线);
DD3:=REF(量化趋势线,1)>97 AND REF(量化趋势线,1)>99 AND CROSS(97,量化趋势线);
DD4:=REF(量化趋势线,1)>99 AND REF(量化趋势线,1)<100 AND CROSS(99,量化趋势线);
DD5:=REF(量化趋势线,1)>100 AND CROSS(100,量化趋势线);
DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1;
下单卖出:STICKLINE(DD=1 AND C>量化中线,89,49,1,0),colorgreen;
DRAWICON(DD=1 AND C>量化中线,55,2);
DRAWTEXT(DD0,40,'★逃顶'),colorgreen;
DRAWTEXT (CC,84,'超买见顶'),colorwhite;
顶:89,colorgreen;
底:11,colorred;
中:50,POINTDOT,colorwhite;
DRAWTEXT(ISLASTBAR,顶,'顶'),colorgreen;
DRAWTEXT(ISLASTBAR,底,'底'),colorred;
DRAWTEXT(ISLASTBAR,中,'中'),colorwhite;
投股票 网 ww w.tou18.cn
股市公式下载推荐