【通達(dá)信】冠軍分副指標(biāo)公式
攻城獅 2015.11.10 02:02
DRAWGBK(C>0, RGB(50,60,250),RGB(17,21,89),0,’11’,0);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8,COLORGREEN;
支撐:=L1+P1*0.5/8,COLORRED;
中線:=(支撐+阻力)/2,COLORWHITE,POINTDOT;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趨勢(shì)線:EMA(V11,3),LINETHICK2,COLORLIMAGENTA;
V12:=(趨勢(shì)線-REF(趨勢(shì)線,1))/REF(趨勢(shì)線,1)*100;
準(zhǔn)備買(mǎi)入:STICKLINE(趨勢(shì)線<11,趨勢(shì)線,11,5,0),COLORYELLOW;
AA:=(趨勢(shì)線<11) AND FILTER((趨勢(shì)線<=11),15) AND C<中線;
BB0:=REF(趨勢(shì)線,1)<11 AND CROSS(趨勢(shì)線,11) AND C<中線;
BB1:=REF(趨勢(shì)線,1)<11 AND REF(趨勢(shì)線,1)>6 AND CROSS(趨勢(shì)線,11);
BB2:=REF(趨勢(shì)線,1)<6 AND REF(趨勢(shì)線,1)>3 AND CROSS(趨勢(shì)線,6);
BB3:=REF(趨勢(shì)線,1)<3 AND REF(趨勢(shì)線,1)>1 AND CROSS(趨勢(shì)線,3);
BB4:=REF(趨勢(shì)線,1)<1 AND REF(趨勢(shì)線,1)>0 AND CROSS(趨勢(shì)線,1);
BB5:=REF(趨勢(shì)線,1)<0 AND CROSS(趨勢(shì)線,0);
BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1;
下單買(mǎi)入:STICKLINE(BB=1 AND C<中線,11,50,5,0),COLORRED;
DRAWICON(BB=1 AND C<中線,55,1);
DRAWTEXT(BB0,60,’★買(mǎi)’),COLORRED;
DRAWTEXT(AA,16,’準(zhǔn)備買(mǎi)入’),COLORYELLOW;
準(zhǔn)備賣(mài)出:STICKLINE(趨勢(shì)線>89,趨勢(shì)線,89,5,0),COLORWHITE;
CC:=(趨勢(shì)線>89) AND FILTER((趨勢(shì)線>89),15) AND C>中線;
DD0:=REF(趨勢(shì)線,1)>89 AND CROSS(89,趨勢(shì)線) AND C>中線;
DD1:=REF(趨勢(shì)線,1)>89 AND REF(趨勢(shì)線,1)<94 AND CROSS(89,趨勢(shì)線);
DD2:=REF(趨勢(shì)線,1)>94 AND REF(趨勢(shì)線,1)<97 AND CROSS(94,趨勢(shì)線);
DD3:=REF(趨勢(shì)線,1)>97 AND REF(趨勢(shì)線,1)>99 AND CROSS(97,趨勢(shì)線);
DD4:=REF(趨勢(shì)線,1)>99 AND REF(趨勢(shì)線,1)<100 AND CROSS(99,趨勢(shì)線);
DD5:=REF(趨勢(shì)線,1)>100 AND CROSS(100,趨勢(shì)線);
DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1;
下單賣(mài)出:STICKLINE(DD=1 AND C>中線,89,50,5,0),COLORGREEN;
DRAWICON(DD=1 AND C>中線,45,2);
DRAWTEXT(DD0,40,’★賣(mài)’),COLORGREEN;
DRAWTEXT (CC,84,’準(zhǔn)備賣(mài)出’),COLORWHITE;
冠軍1號(hào)QQ:=474131998;
頂:89,COLORGREEN;
底:11,COLORRED;
中:50,POINTDOT,COLORWHITE;
DRAWTEXT(ISLASTBAR,頂,’頂’),COLORGREEN;
DRAWTEXT(ISLASTBAR,底,’底’),COLORRED;
DRAWTEXT(ISLASTBAR,中,’中’),COLORWHITE;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.guangshenggb.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。