【通達(dá)信】金山指標(biāo)公式
攻城獅 2016.04.06 08:05
N:=120;M:=89;
HLM1:=MA(HHV(H,500),13);
HLM2:=MA(HHV(H,250),13);
HLM3:=MA(HHV(H,89),13);
HLM4:=MA(LLV(L,500),13);
HLM5:=MA(LLV(L,250),13);
HLM6:=MA(LLV(L,89),13);
HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);
HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);
HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);
HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);
HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);
HLMH:=HHV(HLM12,30);
關(guān)注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3)/200,COLORFF00FF;
DRAWBAND(關(guān)注,RGB(255,255,50),0,RGB(0,100,50));
遵:IF(關(guān)注>=0,關(guān)注,DRAWNULL),COLORRED;
守:IF(0>=關(guān)注,0,DRAWNULL),COLORFF9900;
紀(jì):IF(關(guān)注>=0,0,DRAWNULL),COLOR00FFFF;
律:IF(0>=關(guān)注,關(guān)注,DRAWNULL),COLOR00FF00;
STICKLINE(CROSS(關(guān)注,3.8),0,關(guān)注,3,0),COLORFF00FF;
DRAWTEXT(CROSS(關(guān)注,3.8),關(guān)注+2,’買底’),COLORFF00FF;
DRAWICON(CROSS(關(guān)注,10),關(guān)注,23);
DRAWTEXT(CROSS(關(guān)注,10),關(guān)注+2,’金山’),COLORFF00FF;
STICKLINE(CROSS(關(guān)注,62),0,關(guān)注,3,0),COLOR0000FF;
DRAWTEXT(CROSS(關(guān)注,62),關(guān)注,’傾買’),COLOR0000FF;
{m.chiang1015.com 概念股網(wǎng)_通達(dá)信股票指標(biāo)公式}
A1:=PPART(M)*100,COLORFF00FF;{M日前那部分成本占總成本的比例}
B1:=MA(A1,N),COLOR0000FF;
AA1:=CROSS(5,A1);
AA2:=CROSS(0,A1);
AA3:=CROSS(-50,A1);
AA5:=CROSS(-100,A1);
AA4:=CROSS(-150,A1);
AA6:=CROSS(-200,A1);
AA7:=CROSS(50,A1);
TJ:=AA1 OR AA1 OR AA3 OR AA4 OR AA5 OR AA6 OR AA7;
TJ1:=CROSS(B1,A1);
STICKLINE(TJ,0,10,4,1),COLOR00FFFF;
STICKLINE(TJ1,0,10,4,1),COLOR0000FF;
STICKLINE(TJ1,0,10,0.3,0),COLOR00FFFF;
DRAWTEXT(TJ1,10,’主升’),COLOR0000FF;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負(fù)責(zé),投資決策請建立在獨立思考之上。