通达信仙人指路决策系统
VAR1:=IF(DATETODAY(DATE)<11700,1,1);
VAR2:=(CLOSE-DMA(CLOSE,VOL/MA(VOL,4)/4))/DMA(CLOSE,VOL/MA(VOL,4)/4)*100<(-8)*VAR1 AND (DMA(CLOSE,VOL/MA(VOL,4)/4)-DMA(CLOSE,VOL/MA(VOL,32)/32))/DMA(CLOSE,VOL/MA(VOL,32)/32)*100<(-21) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>(-0.05) AND COUNT(CLOSE=OPEN,3)=0;
VAR3:=SMA(SMA((INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100,50,1),40,1);
VAR4:=(CLOSE-MA(CLOSE,60)*VAR1)/MA(CLOSE,60)*100<(-23) AND VAR3<23 AND COUNT((CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100<(-20),2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1)>0.96;
VAR5:=VAR2 OR VAR4;
{股票指标网www.}
VAR6:=IF(DATE<2442.459961*500,1,1);
X2:DATE<1221230 AND IF(VAR5=1,1,0) AND VAR6,NODRAW;
STICKLINE(IF(X2,(-120),0),300,0,0.5,0),COLOR00AAFF;
STICKLINE(IF(X2,(-120),0),300,0,6,0),COLOR00BBFF;
STICKLINE(IF(X2,(-120),0),300,0,5,0),COLOR00CCFF;
STICKLINE(IF(X2,(-120),0),300,0,4,0),COLOR00DDFF;
STICKLINE(IF(X2,(-120),0),300,0,3,0),COLOR00EEFF;
STICKLINE(IF(X2,(-120),0),300,0,2,0),COLORYELLOW;
STICKLINE(IF(X2,(-120),0),300,0,1,0),COLORYELLOW;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:IF(DATETODAY(DATE)<11700,1,1)
VAR2赋值:(收盘价-DMA(收盘价,成交量/MA(成交量,4)/4))/DMA(收盘价,成交量/MA(成交量,4)/4)*100<(-8)*VAR1 AND (DMA(收盘价,成交量/MA(成交量,4)/4)-DMA(收盘价,成交量/MA(成交量,32)/32))/DMA(收盘价,成交量/MA(成交量,32)/32)*100<(-21) AND (开盘价-1日前的收盘价)/1日前的收盘价>(-0.05) AND 统计3日满足收盘价=开盘价的天数=0
VAR3赋值:SMA(SMA((INDEXC-275日内INDEXL最低值)/(275日内INDEXH最高值-275日内INDEXL最低值)*100,50,1),40,1)
VAR4赋值:(收盘价-收盘价的60日简单移动平均*VAR1)/收盘价的60日简单移动平均*100<(-23) AND VAR3<23 AND COUNT((收盘价-收盘价的60日简单移动平均)/收盘价的60日简单移动平均*100<(-20),2)=1 AND (开盘价>收盘价 OR 开盘价<收盘价) AND 开盘价/1日前的收盘价>0.96
VAR5赋值:VAR2 OR VAR4
如果DATE<2442.459961*500返回1否则返回1
如果VAR5=1返回1否则返回0
STICKLINE(IF(X2,(-120),0),300,0,0.5,0),COLOR00AAFF
STICKLINE(IF(X2,(-120),0),300,0,6,0),COLOR00BBFF
STICKLINE(IF(X2,(-120),0),300,0,5,0),COLOR00CCFF
STICKLINE(IF(X2,(-120),0),300,0,4,0),COLOR00DDFF
STICKLINE(IF(X2,(-120),0),300,0,3,0),COLOR00EEFF
STICKLINE(IF(X2,(-120),0),300,0,2,0),画黄色
STICKLINE(IF(X2,(-120),0),300,0,1,0),画黄色