好用的波段宝塔(大智慧)

VAR1:=IF((DATE>9999999),0,1);
分水线:0,Linethick1,CoLor808080;
M:=15;
开:=(((OPEN)/(MA(CLOSE,M))-1)*(1000))*(VAR1);
高:=(((HIGH)/(MA(CLOSE,M))-1)*(1000))*(VAR1);
低:=(((LOW)/(MA(CLOSE,M))-1)*(1000))*(VAR1);
收:=(((CLOSE)/(MA(CLOSE,M))-1)*(1000))*(VAR1);
B1:=REF(收,1);
B2:=REF(收,2);
B3:=REF(收,3);
B4:=REF(收,4);
CMAX:=MAX(MAX(MAX(收,B1),B2),B3);
CMIN:=MIN(MIN(MIN(收,B1),B2),B3);
持股:STICKLINE(((((收=CMAX) AND ((B1>=B2) or (B1>=B3)) or (B1=CMAX) AND ((B2=CMIN) or (B3=CMIN)) AND (收>=B2)) or (B2=CMAX) AND (B3=CMIN) AND (收>=B1)) or (B3=CMAX) AND (收>=B1) AND (收>=B2)),B1,收,4,0),CoLor0000FF;
变盘:STICKLINE((收=CMAX) AND (B1=CMIN),B2,收,4,0),CoLor0099EF;
下跌:STICKLINE(((((收=CMIN) AND ((B1<B2) or (B1<B3)) or (B1=CMIN) AND ((B2=CMAX) or (B3=CMAX)) AND (收<B2)) or (B2=CMIN) AND (B3=CMAX) AND (收<B1)) or (B3=CMIN) AND (收<B1) AND (收<B2)),B1,收,4,1),CoLor00FF00;
STICKLINE((B1=CMAX) AND (收=CMIN),B2,收,4,0),CoLor009900;
买入:STICKLINE(((B1=CMIN) AND (收>=B2) or ((B2=CMIN) AND (B1<=B3) or (B3=CMIN) AND (B1<=B2)) AND (B2<B4) AND (收>=B1)),B1,B2,4,0),CoLorFFFFFF;
抛售:STICKLINE(((B1=CMAX) AND (收<B2) or ((B2=CMAX) AND (B1>B3) or (B3=CMAX) AND (B1>B2)) AND (B2>=B4) AND (收<B1)),B1,B2,4,0),CoLor00FFFF;




来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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