今天成交额:=AMOUNT/10000;
昨天成交额:=REF(今天成交额,1);
图长度像素:=800*0.4;
昨天图长度:=180+图长度像素;
交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000 and DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,
if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,
if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
预测今天:=今天成交额/交易分钟数*240;
今天图长度:=(预测今天/昨天成交额)*图长度像素+180;
目前成交量:=(今天成交额/昨天成交额)*图长度像素+180;
DRAWTEXTABS(5,25,'昨天金额:'+昨天成交额+'万元'),Color00FFFF,LINETHICK2;
DRAWRECTABS(180,25,昨天图长度,40 ,RGB(0,255,0) ),Color6699FF;
DRAWTEXTABS(5,45,'预计今天:'+预测今天+'万元'),Color2F73FF,LINETHICK2;
DRAWRECTABS(180,45,今天图长度, 60 ,0 ),ColorFFFFFF;
DRAWRECTABS(180,45,目前成交量, 60 ,RGB(200,60,0) ),ColorFFFFFF;
量能决定趋势,资金推动股价。成交额:“AMOUNT”是成交量:“VOL”的货币表现形式;