未来函数检测结果如下:
该公式包含未来函数:DVOL
指标源码:

原理解析:
N赋值:10
X1赋值:统计0日满足TRADEOUTNUM>0的天数和21的较小值
X2赋值:统计0日满足TRADEOUTNUM>0的天数/3和21的较小值
T1赋值:LARGEINTRD成交量/V
T2赋值:T1的X2日指数移动平均
如果V>0返回T1-T2否则返回0
Z1赋值:FYJD的X1日指数移动平均*X1
Z2赋值:Z1的7日简单移动平均
AYJD赋值:Z1-Z2
JE赋值:L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1)
{当日主力净流入}
LJ赋值:5的JE日累和/10000
输出{5日主力累计净流入}
资金研究度:FYJD,NODRAW
输出平均研究度:AYJD,NODRAW
输出连续飘红:BARSLASTCOUNT(FYJD>0),NODRAW
N日飘红:统计N日满足FYJD>0的天数,画红色,NODRAW
如果AYJD>=0返回AYJD否则返回DRAWNULL
如果AYJD<0返回AYJD否则返回DRAWNULL
当满足条件FYJD>=0时,在FYJD和0之间画柱状线
当满足条件FYJD<0时,在FYJD和0之间画柱状线
{AI研究定义分类}
M1赋值:AYJD>0 AND 统计6日满足FYJD>0的天数>3 AND BARSLASTCOUNT(FYJD>0)>=3
M2赋值:AYJD>0 AND 统计6日满足FYJD>0的天数>3 AND BARSLASTCOUNT(FYJD>0)<3
M3赋值:AYJD>0 AND 统计6日满足FYJD>0的天数=3 AND 统计4日满足FYJD>0的天数>=2
M4赋值:AYJD>0 AND 统计6日满足FYJD>0的天数>=1 AND 统计6日满足FYJD>0的天数<3 AND 统计3日满足FYJD>0的天数>=2
M5赋值:AYJD>0 AND 统计6日满足FYJD>0的天数>=1 AND 统计6日满足FYJD>0的天数<3 AND 统计3日满足FYJD>0的天数<2 AND BARSLASTCOUNT(FYJD<0)<=2
M6赋值:AYJD>0 AND 统计6日满足FYJD>0的天数<=2 AND BARSLASTCOUNT(FYJD<0)>2
L1赋值:AYJD<=0 AND 统计6日满足FYJD>0的天数<=3 AND BARSLASTCOUNT(FYJD<0)>=3
L2赋值:AYJD<=0 AND 统计6日满足FYJD>0的天数<=3 AND BARSLASTCOUNT(FYJD<0)=2
L3赋值:AYJD<=0 AND 统计6日满足FYJD>0的天数>3 AND BARSLASTCOUNT(FYJD<0)<2
L4赋值:AYJD<=0 AND 统计6日满足FYJD>0的天数<=3 AND BARSLASTCOUNT(FYJD<0)<2
当满足条件ISLASTBAR AND M1时,在横轴0纵轴0位置书写文字
当满足条件ISLASTBAR AND M2时,在横轴0纵轴0位置书写文字
当满足条件ISLASTBAR AND M3时,在横轴0纵轴0位置书写文字
当满足条件ISLASTBAR AND M4时,在横轴0纵轴0位置书写文字
当满足条件ISLASTBAR AND M5时,在横轴0纵轴0位置书写文字
当满足条件ISLASTBAR AND M6时,在横轴0纵轴0位置书写文字
当满足条件ISLASTBAR AND L1时,在横轴0纵轴0位置书写文字
当满足条件ISLASTBAR AND L2时,在横轴0纵轴0位置书写文字
当满足条件ISLASTBAR AND L3时,在横轴0纵轴0位置书写文字
当满足条件ISLASTBAR AND L4时,在横轴0纵轴0位置书写文字
{AI研究集合}
ZH1赋值:M1 OR M2 OR M3 OR M4 OR M5 OR M6
ZH2赋值:L1 OR L2 OR L3 OR L4
{5日累计净流入输出位置}
SZ1赋值:IF(M1,0.220,IF(M2,0.242,IF(M3,0.439,IF(M4,0.397,IF(M5,0.345,IF(M6,0.303,DRAWNULL))))))
SZ2赋值:IF(L1,0.283,IF(L2,0.335,IF(L3,0.460,IF(L4,0.324,DRAWNULL))))
当满足条件ISLASTBAR AND ZH1时,在横轴SZ1纵轴0位置书写数字
当满足条件ISLASTBAR AND ZH2时,在横轴SZ2纵轴0位置书写数字
{LJ>0}
A1赋值:LJ>0 AND LJ<=0.9999
A2赋值:LJ>0.9999 AND LJ<=9.9999
A3赋值:LJ>9.9999 AND LJ<=99.9999
A4赋值:LJ>99.9999 AND LJ<=999.9999
A5赋值:LJ>999.9999 AND LJ<=9999.9999
A6赋值:LJ>9999.9999 AND LJ<=99999.9999
A7赋值:LJ>99999.9999
{LJ<0} P1赋值:LJ<0 AND LJ>=-0.9999
P2赋值:LJ<-0.9999 AND LJ>=-9.9999
P3赋值:LJ<-9.9999 AND LJ>=-99.9999
P4赋值:LJ<-99.9999 AND LJ>=-999.9999
P5赋值:LJ<-999.9999 AND LJ>=-9999.9999
P6赋值:LJ<-9999.9999 AND LJ>=-99999.9999
P7赋值:LJ<-99999.9999
{单位'万元'的输出位置}
{AYJD>0}
ZM1:=IF(M1 AND A1,0.242,IF(M1 AND A2,0.248,IF(M1 AND A3,0.254,IF(M1 AND A4,0.260,IF(M1 AND A5,0.266,IF(M1 AND A6,0.272,IF(M1 AND A7,0.278,DRAWNULL)))))))
FM1赋值:IF(M1 AND P1,0.246,IF(M1 AND P2,0.252,IF(M1 AND P3,0.258,IF(M1 AND P4,0.264,IF(M1 AND P5,0.270,IF(M1 AND P6,0.272,IF(M1 AND P7,0.278,DRAWNULL)))))))
ZM2赋值:IF(M2 AND A1,0.264,IF(M2 AND A2,0.270,IF(M2 AND A3,0.276,IF(M2 AND A4,0.282,IF(M2 AND A5,0.288,IF(M2 AND A6,0.294,IF(M2 AND A7,0.230,DRAWNULL)))))))
FM2赋值:IF(M2 AND P1,0.268,IF(M2 AND P2,0.274,IF(M2 AND P3,0.280,IF(M2 AND P4,0.286,IF(M2 AND P5,0.292,IF(M2 AND P6,0.298,IF(M2 AND P7,0.234,DRAWNULL)))))))
ZM3赋值:IF(M3 AND A1,0.461,IF(M3 AND A2,0.467,IF(M3 AND A3,0.473,IF(M3 AND A4,0.479,IF(M3 AND A5,0.485,IF(M3 AND A6,0.491,IF(M3 AND A7,0.497,DRAWNULL)))))))
FM3赋值:IF(M3 AND P1,0.465,IF(M3 AND P2,0.471,IF(M3 AND P3,0.477,IF(M3 AND P4,0.483,IF(M3 AND P5,0.489,IF(M3 AND P6,0.495,IF(M3 AND P7,0.501,DRAWNULL)))))))
ZM4赋值:IF(M4 AND A1,0.419,IF(M4 AND A2,0.425,IF(M4 AND A3,0.431,IF(M4 AND A4,0.437,IF(M4 AND A5,0.443,IF(M4 AND A6,0.449,IF(M4 AND A7,0.455,DRAWNULL)))))))
FM4赋值:IF(M4 AND P1,0.423,IF(M4 AND P2,0.429,IF(M4 AND P3,0.435,IF(M4 AND P4,0.441,IF(M4 AND P5,0.447,IF(M4 AND P6,0.453,IF(M4 AND P7,0.459,DRAWNULL)))))))
ZM5赋值:IF(M5 AND A1,0.367,IF(M5 AND A2,0.373,IF(M5 AND A3,0.379,IF(M5 AND A4,0.385,IF(M5 AND A5,0.391,IF(M5 AND A6,0.397,IF(M5 AND A7,0.403,DRAWNULL)))))))
FM5赋值:IF(M5 AND P1,0.371,IF(M5 AND P2,0.377,IF(M5 AND P3,0.383,IF(M5 AND P4,0.389,IF(M5 AND P5,0.395,IF(M5 AND P6,0.401,IF(M5 AND P7,0.407,DRAWNULL)))))))
ZM6赋值:IF(M6 AND A1,0.325,IF(M6 AND A2,0.331,IF(M6 AND A3,0.337,IF(M6 AND A4,0.343,IF(M6 AND A5,0.349,IF(M6 AND A6,0.355,IF(M6 AND A7,0.361,DRAWNULL)))))))
FM6赋值:IF(M6 AND P1,0.329,IF(M6 AND P2,0.335,IF(M6 AND P3,0.341,IF(M6 AND P4,0.347,IF(M6 AND P5,0.353,IF(M6 AND P6,0.359,IF(M6 AND P7,0.365,DRAWNULL)))))))
{AYJD<0} ZL1赋值:IF(L1 AND A1,0.305,IF(L1 AND A2,0.311,IF(L1 AND A3,0.317,IF(L1 AND A4,0.323,IF(L1 AND A5,0.329,IF(L1 AND A6,0.335,IF(L1 AND A7,0.341,DRAWNULL)))))))
FL1赋值:IF(L1 AND P1,0.309,IF(L1 AND P2,0.315,IF(L1 AND P3,0.321,IF(L1 AND P4,0.327,IF(L1 AND P5,0.333,IF(L1 AND P6,0.339,IF(L1 AND P7,0.345,DRAWNULL)))))))
ZL2赋值:IF(L2 AND A1,0.356,IF(L2 AND A2,0.362,IF(L2 AND A3,0.368,IF(L2 AND A4,0.374,IF(L2 AND A5,0.380,IF(L2 AND A6,0.386,IF(L2 AND A7,0.392,DRAWNULL)))))))
FL2赋值:IF(L2 AND P1,0.360,IF(L2 AND P2,0.366,IF(L2 AND P3,0.372,IF(L2 AND P4,0.378,IF(L2 AND P5,0.384,IF(L2 AND P6,0.390,IF(L2 AND P7,0.396,DRAWNULL)))))))
ZL3赋值:IF(L3 AND A1,0.481,IF(L3 AND A2,0.487,IF(L3 AND A3,0.493,IF(L3 AND A4,0.499,IF(L3 AND A5,0.505,IF(L3 AND A6,0.511,IF(L3 AND A7,0.517,DRAWNULL)))))))
FL3赋值:IF(L3 AND P1,0.485,IF(L3 AND P2,0.491,IF(L3 AND P3,0.497,IF(L3 AND P4,0.503,IF(L3 AND P5,0.509,IF(L3 AND P6,0.515,IF(L3 AND P7,0.521,DRAWNULL)))))))
ZL4赋值:IF(L4 AND A1,0.346,IF(L4 AND A2,0.352,IF(L4 AND A3,0.358,IF(L4 AND A4,0.364,IF(L4 AND A5,0.370,IF(L4 AND A6,0.376,IF(L4 AND A7,0.382,DRAWNULL)))))))
FL4赋值:IF(L4 AND P1,0.350,IF(L4 AND P2,0.356,IF(L4 AND P3,0.362,IF(L4 AND P4,0.368,IF(L4 AND P5,0.374,IF(L4 AND P6,0.380,IF(L4 AND P7,0.386,DRAWNULL)))))))
{聚合}
JK1赋值:IF(M1 AND LJ>0,ZM1,IF(M2 AND LJ>0,ZM2,IF(M3 AND LJ>0,ZM3,IF(M4 AND LJ>0,ZM4,IF(M5 AND LJ>0,ZM5,IF(M6 AND LJ>0,ZM6,DRAWNULL))))))
JK2赋值:IF(M1 AND LJ<0,FM1,IF(M2 AND LJ<0,FM2,IF(M3 AND LJ<0,FM3,IF(M4 AND LJ<0,FM4,IF(M5 AND LJ<0,FM5,IF(M6 AND LJ<0,FM6,DRAWNULL))))))
CK1赋值:IF(L1 AND LJ>0,ZL1,IF(L2 AND LJ>0,ZL2,IF(L3 AND LJ>0,ZL3,IF(L4 AND LJ>0,ZL4,DRAWNULL))))
CK2赋值:IF(L1 AND LJ<0,FL1,IF(L2 AND LJ<0,FL2,IF(L3 AND LJ<0,FL3,IF(L4 AND LJ<0,FL4,DRAWNULL))))
当满足条件ISLASTBAR AND LJ>0 AND M1时,在横轴JK1纵轴0位置书写文字
当满足条件ISLASTBAR AND LJ<0 AND M1时,在横轴JK2纵轴0位置书写文字
当满足条件ISLASTBAR AND ZH1 AND LJ>0 AND M1=0时,在横轴JK1纵轴0位置书写文字
当满足条件ISLASTBAR AND ZH1 AND LJ<0 AND M1=0时,在横轴JK2纵轴0位置书写文字
当满足条件ISLASTBAR AND ZH2 AND LJ>0时,在横轴CK1纵轴0位置书写文字
当满足条件ISLASTBAR AND ZH2 AND LJ<0时,在横轴CK2纵轴0位置书写文字

声明:本站所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理。