通达信公式1号主图

布林:=HHV(HHV(L,14),60);
阻力区:=EMA(EMA(布林,16)-2*STD(布林,16),3);
阻力区1:=EMA(EMA(布林,14)+2*STD(布林,14),18);
DRAWBAND(阻力区,RGB(99,99,99),阻力区1,RGB(99,99,99));
{四线开花}
【4】:MA(CLOSE,250),COLORBLUE,LINETHICK3;
【3】:MA(CLOSE,120),COLORCYAN,LINETHICK3;
【2】:MA(CLOSE,60),COLORGREEN,LINETHICK3;
【1】:MA(CLOSE,20),COLORLIRED,LINETHICK3;
{神秘线}
V0:=VOL*(O+C+H+L)/4;
SM:EMA(V0,21)/EMA(VOL,21),COLOR987654,LINETHICK0;
{量能评台突破}
PT:IF(HHVBARS(V,35),REF(C,HHVBARS(V,35)),C),COLOR7F017F,LINETHICK0;
{N日涨幅}
N1:=BARSLAST(CROSS(C,MA(C,6)));
N2:=BARSLAST(CROSS(MA(C,6),C));
N:IF(N1<N2,N1+1,0),COLORBLUE,NODRAW;
ZF%:(C-REF(C,N))/REF(C,N)*100,COLORRED,NODRAW;
{三色K线}
STICKLINE(C>=SM AND C>=O,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(C>=SM AND C>=O,LOW,MIN(O,C),0,1),COLORRED;
STICKLINE(C>=SM AND C>=O,MAX(O,C),HIGH,0,1),COLORRED;
STICKLINE(C>=SM AND C<O,C,O,3,0),COLORCYAN;
STICKLINE(C>=SM AND C<O,C,O,1,0),COLORCYAN;
STICKLINE(C>=SM AND C<O,L,HIGH,0,1),COLORCYAN;
STICKLINE(C<SM AND C>=O,OPEN,CLOSE,3,1),COLORWHITE;
STICKLINE(C<SM AND C>=O,LOW,MIN(O,C),0,1),COLORWHITE;
STICKLINE(C<SM AND C>=O,MAX(O,C),HIGH,0,1),COLORWHITE;
STICKLINE(C<SM AND C<O,C,O,3,0),COLORWHITE;
STICKLINE(C<SM AND C<O,C,O,1,0),COLORWHITE;
STICKLINE(C<SM AND C<O,L,HIGH,0,1),COLORWHITE;
{立桩量}
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(V2>=1 AND OPEN<CLOSE,OPEN,CLOSE,5,1),COLORYELLOW;
STICKLINE(V2>=1 AND OPEN>CLOSE,OPEN,CLOSE,5,0),COLORCYAN;
{涨跌停K线}
涨跌:=REF(C,1);
涨停:=IF((C-涨跌)*100/涨跌>=(10-0.01*100/涨跌),1,0);
STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(涨停,H,L,0,0),COLORRED;
跌停:=IF((涨跌-C)*100/涨跌>=(10-0.01*100/涨跌),1,0);
STICKLINE(跌停,OPEN,CLOSE,4,0),COLORBLUE;
STICKLINE(跌停,H,L,0,1),COLORBLUE;
{立桩量金箍}
STICKLINE(V2>=1,O,(C+O)/2,6,0),COLOR003333;
STICKLINE(V2>=1,O,(C+O)/2,5,0),COLOR116666;
STICKLINE(V2>=1,O,(C+O)/2,4,0),COLOR229999;
STICKLINE(V2>=1,O,(C+O)/2,3,0),COLOR33CCCC;
STICKLINE(V2>=1,O,(C+O)/2,2,0),COLOR44FFFF;


MA10:MA(CLOSE,10),COLORYELLOW,LINETHICK1;
MA5:MA(CLOSE,5),COLORWHITE,LINETHICK1;


{信号系统}
买入1:DRAWICON(CROSS(【1】,【2】),【2】*0.98,5);
买入2:DRAWICON(CROSS(【1】,【3】),【3】*0.98,5);
买入3:DRAWICON(CROSS(【1】,【4】),【4】*0.98,5);
买入4:DRAWICON(CROSS(【2】,【3】),【3】*0.98,9);
买入5:DRAWICON(CROSS(【2】,【4】),【4】*0.98,9);
买入6:DRAWICON(CROSS(【3】,【4】),【4】*0.98,135);
{买入7:DRAWICON(CROSS(MA5,MA10),MA10*0.98,1);
买入8:DRAWICON(CROSS(MA5,【1】),【1】*0.976,1);
买入9:DRAWICON(CROSS(MA5,【2】),【2】*0.972,1);
买入10:DRAWICON(CROSS(MA5,【3】),【3】*0.968,1);
买入11:DRAWICON(CROSS(MA5,【4】),【4】*0.964,1);};
 


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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