公式解读:
经传牛熊线指标公式FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORWHITE; FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORWHITE; BB:IF(MA(CLOSE,17) FS,FS,MA(CLOSE,17)),COLORWHITE; 年线:=EMA(C,250); A:=BB-(EMA(C,3)-BB),COLORWHITE; DIFF:EMA((年线-(EMA(C,3)-年线)),5),LINETHICK2; IF(BB=FS,BB,BB), COLORWHITE,LINETHICK2; 追涨跌破止损: EMA(COST(81),10) COLORRED,LINETHICK2; 牛熊线: EMA(COST(27),120), CIRCLEDOT;
A:=(3*C+L+O+H)/6; B:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF (A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,1 2)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210; 多:MA(B,2),COLORRED; 空:MA(B,3),COLORBLUE; 操作:MA(B,13),COLORYELLOW; 牛熊:MA(B,34),COLORGREEN; 长期牛熊:MA(B,233),COLORWHITE; 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); DRAWTEXT(BU,LOW*0.999, B ),COLORRED,LINETHICK3; DRAWTEXT(BU,LOW, 〩 ),COLOR208FFF,LINETHICK3; DRAWTEXT(SEL,HIGH, 〩 ),COLORFFFF00,LINETHICK3; DRAWTEXT(SEL,HIGH*1.008, S ),COLORFFFF00,LINETHICK3; STICKLINE(买线 =卖线,LOW,HIGH,1,0),COLORRED; STICKLINE(买线 =卖线,CLOSE,OPEN,4.5,0),COLOR0000AA; STICKLINE(买线 =卖线,CLOSE,OPEN,4,0),COLOR0000CC; STICKLINE(买线 =卖线,CLOSE,OPEN,3,0),COLOR0000CC; STICKLINE(买线 =卖线,CLOSE,OPEN,2,0),COLOR0000EE; STICKLINE(买线 卖线,CLOSE,OPEN,4.5,0),COLORAAAA00; STICKLINE(买线 卖线,CLOSE,OPEN,4,0),COLORBBBB00; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; G:=95;
MA120:=MA(C,120);
MA250:=MA(C,250);
STICKLINE(C =O,H,L,0,1),COLORCYAN;
STICKLINE(C =O,C,O,3,1),COLORCYAN;
STICKLINE(C O,H,L,0,0),COLORCYAN;
STICKLINE(C O,C,O,3,0),COLORCYAN;
STICKLINE(C MA120ANDC O,H,C,0,0),COLORRED;
STICKLINE(C MA120ANDC O,L,O,0,0),COLORRED;
STICKLINE(C MA120ANDC O,O,C,3,1),COLORRED;
STICKLINE(C MA120ANDC =O,H,L,0,0),COLORRED;
STICKLINE(C MA120ANDC =O,O,C,3,0),COLORRED;
STICKLINE(C MA120ANDMA120 REF(MA120,1)ANDC O,H,C,0,0),COLORRED;
STICKLINE(C MA120ANDMA120 REF(MA120,1)ANDC O,O,L,0,0),COLORRED;
STICKLINE(C MA120ANDMA120 REF(MA120,1)ANDC O,O,C,3,1),COLORRED;
STICKLINE(C MA120ANDMA120 REF(MA120,1)ANDC =O,H,L,0,0),COLORRED;
STICKLINE(C MA120ANDMA120 REF(MA120,1)ANDC =O,O,C,3,0),COLORRED;
STICKLINE(C MA120ANDMA120O,H,C,0,0),COLORCYAN;
STICKLINE(C MA120ANDMA120O,O,L,0,0),COLORCYAN;
STICKLINE(C MA120ANDMA120O,O,C,3,1),COLORCYAN;
STICKLINE(C MA120ANDMA120 REF(MA120,1)ANDC =O,H,L,0,0),COLORCYAN;
STICKLINE(C MA120ANDMA120 REF(MA120,1)ANDC =O,O,C,3,0),COLORCYAN;
STICKLINE(C MA120ANDMA120O,H,C,0,0),COLORCYAN;
STICKLINE(C MA120ANDMA120O,O,L,0,0),COLORCYAN;
STICKLINE(C MA120ANDMA120O,O,C,3,1),COLORCYAN;
STICKLINE(C MA120ANDMA120 REF(MA120,1)ANDC =O,H,L,0,0),COLORCYAN;
STICKLINE(C MA120ANDMA120 REF(MA120,1)ANDC =O,O,C,3,0),COLORCYAN;
STICKLINE(MA120 MA250ANDC MA120ANDC O,H,C,0,0),COLORRED;
STICKLINE(MA120 MA250ANDC MA120ANDC O,O,L,0,0),COLORRED;
STICKLINE(MA120 MA250ANDC MA120ANDC O,O,C,3,1),COLORRED;
STICKLINE(MA120 MA250ANDC MA120ANDC =O,H,L,0,0),COLORRED;
STICKLINE(MA120 MA250ANDC MA120ANDC =O,O,C,3,0),COLORRED;
STICKLINE(MA120 MA250ANDCO,H,C,0,0),COLORGREEN;
STICKLINE(MA120 MA250ANDCO,O,L,0,0),COLORGREEN;
STICKLINE(MA120 MA250ANDCO,O,C,3,1),COLORGREEN;
STICKLINE(MA120 MA250ANDC MA120ANDC =O,H,L,0,0),COLORGREEN;
STICKLINE(MA120 MA250ANDC MA120ANDC =O,O,C,3,0),COLORGREEN;
STICKLINE(MA120 MA250ANDC MA120ANDMA120 REF(MA120,1)AND
C O,H,C,0,0),COLORCYAN;
STICKLINE(MA120 MA250ANDC MA120ANDMA120 REF(MA120,1)AND
C O,O,L,0,0),COLORCYAN;
STICKLINE(MA120 MA250ANDC MA120ANDMA120 REF(MA120,1)AND
C O,O,C,3,1),COLORCYAN;
STICKLINE(MA120 MA250ANDC MA120ANDMA120 REF(MA120,1)AND
C =O,H,L,0,0),COLORCYAN;
STICKLINE(MA120 MA250ANDC MA120ANDMA120 REF(MA120,1)AND
C =O,O,C,3,0),COLORCYAN;
STICKLINE(CO,H,C,0,0),COLORBLUE;
STICKLINE(CO,O,L,0,0),COLORBLUE;
STICKLINE(CO,O,C,3,1),COLORBLUE;
STICKLINE(C MA250ANDC =O,H,L,0,0),COLORBLUE;
STICKLINE(C MA250ANDC =O,O,C,3,0),COLORBLUE;
STICKLINE(C MA120ANDMA120O,H,C,0,0),COLORYELLOW;
STICKLINE(C MA120ANDMA120O,O,L,0,0),COLORYELLOW;
STICKLINE(C MA120ANDMA120O,O,C,3,1),COLORYELLOW;
STICKLINE(C MA120ANDMA120 MA250ANDC =O,H,L,0,0),COLORYELLOW;
STICKLINE(C MA120ANDMA120 MA250ANDC =O,O,C,3,0),COLORYELLOW;
亿:AMOUNT/100000000,COLORFF00FF,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入
亿:IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLO
SE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出
亿:IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR
1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
额亿:流入亿+流出亿,COLORFFFF00,NODRAW;
{线:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;}
YUWEI:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;
{量:(线),VOLSTICK;}
分界:0;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,4,0)COLOR0D0C6A;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,3,0)COLOR0D06AA;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,1.5,0)COLOR2108C1;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,0.5,0)COLOR9F5DFF;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,4,0)COLOR22736F;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,3,0)COLOR22AAD5;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,1.5,0)COLOR10C7BF;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,0.5,0)COLOR80FFFF;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,4,0)COLOR1B7411;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,3,0)COLOR17A715;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,1.5,0)COLOR08D306;
STICKLINE(YUWEI 0ANDYUWEI REF(YUWEI,1),0,YUWEI,0.5,0)COLOR40FF00;
STICKLINE(YUWEI 0andyuwei REF(YUWEI,1),0,YUWEI,4,0)COLOR080E71;
STICKLINE(YUWEI 0andyuwei REF(YUWEI,1),0,YUWEI,3,0)COLOR0B0E8C;
STICKLINE(YUWEI 0andyuwei REF(YUWEI,1),0,YUWEI,1.52,0)COLOR0905B0;
STICKLINE(YUWEI 0andyuwei REF(YUWEI,1),0,YUWEI,0.5,0)COLOR0204F2;
DRAWTEXT(CROSS(0,YUWEI),0, 空
DRAWTEXT(CROSS(YUWEI,0),0, 买
{}
:=(CLOSE*2+HIGH+LOW+O)/4;
:=EMA(主力,11)-EMA(主力,22);
:=EMA(散户,5);
量:(-2)*(散户-量比)*5,COLOR00FF00,LINETHICK3;
量1:2*(散户-量比)*5,COLOR0000FF,LINETHICK3;
轴:0;