等级: 免费版
- 注册:
- 2021-6-5
- 曾用名:
|

楼主 |
发表于 2025-3-31 13:40
|
显示全部楼层
//if DATAPERIOD=0 then minbi:="fbase.var2#min1";
if DATATYPEMORE(3)=10 then minbi:="fbase.var2#min1";
//if DATAPERIOD=1 then minbi:="fbase.var2#min5";
//if DATAPERIOD=2 then minbi:="fbase.var2#min30";
//if DATAPERIOD=3 then minbi:="fbase.var2#min60";
//if DATAPERIOD=4 then minbi:="fbase.var2#day";
//if DATAPERIOD=5 then minbi:="fbase.var2#day";
//if DATAPERIOD=6 then minbi:="fbase.var2#week";
//if DATAPERIOD=7 then minbi:="fbase.var2#month";
//if DATAPERIOD=8 then minbi:="fbase.var2#year";
pre:=1; //设置小数点位数
var1:="chzhshch@kxian";
var2:="chzhshch@bi"(minbi);{处理笔关系}
//drawnumber(var2=1,h,h,pre),pxup12,colorcyan,align0;
//drawnumber(var2=-1,l,l,pre),pxdn2,colorwhite,align0;
var3:="chzhshch@tongji"(minbi);{同级别分解}
zg:="chzhshch@zg"(var3);//一定要先调用ZG
zd:="chzhshch@zd"(var3);
//
//以背景块的形式画中枢
//stickline(zg>zd,zg,zd,10,0),colorblue;
{drawline(var2=1,h,var2=-1,l,0),LINEDASHDOT,coloryellow;
drawline(var2=-1,l,var2=1,h,0),LINEDASHDOT,coloryellow;}
drawline(var2=1,h,var2=-1 ,l,0),colorcyan,linethick2;
drawline(var2=-1,l, var2=1 ,h,0),colorcyan,linethick2;
关键是这个引用一分的线不对
|
|