趁热打铁,我再给你发一个我自己用的主图指...

趁热打铁,我再给你发一个我自己用的主图指标。通达信。
我不需要私信,我骗你们什么东西…[捂脸]

SHORT:=12;LONG:=26;M:=12;

DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,STICKLINE(C>ZJ AND C<=O,O,C,2.8,0),COLORRED;

STICKLINE(CLOSE=ZJ,H,L,3,0),COLORWHITE;

STICKLINE(CLOSE<ZJ,H,L,0,0),COLORYELLOW;

STICKLINE(CLOSE<ZJ,O,C,2.5,0),COLORYELLOW;

STICKLINE(C<HY AND C>O,H,C,0,0),COLORCYAN;

STICKLINE(C<HY AND C>O,O,L,0,0),COLORCYAN;

STICKLINE(C<HY AND C>O,O,C,2.8,1),COLORCYAN;

STICKLINE(C<HY AND C<=O,H,L,0,0),COLORCYAN;

STICKLINE(C<HY AND C<=O,O,C,2.8,0),COLORCYAN;

HD0:=CROSS(DIF,DEA);

金收:REF(L,BARSLAST(HD0)),COLORYELLOW,DOTLINE;

LD0:=CROSS(DEA,DIF);

死收:REF(H,BARSLAST(LD0)),COLOR00FF00,DOTLINE;

买入准备:DRAWICON(CROSS(柱变向价,DIF拐头价),上拐,34);

卖出准备:DRAWICON(CROSS(DIF拐头价,柱变向价),下拐,35);

SBL:=STRCAT(STRCAT(STRCAT(STRCAT(DYBLOCK,HYBLOCK),FGBLOCK),GNBLOCK),ZDBLOCK);

DRAWTEXT_FIX(ISLASTBAR,0.01,0.005,0,SBL),COLORCYAN;LONG);

DEA:=EMA(DIF,M);

MACD:=2*(DIF-DEA);

KK:=IF(DIF>DEA,5,-5);

JCSC:=(M-1)/(M+1)*DEA/(1-2/(M+1));{计算出金叉死叉时的DIFF值}
无未来函数。

(0)

相关推荐