完美操盘


SJ:=1;

ZTB:=IF(CURRBARSCOUNT=1 AND PERIOD=5,REF(C,1)*1.099,DRAWNULL),NODRAW;

涨停:ZTB,COLORYELLOW;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,ZTB,REF(C,1)*SJ,-1,-1),COLORYELLOW;

DTB:=IF(CURRBARSCOUNT=1 AND PERIOD=5,REF(C,1)*0.9,DRAWNULL),NODRAW;

跌停:DTB,COLORLICYAN;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,DTB,REF(C,1),-1,-1),COLORLICYAN;

{MACD}

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

{压力支撑}

HD:=FILTER(BACKSET(FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10);

LD:=FILTER(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10);

前高:REF(C,BARSLAST(HD))*SJ,COLOR00FF00,POINTDOT;

前低:REF(C,BARSLAST(LD))*SJ,COLORFF00FF,POINTDOT;

{冷暖气带}

DRAWBAND(MA(CLOSE,60),RGB(100,0,0),MA(CLOSE,120),RGB(10,60,0));

DRAWBAND(MA(CLOSE,5),RGB(220,160,30),MA(CLOSE,10),RGB(60,70,90));

MA120:MA(CLOSE,120)*SJ,COLORRED;

MA60:MA(CLOSE,60)*SJ,COLORGREEN;

MA20:=MA(CLOSE,20)*SJ,COLORRED;

MA10:=MA(CLOSE,10)*SJ,COLORYELLOW;

MA5:=MA(CLOSE,5)*SJ,COLORWHITE;

压力:XMA(2*H-L,15)*(1+0.0001)*(1+0.0001),COLORBLUE,LINETHICK2;

支撑:XMA(2*L-H,15)*(1-0.0001)*(1-0.0001),COLORWHITE,LINETHICK2;

DRAWKLINE(H,O,L,C);

{涨停板}

STICKLINE(C/REF(C,1)>=1.099,O,C,3,-2),COLORYELLOW;

A1:=H>MA(C,5) AND H>MA(C,10) AND H>MA(C,20) AND H>MA(C,30) AND H>MA(C,60)

AND H>MA(C,120);

A2:=L<MA(C,5) AND L<MA(C,10) AND L<MA(C,20) AND L<MA(C,30) AND L<MA(C,60)

AND L<MA(C,120);

STICKLINE(A1 AND A2,O,C,3,0),COLORYELLOW;

STICKLINE(前高,前高,前高,11,0),COLOR00FF00;

STICKLINE(前低,前低,前低,11,0),COLORFF00FF;

{MACD 显示}

STICKLINE(MACD<REF(MACD,1) AND DIF>0,O,C,1,0),COLORBLUE;

STICKLINE(MACD>REF(MACD,1) AND DIF>0,O,C,1,0),COLORRED;

STICKLINE(MACD<REF(MACD,1) AND DIF<0,O,C,1,0),COLORLIGREEN;

STICKLINE(MACD>REF(MACD,1) AND DIF<0,O,C,1,0),COLORLIMAGENTA;

DRAWTEXT(CROSS(支撑,C),L,'低吸'),COLORYELLOW;

DRAWTEXT(CROSS(C,压力),H,'高抛'),COLORGREEN;

DRAWICON(L<支撑,L,5);

DRAWICON(H>压力,H,6);




未来函数检测结果如下:
该公式包含未来函数:BACKSET
该公式包含未来函数:XMA
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图