未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
指标源码:
原理解析:
N赋值:5
M赋值:13
输出
收益: FINANCE(33), POINTDOT,COLORFFCC66
输出量比:DYNAINFO(17),画黄色,NODRAW
输出
成交量:成交量,画红色,NODRAW
YE赋值:(最高价+最低价+收盘价)/3
YE1:=IF(最高价=最低价,1,最高价-OPEN和收盘价较大值)
YE2:=IF(最高价=最低价,1,收盘价和OPEN较大值-YE)
YE3:=IF(最高价=最低价,1,OPEN和收盘价的较小值-最低价)
YE4:=IF(最高价=最低价,1,YE-收盘价和OPEN的较小值)
如果最高价=最低价返回4否则返回最高价-最低价
{}
YE6:=SUM((YE1*YE5),1)
YE7:=SUM((YE2*YE5),1)
YE8:=SUM((YE3*YE5),1)
YE9:=SUM((YE4*YE5),1)
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,2.5,0),COLOR0000AA
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,1.7,0),COLOR0000CC
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,0.9,0),COLOR0000DD
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,0.04,0),COLOR0000FF
STICKLINE((YE6+YE7)>0,(YE6+YE7)+(YE9+YE8),(YE9+YE8),2.5,0),COLOR998855
STICKLINE((YE6+YE7)>0,(YE6+YE7)+(YE9+YE8),(YE9+YE8),1.7,0),COLORBBAA77
STICKLINE((YE6+YE7)>0,(YE6+YE7)+(YE9+YE8),(YE9+YE8),0.9,0),COLORDDCC99
STICKLINE((YE6+YE7)>0,(YE6+YE7)+(YE9+YE8),(YE9+YE8),0.04,0),COLORFFEEBB
买盘赋值:(YE9+YE8)
卖盘赋值:(YE6+YE7)*(-1)
买卖差赋值:(YE9+YE8)-(YE6+YE7)
输出成交量增减:(100*((成交量/1日前的成交量)-1)),NODRAW
当满足条件买卖差>0时,在0和买卖差之间画柱状线
当满足条件买卖差>0时,在0和买卖差之间画柱状线
当满足条件买卖差>0时,在0和买卖差之间画柱状线
当满足条件买卖差>0时,在0和买卖差之间画柱状线
AA赋值:成交量/((最高价-最低价)*2-收盘价-OPEN的绝对值)