通达信猛牛出击主图指标 源码 贴图

2024-10-25 09:56:00来源:本站整理浏览:421

通达信猛牛出击主图指标 源码 贴图

通达信猛牛出击主图指标 源码 贴图

通达信猛牛出击主图指标 源码 贴图

VAR1:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
VAR2:=MA((C+L+O+H)/4,13);
VAR3:=EMA((C+L+O+H)/4,21);
STICKLINE(C< VAR3 AND C>O,H,L,0,0),COLORRED;
STICKLINE(C< VAR3 AND C>O,C,O,3,1),COLORRED;
STICKLINE(C< VAR3 AND C< O,H,L,0,0),COLOR007700;
STICKLINE(C< VAR3 AND C< O,C,O,3,0),COLOR005500;
STICKLINE(C< VAR3 AND C< O,C,O,2,0),COLOR006600;
STICKLINE(C< VAR3 AND C< O,C,O,1,0),COLOR007700;
STICKLINE(C>VAR3 AND C< O,H,L,0,0),COLORFFDD44;
STICKLINE(C>VAR3 AND C< O,C,O,3,0 ),COLORFF7700;
STICKLINE(C>VAR3 AND C< O,C,O,2,0 ),COLORFFAA22;
STICKLINE(C>VAR3 AND C< O,C,O,1 ,0 ),COLORFFDD44;
STICKLINE(C>VAR3 AND C>O,H,L,0,0 ),COLOR00EEFF;
STICKLINE(C>VAR3 AND C>O,C,O,3,0 ),COLOR00AAFF;
STICKLINE(C>VAR3 AND C>O,C,O,2,0 ),COLOR00CCFF;
STICKLINE(C>VAR3 AND C>O,C,O,1,0 ),COLOR00EEFF;
STICKLINE(C>VAR2 AND C>O,H,L,0,0),COLORFF66AA;
STICKLINE(C>VAR2 AND C>O,C,O,3,0 ),COLORFF11FF;
STICKLINE(C>VAR2 AND C>O,C,O,2,0 ),COLORFF44FF;
STICKLINE(C>VAR2 AND C>O,C,O,1,0 ),COLORFF66FF;
STICKLINE(C>VAR2 AND C< O,H,L,0,0),COLOR999999;
STICKLINE(C>VAR2 AND C< O,C,O,3,0),COLOR555555;
STICKLINE(C>VAR2 AND C< O,C,O,2,0),COLOR777777;
STICKLINE(C>VAR2 AND C< O,C,O,1,0),COLOR999999;
STICKLINE(C>VAR1 AND C>O,H,L,0,0),COLOR0000DD;
STICKLINE(C>VAR1 AND C>O,C,O,3,0),COLOR000099;
STICKLINE(C>VAR1 AND C>O,C,O,2,0),COLOR0000BB;
STICKLINE(C>VAR1 AND C>O,C,O,1,0),COLOR0000DD;
STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1,0),COLORBLUE;
STICKLINE(REF(COUNT(C< VAR1,5)=5,1) AND C>VAR1 AND C>O,C,O,1,0),COLOR00CCFF;
HZ:=HHV((H+L)/2,120);{公式网WWW.GPXIAZAI.COM}
AA:=(2*C+H+L)/4;
ACB1:=IF(DATE=10301201,0,1);
ACB2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
ACB3:=EMA(CLOSE,3);
ACB4:=(2*CLOSE+LOW+HIGH)/4*ACB1;
ACB5:=ACB2-ACB3;
ACB6:=CLOSE*VOL;
ACB7:=EMA((EMA(ACB6,3)/EMA(VOL,3)+EMA(ACB6,6)/EMA(VOL,6)+EMA(ACB6,12)/EMA(VOL,12)+EMA(ACB6,24)/EMA(VOL,24))/4,13);
ACB8:=EMA(CLOSE,9);
ACB9:=(CLOSE+OPEN)/2;
上轨1:=EMA(ACB8*1.14,15),COLORGREEN,LINETHICK1;
黄线:=(EMA(ACB9,3)+EMA(ACB9,6)+EMA(ACB9,12)+EMA(ACB9,24))/4,COLORYELLOW,LINETHICK1;
HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,LINETHICK1;
LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,LINETHICK1;
牛熊线:EMA(HH,90),COLORYELLOW,LINETHICK2;
猛牛出击:=C>VAR1 AND(C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),COLORRED;
A1:=COST(85);
A2:=COST(15);
A3:=A1-A2;
A4:=(A1+A2)/2;
A5:=A3/A4*100< 10;
B1:=HHV(HIGH,250);
B2:=LLV(LOW,250);
B3:=B1-B2;
B4:=(A4-B2);
B5:=C/REF(C,1)>1.04 AND V/REF(V,1)>2 AND H=C;
猛牛出击突破:=A5 AND B4 AND WINNER(C)>=0.90 AND B5,COLORFF00FF;
突破:=BARSLASTCOUNT(猛牛出击)=1;
DRAWTEXT(CROSS(C, 牛熊线),LOW*0.98,' ↖突★'),COLORYELLOW;
DRAWICON(CROSS(C, 牛熊线),L*1.002,25);
DRAWICON(猛牛出击,LOW,1);
DRAWICON(突破,LOW,9);
DRAWICON(猛牛出击突破,LOW*0.97,26);


 

 

股票公式栏目导航

本类热门

相关公式