万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

通达信买卖单差指标公式

admin 2024-01-14 11:52:06 通达信主副图指标 525 ℃

通达信买卖单差指标公式

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

MTIME:=MOD(FROMOPEN,TOTAL);

CTIME:=IF(MTIME<0.5,TOTAL,MTIME);

Vvol:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;

STICKLINE(CURRBARSCOUNT=1,VVOL,0,-1,-1),COLOR00C0C0;

JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

主买:=QJ0*IF(C

主卖:=QJ0*IF(C

V0:=VOL;

大单差:(主买-主卖),LINETHICK;

STICKLINE(大单差>=0,0,V0,3,0),COLOR2222CC;

STICKLINE(大单差>=0,0,V0,2.5,0),COLOR3333DD;

STICKLINE(大单差>=0,0,V0,2,0),COLOR4444DD;

STICKLINE(大单差>=0,0,V0,1.5,0),COLOR5555EE;

STICKLINE(大单差>=0,0,V0,1,0),COLOR6666EE;

STICKLINE(大单差>=0,0,V0,0.5,0),COLOR9977EE;

STICKLINE(大单差<0,0,V0,3,0),COLORFF7700;

STICKLINE(大单差<0,0,V0,2.5,0),COLORFF8811;

STICKLINE(大单差<0,0,V0,2,0),COLORFFAA22;

STICKLINE(大单差<0,0,V0,1.5,0),COLORFFBB33;

STICKLINE(大单差<0,0,V0,1,0),COLORFFDD44;

STICKLINE(大单差<0,0,V0,0.5,0),COLORFFFF55;

MA5:MA(VOL,5)*2;

MA60:MA(VOL,60)*2;

AA:=SUMBARS(VOL,CAPITAL);

地量:IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),VOL

STICKLINE(地量,VOL,0,1,0),COLORYELLOW;

天量:IF(CAPITAL=0,AMOUNT=HHV(AMOUNT,34),VOL>MA(VOL,AA)*3) ,LINETHICK0,COLORFF0000;

STICKLINE(天量,VOL,0,1,0),COLORFF0000;

STICKLINE(大单差>0,0,大单差,2,0),COLOR102088;

STICKLINE(大单差>0,0,大单差,1.5,0),COLOR1020BB;

STICKLINE(大单差>0,0,大单差,1,0),COLOR1020DD;

STICKLINE(大单差>0,0,大单差,0.5,0),COLOR1020EE;

STICKLINE(大单差<0,0,大单差,2,0),COLOR007700;

STICKLINE(大单差<0,0,大单差,1.5,0),COLOR008800;

STICKLINE(大单差<0,0,大单差,1,0),COLOR00AA00;

STICKLINE(大单差<0,0,大单差,0.5,0),COLOR00CC00;

BB:IF(crOSS(0.9,1/VOL*10000>0.01 AND "kdj.J"<0),VOL*5,0) AND 大单差>0,LINETHICK0;

STICKLINE(BB<0,0,100,1,0),COLORYELLOW,POINTDOT;

RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

K:=SMA(RSV,5,1);

D:=SMA(K,3,1);

J:=(3*K-2*D);

M:=EMA(J,3);

E:=EMA(M,3);

A1:=BARSLAST(REF(CROSS(M,E),1));

底背离:=REF(L,A1+1)>L AND M>REF(M,A1+1) AND CROSS(M,E) AND M<20;

B:底背离,LINETHICK0;

STICKLINE(B,0,100,1,0),COLOR00CC00;

X:=LLV(J,2)=LLV(J,8);

VAR1:=LLV(LOW,10);

VAR2:=HHV(HIGH,25);

VAR3:=100*EMA((CLOSE-VAR1)/(VAR2-VAR1),4);

下注:CROSS(J,REF(J+0.01,1)) AND X AND J<0,LINETHICK0;

STICKLINE(下注,0,100,1,0),COLORRED,POINTDOT;

DRAWTEXT(下注,0,--注★--),COLORRED;

S:=EMA((CLOSE-LLV(CLOSE,21))/(HHV(CLOSE,21)-LLV(CLOSE,21)),1);

Y:=IF(S>0,MA(S,1),0);

庄:CROSS(Y,REF(Y+0.001,1)) AND J<0,LINETHICK0,COLORFF22AA;

DRAWTEXT(庄,0,★买),COLORFF22AA;

STICKLINE(庄,0,100,1,0),COLORFF22AA;

DRAWTEXT(REF(C,BARSLAST(REF(CROSS("macd.DIF","MACD.DEA"),1))+1)>C AND REF("MACD.DIF",BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1))+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA") >0,MACD.DEA,★M底),COLORWHITE;{MACD底背离};

DRAWTEXT(REF(C,BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1))+1)"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF") >0,MACD.DEA,☆M顶),COLORGREEN;{MACD顶背离};

STICKLINE(REF(C,BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1))+1)>C AND REF("MACD.DIF",BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1))+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA")

>0,0,0.03,6,0),COLOR00FF00;

DRAWTEXT(REF(C,BARSLAST(REF(CROSS("rsi.RSI1","RSI.RSI2"),1))+1)>C AND REF("RSI.RSI1",BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1))+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2")>0,MACD.DEA,◆R底);{RSI底背离};

DRAWTEXT(REF(C,BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1))+1)<C AND REF("RSI.RSI1",BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1))+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1")>0,MACD.DEA,◇R顶);{RSI顶背离};选股票看什么指标最好 >

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群