来函数检测结果如下:
该公式没有未来函数
指标源码:
原理解析:
M6赋值:10
M8赋值:20
N6赋值:20
GSKZ1赋值:(1+M6/100)*收盘价的N6日简单移动平均,画黄色
输出GSKZ2:(1-M8/100)*收盘价的N6日简单移动平均, 画蓝色
输出GSKZ3:(GSKZ1+GSKZ2)/2,画白色 DOTLINE
输出GSKZ4:8*(GSKZ1+GSKZ2)/14,COLORRED
输出GSKZ5:6*(GSKZ1+GSKZ2)/14,COLORGREEN
股市客栈赋值:1200823
输出涨停:IF(DATE<股市客栈,ZTPRICE(1日前的C,IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(1日前的C,IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORRED
跌停赋值:IF(DATE<股市客栈,DTPRICE(1日前的C,IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(1日前的C,IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORGREEN
M输出涨停:IF(DATE<股市客栈,C*IF(CODELIKE('688'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)),C*(IF(CODELIKE('688') OR CODELIKE('300'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)))),NODRAW,COLORLIMAGENTA
M跌停赋值:IF(DATE<股市客栈,C*IF(CODELIKE('688'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)),C*(IF(CODELIKE('688') OR CODELIKE('300'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)))),NODRAW,COLORFFFF00
ACC赋值:C>=涨停 AND PERIOD=5 AND H=C
ACC1:=H>=涨停 AND PERIOD=5 AND H>C
ACB赋值:C<=跌停 AND PERIOD=5 AND L=C
ACB1:=L<=跌停 AND PERIOD=5 AND L TJ赋值:V=100日内V最高值 N赋值:9 M1赋值:3 M2赋值:3 RSV赋值:(收盘价-N日内最低价最低值)/(N日内最高价最高值-N日内最低价最低值)*100 J赋值:3*K-2*D DIF:=收盘价的12日指数移动平均-收盘价的26日指数移动平均 DEA:=DIF的9日指数移动平均 MACD赋值:(DIF-DEA)*2 XG赋值:MACD>0 DRAWICON(J上穿50AND XG,L,26) K1:=TJ累加至1的天数
RSV的M1日[1日权重]移动平均
K的M2日[1日权重]移动平均
涨停先知:=C>GSKZ4 AND 1日前的C
当满足条件涨停先知时,在OPEN和收盘价之间画柱状线
STICKLINE(J上穿50AND XG,OPEN,收盘价,0.6,0),画黄色
当满足条件涨停先知时,在L和'★涨停先知'位置书写文字
当满足条件涨停先知时,在L和9之间画图标