来函数检测结果如下:
该公式没有未来函数

指标源码:

原理解析:
VAR1赋值:收盘价的7日指数移动平均,2)-收盘价的21日指数移动平均,2)
VAR2赋值:E0.668*1日前的VAR1+0.333*VAR1的1日简单移动平均
如果VAR1>=VAR2返回VAR1否则返回VAR2
输出短空:VAR2,画绿色, 线宽为3
STICKLINE(VAR2<0 AND VAR2<1日前的VAR2,VAR2*0.7,0,0.05,0),COLORLIBLUE
STICKLINE(VAR2<0 AND VAR2>1日前的VAR2,VAR2*0.7,0,0.05,0),画黄色
STICKLINE(VAR2>1日前的VAR2 AND VAR2>0,VAR2*0.7,0,0.05,0),画红色
STICKLINE(VAR2<1日前的VAR2 AND VAR2>0,VAR2*0.7,0,0.05,0),画绿色
VAR3赋值:1日前的收盘价
{股票指标网}
VAR4赋值:SMA(收盘价-VAR3和0较大值,2,1)/SMA(收盘价-VAR3的绝对值,2,1)*100
VAR5赋值:SMA(收盘价-VAR3和0较大值,3,1)/SMA(收盘价-VAR3的绝对值,3,1)*100
VAR6赋值:SMA(收盘价-VAR3和0较大值,4,1)/SMA(收盘价-VAR3的绝对值,4,1)*100
VAR7赋值:SMA(收盘价-VAR3和0较大值,5,1)/SMA(收盘价-VAR3的绝对值,5,1)*100
VAR8赋值:SMA(收盘价-VAR3和0较大值,6,1)/SMA(收盘价-VAR3的绝对值,6,1)*100
VAR9赋值:SMA(收盘价-VAR3和0较大值,7,1)/SMA(收盘价-VAR3的绝对值,7,1)*100
VAR10:=SMA(收盘价-VAR3和0较大值,8,1)/SMA(收盘价-VAR3的绝对值,8,1)*100
VAR11:=SMA(收盘价-VAR3和0较大值,9,1)/SMA(收盘价-VAR3的绝对值,9,1)*100
VAR12:=SMA(收盘价-VAR3和0较大值,10,1)/SMA(收盘价-VAR3的绝对值,10,1)*100
VAR13:=SMA(收盘价-VAR3和0较大值,11,1)/SMA(收盘价-VAR3的绝对值,11,1)*100
VAR14:=SMA(收盘价-VAR3和0较大值,12,1)/SMA(收盘价-VAR3的绝对值,12,1)*100
VAR15:=SMA(收盘价-VAR3和0较大值,13,1)/SMA(收盘价-VAR3的绝对值,13,1)*100
VAR16:=SMA(收盘价-VAR3和0较大值,14,1)/SMA(收盘价-VAR3的绝对值,14,1)*100
VAR17:=SMA(收盘价-VAR3和0较大值,15,1)/SMA(收盘价-VAR3的绝对值,15,1)*100
VAR18:=SMA(收盘价-VAR3和0较大值,16,1)/SMA(收盘价-VAR3的绝对值,16,1)*100
VAR19:=SMA(收盘价-VAR3和0较大值,17,1)/SMA(收盘价-VAR3的绝对值,17,1)*100
VAR20:=SMA(收盘价-VAR3和0较大值,18,1)/SMA(收盘价-VAR3的绝对值,18,1)*100
VAR21:=SMA(收盘价-VAR3和0较大值,19,1)/SMA(收盘价-VAR3的绝对值,19,1)*100
VAR22:=SMA(收盘价-VAR3和0较大值,20,1)/SMA(收盘价-VAR3的绝对值,20,1)*100
VAR23:=SMA(收盘价-VAR3和0较大值,21,1)/SMA(收盘价-VAR3的绝对值,21,1)*100
VAR24:=(VAR4+VAR5+VAR6+VAR7+VAR8)/5
VAR25:=(VAR9+VAR10+VAR11+VAR12+VAR13+VAR14+VAR15+VAR16+VAR17+VAR18+VAR19+VAR20+VAR21+VAR22+VAR23)/15
VAR26:=VAR24上穿VAR25
VAR27:=VAR25上穿VAR24
 

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