变态抓牛不带未来函数通达信公式 主图 源码附图
N:=2;M:=30;
MA(H,M) * (1 + 13 / 100) * 1.0382,LINETHICK1,COLORYELLOW ;
MA(H,M) * (1 + 13 / 100),LINETHICK1,COLORYELLOW ;
VAR22:=IF(((YEAR) >= (2039)) AND ((MONTH) > 3),0,1);VAR33:=(MA(C,3) + MA(C,6) + MA(C,12) + MA(C,24)) / 4 + ((1.88) * (STD((MA(C,3) + MA(C,6) + MA(C,12) + MA(C,24)) / 4,9))) * (VAR22);
急拉涨停线:=((MA(VAR33,12)) * (1.06)) * (VAR22),LINETHICK2,COLORCYAN ;
VAR55:=(EMA(H,10)) * (1 + 5 / (100));
VAR6:=C * V;{股票指标网 整理}
VAR7:=EMA(((EMA(VAR6,3)) / (EMA(V,3)) + (EMA(VAR6,6)) / (EMA(V,6)) + (EMA(VAR6,12)) / (EMA(V,12)) + (EMA(VAR6,24)) / (EMA(V,24))) / 4,13);
VAR8:=(1.06) * (VAR7);VAR9:=(L / ((H + REF(C,1) + O) / 3)) * C+0.01;
DRAWICON(((CROSS(VAR9,VAR8)) AND (C > (VAR55))) AND C/REF(C,1)>1.099 AND (C+0.01 >= (急拉涨停线)),L,27);{==========开口捉妖多彩K线========}
DRAWICON(((CROSS(VAR9,VAR8)) AND (C > (VAR55))) AND C/REF(C,1)>1.099 AND (C+0.01 >= (急拉涨停线)),L*0.96,26);{==========开口捉妖多彩K线========}
DRAWICON(((CROSS(VAR9,VAR8)) AND (C > (VAR55))) AND C/REF(C,1)>1.099 AND (C+0.01 >= (急拉涨停线)),L*0.92,25);{==========开口捉妖多彩K线========}
DRAWTEXT(((CROSS(VAR9,VAR8)) AND (C > (VAR55))) AND C/REF(C,1)>1.099 AND (C+0.01 >= (急拉涨停线)),L*0.88,'牛'),COLORYELLOW;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
N赋值:2
M赋值:30
H的M日简单移动平均 * (1 + 13 / 100) * 1.0382,LINETHICK1,画黄色
H的M日简单移动平均 * (1 + 13 / 100),LINETHICK1,画黄色
VAR22赋值:IF(((YEAR) >= (2039)) AND ((MONTH) > 3),0,1)
VAR33赋值:(C的3日简单移动平均 + C的6日简单移动平均 + C的12日简单移动平均 + C的24日简单移动平均) / 4 + ((1.88) * (STD((C的3日简单移动平均 + C的6日简单移动平均 + C的12日简单移动平均 + C的24日简单移动平均) / 4,9))) * (VAR22)
急拉涨停线赋值:((VAR33的12日简单移动平均) * (1.06)) * (VAR22),LINETHICK2,COLORCYAN
VAR55赋值:(H的10日指数移动平均) * (1 + 5 / (100))
VAR6赋值:C * V
{股票指标网 整理}
VAR7赋值:EMA(((EMA(VAR6,3)) / (EMA(V,3)) + (EMA(VAR6,6)) / (EMA(V,6)) + (EMA(VAR6,12)) / (EMA(V,12)) + (EMA(VAR6,24)) / (EMA(V,24))) / 4,13)
VAR8赋值:(1.06) * (VAR7)
VAR9赋值:(L / ((H + 1日前的C + O) / 3)) * C+0.01
DRAWICON(((VAR9上穿VAR8) AND (C > (VAR55))) AND C/1日前的C>1.099 AND (C+0.01 >= (急拉涨停线)),L,27)
{==========开口捉妖多彩K线========}
DRAWICON(((VAR9上穿VAR8) AND (C > (VAR55))) AND C/1日前的C>1.099 AND (C+0.01 >= (急拉涨停线)),L*0.96,26)
{==========开口捉妖多彩K线========}
DRAWICON(((VAR9上穿VAR8) AND (C > (VAR55))) AND C/1日前的C>1.099 AND (C+0.01 >= (急拉涨停线)),L*0.92,25)
{==========开口捉妖多彩K线========}
DRAWTEXT(((VAR9上穿VAR8) AND (C > (VAR55))) AND C/1日前的C>1.099 AND (C+0.01 >= (急拉涨停线)),L*0.88,'牛'),画黄色