来函数检测结果如下:
该公式没有未来函数
指标源码:
原理解析:
N赋值:10
YDL1赋值:C*V
YDL2赋值:YDL1/10000/10000
YDLCH1赋值:SUM(IF(C>1日前的C AND V>=6000 OR YDL1>=1500000,YDL2,0),0)
YDLCH2赋值:SUM(IF(C<1日前的C AND V>=6000 OR YDL1>=1500000,YDL2,0),0)
YDLDH1赋值:SUM(IF(C>1日前的C AND V>=4000 AND V<6000 OR YDL1>=500000 AND YDL1<1500000,YDL2,0),0)
YDLDH2赋值:SUM(IF(C<1日前的C AND V>=4000 AND V<6000 OR YDL1>=500000 AND YDL1<1500000,YDL2,0),0)
YDLZH1赋值:SUM(IF(C>1日前的C AND V>=1000 AND V<4000 OR YDL1>=200000 AND YDL1<500000,YDL2,0),0)
YDLZH2赋值:SUM(IF(C<1日前的C AND V>=1000 AND V<4000 OR YDL1>=200000 AND YDL1<500000,YDL2,0),0)
YDLSH1赋值:SUM(IF(C>1日前的C AND V<1000 OR YDL1<200000,YDL2,0),0)
YDLSH2赋值:SUM(IF(C<1日前的C AND V<1000 OR YDL1<200000,YDL2,0),0)
YDLCH赋值:YDLCH1-YDLCH2
YDLDH赋值:YDLDH1-YDLDH2
YDLZH赋值:YDLZH1-YDLZH2
YDLSH赋值:YDLSH1-YDLSH2
YDL赋值:YDLCH+YDLDH+YDLZH+YDLSH
YDL3:=N的YDLCH日累和
YDL4:=N的YDLDH日累和
YDL5:=N的YDLZH日累和
YDL6:=N的YDLSH日累和
YDL7:=N的YDL日累和
输出CH:YDL3,画红色,LINETHICK4
输出DH:YDL4,画黄色,LINETHICK4
输出ZH:YDL5,画白色,LINETHICK4
输出SH:YDL6, 画蓝色,LINETHICK4
输出总净:YDL7,COLORLIRED,NODRAW