通达信买后止损副图,增加一个选股,能帮助小散的指标


A1:=REF(CLOSE,1);

A2:=((SMA((MAX((CLOSE - A1),0)),5,1)) / (SMA(ABS((CLOSE - A1)),5,1))) * 100;

A3:=SUM((MAX((MAX((HIGH - LOW),ABS((HIGH - A1)))),ABS((LOW - A1)))),10);

A4:=HIGH - (REF(HIGH,1));

A5:=(REF(LOW,1)) - LOW;

A6:=SUM((IF(((A4 > 0) AND (A4 > A5)),A4,0)),10);

A7:=SUM((IF(((A5 > 0) AND (A5 > A4)),A5,0)),10);

A8:=(A6 * 100) / A3;

A9:=(A7 * 100) / A3;

A10:=MA(((ABS((A9 - A8)) / (A9 + A8)) * 100),5);

A11:=A2 + A10;

A12:=((A10 + (REF(A10,5))) / 2) + A2;

A13:=(100 * ((HHV(HIGH,10)) - CLOSE)) / ((HHV(HIGH,10)) - (LLV(LOW,10)));

A14:=A2 - A13;

A15:=A11 + A14;

A:=LLV(A15,1);

B:=IF((A < 0),0,A);

STICKLINE(A>IF(CAPITAL=0,1,5),15,15+A,3,0),COLOR004444;

STICKLINE(A>IF(CAPITAL=0,1,5),15,15+A,1,0),COLOR00FFFF;

STICKLINE(A< IF(CAPITAL=0,1,5),15,15+A,3,0),COLOR444400;

STICKLINE(A< IF(CAPITAL=0,1,5),15,15+A,1,0),COLORFFCC00;

STICKLINE(B>0,0,0+B,2,0),COLOR000044;

STICKLINE(B>0,0,0+B,1,0),COLOR0000FF;

STICKLINE(B< 0,0,0+B,2,0),COLOR004400;

STICKLINE(B< 0,0,0+B,1,0),COLOR00FF00;

M:=REF(B,1);

DRAWTEXT((M=0 AND B>M),-5,'买'),COLOR7F52AF;

DRAWTEXT(REF((M=0 AND B>M),1) AND A< REF(A,1),200,'买后止损'),COLORLIGREEN;







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

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

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