N:=3;
BL:=4;
BN:=20;
C2:=REF(C,1);
MA3:MA(C2,3),COLORYELLOW;
MA10:MA(C2,BN),COLORGREEN;
MA13:MA(C2,13),COLORBLUE;
L0:=0.00;
L1:=Abs(L-REF(L,1))<=L0;
L2:=ABS(L-REF(L,2))<=L0;
L3:=ABS(L-REF(L,3))<=L0;
L4:=ABS(L-REF(L,4))<=L0;
L5:=ABS(L-REF(L,5))<=L0;
首次:=L1 OR L2 OR L3 {OR L4 OR L5};
中点:=(H+L)/2;
本日跌率:=(O-C)*100/O;
比前跌率:=(REF(C,1)-C)*100/REF(C,1);
左大阴K:=FILTER(比前跌率>BL,N) ;
天数:=BArslAST(左大阴K);
JC:=REF(C,天数);
下:=HHV(中点,天数)
MAvol1:=MA(V,5);
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
{-股票公式网站 }
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(HIGH,3),1,0)));
TP:=TJ2=1;
STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),6,0),COLORYELLOW;
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(LOW,3),1,0)));
STFZ:=TJ3=1;
CL:=STFZ AND TP;
TJCL:=FILTER(CL,3);
STICKLINE(LJL,OPEN,CLOSE,5,0),COLORYELLOW;
DRAWTEXT(LJL,L*0.99,'黄金柱'),COLORf00ff0;
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
DRAWTEXTABS(35,0,BKNAME ),colorDDDDDD;
DRAWTEXTABS(35,15,'流通盘:'+CAPITAL/100+'万股,利润增长:'+FINANCE2(10)+'%。每股收益:'+FINANCE2(3)+'元。' ),color00DDDD;
历史最低价:LLV(LOW,0),color00FF00,LINETHICK0;
历史最高价:HHV(HIGH,0),Colorred,LINETHICK0;
三日涨跌:(C-REF(CLOSE,3))/C*100,ColorFF00FF,LINETHICK0;
十五日涨跌:(C-REF(CLOSE,15))/C*100,LINETHICK0;
三十日涨跌:(C-REF(CLOSE,30))/C*100,LINETHICK0;