源码
{十二星座·神獒赢富专家版决策系统}
input:n1(5,1,20),N2(5,1,20);
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
VAR1:=C-REF(C,1);
VAR2:=o-REF(o,1);
VAR3:=h-REF(h,1);
VAR4:=l-REF(l,1);
var5:=(var1*7+var2+var3+var4)/10;
mtm:=var5*vol;
ZLGJ:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),colorwhite;
MAZL:MA(ZLGJ,N2),coloryellow;
买入股票: STICKLINE(cross(ZLGJ,MAZL),ZLGJ,ZLGJ+10,2,0),linethick2,colorred;
卖出股票: STICKLINE(cross(MAZL,ZLGJ),ZLGJ,ZLGJ-10,2,0),linethick2,colorgreen;
DRAWTEXT(cross(ZLGJ,MAZL),MAZL*0.95,'买'),colorRED;
DRAWTEXT(cross(MAZL,ZLGJ),ZLGJ*1.15,'卖'),colorgreen;
DRAWTEXTREL(10,900,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff;
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
==================================================================================================
{十二星座·神獒赢富专家版决策系统}
{指标名称:神獒三线}
{揭秘庄散行踪的轨迹线}
N:=2;M:=5;
0,dotline,colorgray;
主力线:ma(sum((bigorder(1)-bigorder(2))*vol*100,m),n),colorred,linethick2;
机构线:ma(sum((bigorder(1,3)-bigorder(2,3))*vol*100,m),n),coloryellow;
散户线:ma(sum(((1-bigorder(1,1))-(1-bigorder(2,1)))*vol*100,m),n),colorgreen;
DRAWTEXTREL(10,800,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff;
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));