通达信新K跳出三界组合

{年涨跌}

年O:O#YEAR,NODRAW;

年C:C#YEAR,NODRAW;

年H:=H#YEAR,NODRAW;

年L:=L#YEAR,NODRAW;

{STICKLINE(年C>=年O,年O,年C,5,0),COLOR34567F;{年涨}

{STICKLINE(年C<年O,年O,年C,5,0),COLORLICYAN;{年跌}

{季度涨跌}

季O:O#SEASON,NODRAW;

季C:C#SEASON,NODRAW;

季H:=H#SEASON,NODRAW;

季L:=L#SEASON,NODRAW;

{STICKLINE(季C>=季O,季C,季O,5,0),COLOR996998;{季度涨}

{STICKLINE(季C<季O,季C,季O,5,0),COLORGRAY;{季度跌}

{月涨跌}

月O:O#MONTH,NODRAW;

月H:=H#MONTH,NODRAW;

月L:=L#MONTH,NODRAW;

月C:C#MONTH,NODRAW;

STICKLINE(月C>=月O,月C,月O,5,-1),COLORLIRED;{月涨}

STICKLINE(月C<月O,月C,月O,5,-1),COLORGREEN;{月跌}

{周涨跌}

周O:O#WEEK,NODRAW;

周H:=H#WEEK,NODRAW;

周L:=L#WEEK,NODRAW;

周C:C#WEEK,NODRAW;

STICKLINE(周C>=周O,周O,周C,5,0)COLORCC3299;{周涨}

STICKLINE(周C<周O,周O,周C,5,0)COLORBLUE;{周跌}

DRAWKLINE(H,O,L,C);

{涨K线}   

STICKLINE(C>O,C,O,2.6,0),COLOR000088;   

STICKLINE(C>O,C,O,1.9,0),COLOR0000AA;   

STICKLINE(C>O,C,O,1.2,0),COLOR0000CC;   

STICKLINE(C>O,C,O,0.4,0),COLOR0000EE;

{跌K线}

STICKLINE(O>=C,C,O,2.6,0),COLOR009900;

STICKLINE(O>=C,C,O,1.9,0),COLOR00BB00;

STICKLINE(O>=C,C,O,1.2,0),COLOR00DD00;

STICKLINE(O>=C,C,O,0.4,0),COLOR00FF00;

M5:MA(C,5),COLORFFFFFF;

M10:MA(C,10)COLOR00FFFF;

M20:MA(C,20),COLOR888800;

M30:MA(C,30),COLORRED;

M60:MA(C,60),COLORGREEN;

M:=INTPART(3*8/5);

A12:=REF(H,M)=HHV(H,2*M+1);

B12:=FILTER(A12,M);

C12:=BACKSET(B12,M+1);

D12:=FILTER(C12,M);{高点}

R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1); S112:=R112>REF(R112,1);

上:DRAWLINE(D12,H,S112,H,1),COLORFFFFFF;

A22:=REF(L,M)=LLV(L,2*M+1);

B22:=FILTER(A22,M);

C22:=BACKSET(B22,M+1);

D22:=FILTER(C22,M);{低点}

T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1); U112:=T112>REF(T112,1);

下:DRAWLINE(D22,L,U112,L,1),COLORFFFFFF;

下轨:=(1-9/100)*MA(C,10);

DRAWICON(C>下轨 AND REF((C<下轨),1),L,1);




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

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

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