以下是通达信抓牛公式源码主图贴图(无源码的请下载附件导入)
{不带未来函数 行情好炒股,行情不好空仓,只做复盘短线赚十个点成功率达八成指标选的票}
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;
734144291.jpg
|