箱体倍量突破主图指标 结合倍量突破量价先行 源码 附图

DRAWTEXT_FIX(1,0.01,0.01,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.08,0.01,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.06,0,GNBLOCK),COLORWHITE;
DRAWTEXT_FIX(CLOSE>0,0.01,0.11,0,EXTERNSTR(0,1)),COLORWHITE,LINETHICK2;
X_1:=REF(CLOSE,1);
X_2:=SMA(MAX(CLOSE-X_1,0),2,1)/SMA(ABS(CLOSE-X_1),2,1)*100;
X_3:=100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2));
X_4:=IF(CLOSE<=OPEN,CLOSE,OPEN);
X_5:=(X_4-LOW)/LOW*100;
X_6:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_7:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_8:=(CLOSE-OPEN)/OPEN*100;
X_9:=IF(CLOSE>=OPEN,CLOSE,OPEN);
X_10:=(HIGH-X_9)/X_9*100;
X_11:=X_10;
X_12:=X_5;
X_13:=X_8+X_10;
X_14:=X_8+X_5;
X_15:=X_10+X_5;
X_16:=X_6;
X_17:=X_7;
X_18:=MAX(MAX(MAX(MAX(MAX(MAX(X_15,X_16),X_14),X_13),X_12),X_11),X_17)*1.2;
DRAWICON(CROSS(MA(CLOSE,5),MA(CLOSE,20)),MA(CLOSE,20)*0.985,1);
X_19:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<(-5);
X_20:=BARSLAST(X_19);
X_21:=CROSS(CLOSE,REF(CLOSE,X_20));
顶:DRAWLINE(X_19,OPEN,REF(X_19,1),REF(OPEN,1),1),COLORMAGENTA,LINETHICK2;
DRAWTEXT(ISLASTBAR,顶,153);
MA5:MA(CLOSE,5),COLORMAGENTA;
MA20:MA(CLOSE,20),COLORGREEN;
箱顶:PEAK(CLOSE,10,1)*0.98;
X_22:=TROUGH(CLOSE,10,1)*1.02;
箱高:100*(箱顶-X_22)/X_22,NODRAW;
DRAWICON(CROSS(CLOSE,顶) AND CROSS(CLOSE,箱顶),LOW*0.985,7);
X_23:=HHV(HIGH,BARSLAST(X_19));
X_24:=HHV(CLOSE,BARSLAST(X_19));
DRAWICON(CLOSE>REF(CLOSE,1)*1.05 AND HIGH=X_23 AND CLOSE=X_24 AND CLOSE>REF(X_23,1) AND CLOSE>顶 AND CLOSE>箱顶 AND NOT(REF(CLOSE,1)=REF(X_24,1) AND REF(HIGH,1)=REF(X_23,1) AND REF(CLOSE,1)>REF(X_23,2)),LOW,11);


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

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

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