大智慧神系主升副图指标
源码
{十二星座·神獒赢富专家版决策系统}
INPUT:SHORT(12),LONG(26),M(9);
a:=vol*close;
b:=sum(a,1)/sum(vol,1);
b1:=emA(b,17);
资金:=(b-b1)*100/b;
DIFF : EMA(资金,SHORT) - EMA(资金,LONG);
DEA
MACD : 2*(DIFF-DEA), COLORSTICK;
partline(diff,diff>=ref(diff,1),rgb(255,0,0),diff<ref(diff,1),rgb(0,255,0)),linethick2;
DRAWTEXTABS(3,1,'DIFF翻红,结合增仓及均线多头抓主升。'),linethick1,Colorred;
DRAWTEXTABS(3,16,'DIFF泛绿时持币,宁缺毋滥。'),linethick1,Colorred;
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
DRAWTEXTREL(10,900,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff;