通达信短买23个买点集合主图指标公式源码

MM1:=5;
MM2:=13;
MM3:=21;
MM4:=34;
MM5:=55;
MM6:=89;
MM7:=144;
MM8:=233;
M5:EMA(C,MM1);
M13:EMA(C,MM2);
M21:EMA(C,MM3);
M34:EMA(C,MM4);
M55:EMA(C,MM5),POINTDOT,LINETHICK2,COLOR3366DD;
M89:EMA(C,MM6),POINTDOT,LINETHICK2,COLOR66FFAA;
M144:EMA(C,MM7),POINTDOT,LINETHICK2,COLOR6633FF;
M233:EMA(C,MM8),POINTDOT,LINETHICK2,COLOR6666FF;
{B1:=BARSLAST(HHV(HIGH,19)=H);}
B1:=CONST(LLV(LOW,19));
B2:=CONST(HHV(HIGH,19));
支撑价:IF(CURRBARSCOUNT<19,B1,DRAWNULL), COLORLIRED,CIRCLEDOT;
阻力价:IF(CURRBARSCOUNT<19,B2,DRAWNULL),COLORLIBLUE,CIRCLEDOT;
{攻击临界点}
C1:=C<B2/1.03 AND C>B2/1.05;
C2:=IF(CURRBARSCOUNT=1 AND PERIOD=5,vol*240/FROMOPEN,DRAWNULL);
C3:=C2/REF(V,1)>=1.5;
C4:=C1 AND C3;
C5:=C2/REF(V,1)>=2;
DRAWTEXT(C4,L,'☆攻击临界点'),COLORLIRED;
DRAWTEXT(C4 AND C5,L,'☆颈线位量超'),COLORLIRED;
{旱地拔葱}
D1:=19;
D2:=BARSLAST(LLV(LOW,D1)=L);
D3:=BARSLAST(C/REF(C,1)>1.09);
D4:=D3-D2;
D5:=D4>=0 AND D4<3;
D6:=FILTER(D5,D1);
D7:=COUNT(C/REF(C,1)>1.05,12)>=9;
DRAWTEXT(D6 OR D7,L,'☆旱地拔葱'),COLORLICYAN;
D8:=COUNT(D6,3)>0;
D9:=C>M13 AND C<M13*1.02;
DRAWTEXT(D8 AND D9 ,L,'☆厚积薄发'),COLORLICYAN;
{小阳放量滞涨}
E1:=5; E2:=3;
E3:=C/REF(C,1)>=1 AND C/REF(C,1)<1.02;
E4:=V/REF(V,1)>1;
E5:=COUNT(E3 AND E4,E1)>=E2;
E6:=FILTER(E5,E1);
DRAWTEXT(E6,L,'☆小阳放量滞涨'),COLORLIGREEN;
{轻舟越过万重山}
F1:=V/CAPITAL*100<3;
F2:=C>M233*1.03 AND C<M233*1.11 AND C/REF(C,1)>1.04 AND REF(C,1)<M233;
F3:=F2 AND F1;
DRAWTEXT(F3,L,'☆轻舟越过万重山'),COLORLIBLUE;
{空头强驽之末}
FF1:=M55>M34 AND M34>M13;
FF2:=C<M13*0.8;
FF3:=FF1 AND FF2;
DRAWTEXT(FF3,L,'☆空头强驽之末'),COLORLIBLUE;
{黄金买点}
G1:=CONST(LLV(LOW,55));
G2:=CONST(HHV(HIGH,55));
G3:=G2-G1;
G4:=C<(G2-G3*0.382)*1.05 AND C>(G2-G3*0.382)*0.98;
G5:=FILTER(G4,10);
DRAWTEXT(G5 AND CURRBARSCOUNT<10,L,'☆黄金买点'),COLORLIBLUE;
{假阴线}
H1:=REF(C,1)/REF(C,2)>1.0985;
H2:=O>REF(H,1) AND O>C;
H3:=V/REF(V,1)>1.3;
H4:=M5>M21;
H5:=C/REF(C,1)>1.01;
H6:=H1 AND H2 AND H3 AND H4 AND H5;
DRAWTEXT(H6,L,'☆假阴线'),COLORLIBLUE;
{直破多头线}
J1:=M13>M34 AND M34>M55;
J2:=M13>REF(M13,1);
J3:=(M13-M34)>(REF(M13,2)-REF(M34,2));
J4:=C/REF(C,1)<0.97 AND L/M34>0.99 AND L/M34<1.01;
J5:=J1 AND J2 AND J3 AND J4;
J6:=FILTER(J5,10);
DRAWTEXT(J6,L,'☆直破多头线'),COLORLIBLUE;
{日、周线同处0乖离}

请下载附件里完整源码.......................
 

 



未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图