@三晋作手 上涨家数:=
INDE XDAT A("1A0002",&RI
SECO UNT) + INDEX
DATA ("
399002 ",&RISECOUNT);
下跌家数:=INDEXDATA("1A0002",&FALLCOUNT) + INDEXDATA("399002",&FALLCOUNT);
DRAWTEXT_FIX(ISLA
STBA R,0.8,0.16,1,"上涨家数:"+T
OSTR ING(上涨家数,0)),colorred;
DRAWTEXT_FIX(ISLASTBAR,0.9,0.16,1,"下跌家数:"+
TOST RING (下跌家数,0)),colorgreen;
涨停:=INDEXDATA("1A0002",&RISE
LIMI TCOUNT)+INDEXDATA("
399006 ",&RISELIMITCOUNT);
跌停:=INDEXDATA("1A0002",&FALLLIMITCOUNT)+INDEXDATA("399006",&FALLLIMITCOUNT);
DRAWTEXT_FIX(ISLASTBAR,0.80,0.25,1,"涨停:"+TOS
TRIN G(涨停,0)),colorlired;
DRAWTEXT_FIX(ISLASTBAR,0.9,0.25,1,"跌停:"+TO
STRI NG(跌停,0)),colorliblue;