请求简单修改下量托公式,谢谢!

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了请求简单修改下量托公式,谢谢!相关的知识,希望对你有一定的参考价值。

我的要求是:将以下公式在特殊情况(MAVOL1<MAVOL2<MAVOL3)下,背景显示为彩色(背景颜色任意,只要不是默认的黑色即可)

TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0,NODRAW;
VOLUME:=VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1),COLORWHITE,LINETHICK2;
MAVOL2:MA(VOLUME,M2),COLORYELLOW,LINETHICK2;
MAVOL3:MA(VOLUME,M3),COLORMAGENTA,LINETHICK2;

参考技术A

TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0,NODRAW;
VOLUMEA:=VOL,VOLSTICK;
MAVOL1A:=MA(VOLUMEA,M1),COLORWHITE,LINETHICK2;
MAVOL2A:=MA(VOLUMEA,M2),COLORYELLOW,LINETHICK2;
MAVOL3A:=MA(VOLUMEA,M3),COLORMAGENTA,LINETHICK2;
STICKLINE(MAVOL1A<MAVOL2A AND MAVOL2A<MAVOL3A,HHV(MAX(MAX(MAVOL1A,MAVOL2A),MAVOL3A),TOTALBARSCOUNT),0,10,0)COLORLIGREEN;
DRAWSL(MAVOL1A<MAVOL2A AND MAVOL2A<MAVOL3A,0,10000,999999,0),COLORLIGREEN,LINETHICK9;
VOLUME:=VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1),COLORWHITE,LINETHICK2;
MAVOL2:MA(VOLUME,M2),COLORYELLOW,LINETHICK2;
MAVOL3:MA(VOLUME,M3),COLORMAGENTA,LINETHICK2;

本回答被提问者采纳

以上是关于请求简单修改下量托公式,谢谢!的主要内容,如果未能解决你的问题,请参考以下文章

简单模拟一下ab压力测试

ReactJS - 简单的服务器端 API 请求

vueadmintemplate4修改请求地址

Ruby on Rails,如何确定请求是由机器人还是搜索引擎蜘蛛制作的?

PVTPSQPS计算公式(转)

tomcat调优