启明星(源码 主图+选股 通达信)

启明星主图

DRAWGBK(C>0,RGB(20,20,120),RGB(1,1,5),1,0,1);
DRAWKLINE(H,O,L,C);
DRAWTEXT_FIX(1,0.00,0,0,'行业:')COLOR0080FF;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.20,0,0,'地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.25,0,0,DYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.5,0.08,0,'阻击涨停启明星')COLORRED,LINETHICK3;
AAAA:=MA(C,1);
AAA:=SMA(SMA(SMA(AAAA,2,1),2,1),2,1);
BBB:=MA(AAA,3);
DRAWBAND(AAA,RGB(255,255,0),BBB,RGB(0,0,255));
CCC:=(3*C+L+O+H)/6;
牛线:=(20*CCC+19*REF(CCC,1)+18*REF(CCC,2)+17*REF(CCC,3)+16*REF(CCC,4)+15*REF(CCC,5)+14*REF(CCC,6)+13*REF(CCC,7)+12*REF(CCC,8)+11*REF(CCC,9)+10*REF(CCC,10)+9*REF(CCC,11)+8*REF(CCC,12)+7*REF(CCC,13)+6*REF(CCC,14)+5*REF(CCC,15)+4*REF(CCC,16)+3*REF(CCC,17)+2*REF(CCC,18)+REF(CCC,20))/210,COLORRED,LINETHICK2;
马线:=MA(牛线,5);
DRAWBAND(牛线,RGB(255,40,0),马线,RGB(256,200,0));
STICKLINE(IF((C>REF(C,1)*1.096),2,0),OPEN,CLOSE,3,0),COLORRED;
启明星:=COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线)
AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线)
OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))),COLORGREEN,LINETHICK2;
DRAWTEXT(FILTER(买=1,5),LOW*0.97,'↖启明星'),coloryellow;

 

选股公式

AAA1:=MA(C,1);
AAA:=SMA(SMA(SMA(AAA1,2,1),2,1),2,1);
BBB:=MA(AAA,3);
LJL07:=(3*C+L+O+H)/6;
牛线:=(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+
15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+
10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+
5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,
COLORRED,LINETHICK2;
马线:=MA(牛线,5);
启明星:COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线)
AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线)
OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))),COLORGREEN,LINETHICK2;




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

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

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

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