通达信启明星主图及选股指标公式

时间:2022-03-17 07:21:17    阅读:296

通达信启明星主图及选股指标公式

 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(启明星,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;
}

 

关键词: 启明星