通达信买卖盘态势指标公式

VAR1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
成交:=VOL,POINTDOT;
主买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORWHITE,POINTDOT;
主卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
地量:=VOL<LLV(VOL,14)*1.001,COLORBLUE;
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2,COLORSTICK;
P1:=8;
P2:=3;
VARA:=LLV(LOW,P1);
VARB:=HHV(HIGH,P1);
K:= EMA((CLOSE-VARA)/(VARB-VARA)*1000000,P2);
D:= EMA(0.667*REF(K,1)+0.333*K,2);
{ _最新股票指标公式}
STICKLINE(主买盘>-主卖盘,0,V,2,0),COLORRED;
STICKLINE(-主卖盘>主买盘,0,V,2,0),COLOR00FF00;
STICKLINE((SUM(主买盘,3)-SUM(-主卖盘,3))>0,0,主买盘,2,0),COLORRED;
STICKLINE(-主卖盘>主买盘,0,主卖盘,2,0),COLOR00FF00;
STICKLINE(地量>0 ,0,VOL,1,0),COLORYELLOW;
STICKLINE(V2>=1 AND DIF>DEA,V,0,1,0),COLORBLUE;
净流入1:(SUM(主买盘,27)-SUM(-主卖盘,27)),COLORYELLOW,LINETHICK3;
{
"SH000001$ADVANCE"+2500;
"SH000001$DECLINE"+2500;
}{
"SZ399001$ADVANCE"-1500;
"SZ399001$DECLINE"-1500;
}
总涨家数:"SH000001$ADVANCE"+"SZ399001$ADVANCE",POINTDOT,COLORWHITE;
总跌家数:"SH000001$DECLINE"+"SZ399001$DECLINE",POINTDOT,COLOR00FF00;
流入:IF((主买盘)-(-主卖盘)>0,(主买盘)-(-主卖盘),DRAWNULL),POINTDOT,COLORYELLOW;
流出:IF((主买盘)-(-主卖盘)<0,(主买盘)-(-主卖盘),DRAWNULL),POINTDOT,COLOR00FF00;
RSV1:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,20)-LLV(LOW,20))*-500000;
K1:SMA(RSV1,9,1);
D1:SMA(K1,3,1);
J1:3*K1-2*D1;
0,COLORWHITE;




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

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

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

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