未来函数检测结果如下:
该公式包含未来函数:#MONTH
该公式包含未来函数:#WEEK
该公式包含未来函数:#YEAR
指标源码:
原理解析:
MNC赋值:C#YEAR,NODRAW
MNO赋值:O#YEAR,NODRAW
MNH赋值:H#YEAR,NODRAW
MNL赋值:L#YEAR,NODRAW
当满足条件MNC>=MNO时,在MNH和MNL之间画柱状线
当满足条件MNC
MJC赋值:C#SEASON,NODRAW
MJO赋值:O#SEASON,NODRAW
MJH赋值:H#SEASON,NODRAW
MJL赋值:L#SEASON,NODRAW
当满足条件MJC>=MJO时,在MJH和MJL之间画柱状线
当满足条件MJC
JGT赋值:(O#SEASON<1日前的O#SEASON)OR(O#SEASON>1日前的O#SEASON)OR(H#SEASON>1日前的H#SEASON)
T0赋值:上次JGT距今天数
输出
季高:T0+1日内H最高值,NODRAW
输出
季低:T0+1日内L最低值,NODRAW
输出
季开:O#SEASON,画洋红色,NODRAW
输出
季收:C#SEASON,NODRAW
{股票指标网}
季中赋值:(季高+季低)/2,画黄色,NODRAW
输出
上季中:T0+1日前的季中画黄色,NODRAW
输出
月开:O#MONTH,COLORLIGREEN,NODRAW
月高赋值:H#MONTH,NODRAW
月低赋值:L#MONTH,NODRAW
月收赋值:C#MONTH,NODRAW
月开日:=上次MONTH-1日前的MONTH=1距今天数NODRAW
月中赋值:(月高+月低)/2,POINTDOT,画白色,
输出
上月高:月开日+1日前的月高画白色,NODRAW
输出
上2月高:月开日+1日前的上月高画白色,NODRAW
输出
上月中:月开日+1日前的月中画黄色,NODRAW
月中间:=(月高+月低)/2,POINTDOT,画白色,NODRAW
当满足条件月开时,在月开和月开之间画柱状线
ZGT赋值:(H#WEEK<1日前的H#WEEK) OR (H#WEEK>1日前的H#WEEK)
周开日赋值:上次ZGT距今天数
输出
周开:O#WEEK,画白色,NODRAW
周高赋值:H#WEEK,NODRAW
周低赋值:L#WEEK,NODRAW
周收赋值:C#WEEK, COLORFF6EC7,NODRAW
输出
上周高:周开日+1日前的周高画青色,NODRAW
输出
上2周高:周开日+1日前的上周高画青色,NODRAW