以下是大智慧神系主升,资金变异MACD

INPUT:SHORT(12),LONG(26),M(9);

a:=vul*close;

b:=sum(a,1)/sum(vul,1);

b1:=emA(b,17);

资金:=(b-b1)*100/b;

DIFF : EMA(资金,SHORT) – EMA(资金,LONG);

DEA  : EMA(DIFF,M);

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,Culorred;

DRAWTEXTABS(3,16,’DIFF泛绿时持币,宁缺毋滥。’),linethick1,Culorred;

DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));

DRAWTEXTREL(10,900,’㊣十二星座*神獒赢富㊣’),linethick1,COLOR00EEff;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。