通达信短线红柱量指标和谐完全加密!

{量能饱和度}
m1:=13;
 m2:=72;

N1:=34;

N2:=N1*1.05;

N3:=N1+3;

SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));

量能饱和度:IF(SAT>1,1,SAT)*100,COLORLIBLUE,NODRAW;

中点:=REFDATE(HHV(V,100)/2,DATE);{量能饱和的变色切换}

STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00DDDD;

STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和度,0),COLOR0033FF;

{DRAWTEXT(CURRBARSCOUNT=N3,中点*1.82,'量能饱和度'),COLORLIBLUE;}

DDD:= CON2STR(量能饱和度,2);

DRAWTEXT(CURRBARSCOUNT=N1-8,中点*1.8,DDD),COLORYELLOW;

 

{VOLUME:VOL,VOLSTICK;}

VARJ1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

买盘A:=IF(CLOSE>OPEN,VARJ1*(HIGH-LOW),IF(CLOSE<OPEN,VARJ1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));

成交量比%:买盘A/VOL*100,COLORWHITE,NODRAW;

预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW,LINETHICK0;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测量,0,-1,-1),COLOR00C0C0;

 XA_1:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));

XA_2:=MOD(FROMOPEN,XA_1);

XA_3:=IF(XA_2<0.5,XA_1,XA_2);

VVOL:IF(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VOL*XA_1/XA_3,DRAWNULL),NODRAW;

STICKLINE(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VVOL,0,(-1),(-1)),COLOR00C0C0;

VOLUME:VOL,VOLSTICK;

MAVOL1:MA(VOLUME,M1);

MAVOL2:MA(VOLUME,M2);

 

XA_4:=VOL>REF(VOL,1)*1.9;

XA_5:=VOL<REF(LLV(VOL,13),1);

XA_6:=VOL<REF(LLV(VOL,55),1);

STICKLINE(XA_4,0,VOL,1,0),COLORYELLOW;

STICKLINE(XA_6,0,VOL,1,0),COLORMAGENTA;

XA_7:=CLOSE/REF(CLOSE,3)>=1.1;

XA_8:=BACKSET(XA_7,2);

OK:STICKLINE(XA_8 AND COUNT(XA_8,2)=1,VOL,0,2.5,0),COLORMAGENTA ;



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

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

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