上海量:"SH1A0001$VOL",LINETHICK0,PRECISION0,color91FFEF;
沪昨金:REF("SH1A0001$AMOUNT",1)/100000000,LINETHICK0,PRECISION2,color91FFEF;
深圳量:"SZ399001$VOL",LINETHICK0,PRECISION0,color9CFF7A;
深昨金:REF("SZ399001$AMOUNT",1)/100000000,LINETHICK0,PRECISION2,color9CFF7A;
市场成本:EMA(COST(90),5),LINETHICK0,PRECISION2,colorFFFFFF;
CS:=IF(CAPITAL=0,100000000,10000);额:AMOUNT/cs,VOLSTICK;昨额:=ref(额,1);
SJ:=OPENMINUTES(CURRENTTIME);
预测:=AMOUNT/sj*240;
测:=IF(COUNT(c,0)>=1 AND DATATYPE=6,AMOUNT*240/OPENMINUTES(CURRENTTIME),0);
总:=HHV(额,5);P:=SYSPARAM(1);
ww:=SYSPARAM(2);n1:=SYSPARAM(3);nn:=n1-ww+1;hh:=HHV(总,nn);ll:=LLV(总,nn);
ZG:=hh[n1];ZD:=ll[n1];中0:=ZD+(ZG-ZD)*0.5;中:=中0*0.07;
STICKLINE(BARPOS=SYSPARAM(2),中*40.5,中*34.5,(预测[p]/cs/总*200)*1.02,1),COLORFFFFFF;
STICKLINE(BARPOS=SYSPARAM(2),中*40,中*35,预测[p]/cs/总*200,0),COLOR0000FF;
STICKLINE(BARPOS=SYSPARAM(2),中*33.5,中*27.5,(昨额[P]/总*200)*1.01,1),COLORFFFFFF;
STICKLINE(BARPOS=SYSPARAM(2),中*33,中*28,昨额[P]/总*200,0),COLORFF8800;
DRAWTEXT(BARPOS=SYSPARAM(2),中*32,'昨天金额:'+NUMTOSTR(昨额[P],2)+IF(CAPITAL=0,' 亿元',' 万元')),Color00FFFF,LINETHICK2;
DRAWTEXT(BARPOS=SYSPARAM(2),中*39,'预计今天:'+NUMTOSTR(测[P]/cs,2)+IF(CAPITAL=0,' 亿元',' 万元')),Color00FFFF,LINETHICK2;
因帖子忘哪里了,千均写的指标你看看好用不!