程序化指标公式
问答中心

通达信主动买卖操盘指标公式

通达信指标 2019-05-13阅读量:4156
A1:=REF(C,1);
A2:=SMA(MAX(C-A1,0),5,1)/SMA(ABS(C-A1),5,1)*1000;
A3:=BARSLAST(REF(CROSS(rsi.RSI1(6,12,24),RSI.RSI2(6,12,24)),1));
A4:=A2-LLV(A2,10);
A5:=(MA(A4,2)*3+A4*13)/16;
A6:=IF(A513,MA(A5,2),A5)/6;
RSI1:=SMA(MAX(C-A1,0),6,1)/SMA(ABS(C-A1),6,1)*100;
RSI2:=SMA(MAX(C-A1,0),12,1)/SMA(ABS(C-A1),12,1)*100;
RSI3:=SMA(MAX(C-A1,0),24,1)/SMA(ABS(C-A1),24,1)*100;
压力:=HHV(MA(RSI2,3),12);
支撑:=LLV(MA(RSI2,3),12);
中间:(HHV(MA(RSI2,3),12)+LLV(MA(RSI2,3),12))/2,COLORRED,LINETHICK2;
STICKLINE(RSI2支撑,中间,RSI2,1,0)COLORFF972F;
STICKLINE(RSI2=支撑 AND RSI2中间,中间,RSI2,1,0)COLORFF972F;
STICKLINE(RSI2=中间 AND RSI2压力,中间,RSI2,2,0)COLORRED;
STICKLINE(RSI2=压力,中间,RSI2,2,0)COLORRED;
B3:=REF(C,A3+1)C AND REF(RSI.RSI1(6,12,24),A3+1)RSI.RSI1(6,12,24) AND CROSS (RSI.RSI1(6,12,24),RSI.RSI2(6,12,24));
DRAWTEXT(B3,RSI2,'底背');
B1:=RSI1=RSI2 AND RSI2=RSI3;
S1:=RSI1RSI2 AND RSI2RSI3;
BS1:=NOT(RSI1=RSI2 AND RSI2=RSI3)AND NOT(RSI1RSI2 AND RSI2RSI3);
STICKLINE(B1,80,82,2,1)COLORRED;
STICKLINE(S1,80,82,2,1)COLORGREEN;
STICKLINE(BS1,80,82,2,1)COLORYELLOW;
短线:IF(CROSS(A6,1) AND (A630)AND RSI235 AND RSI2=支撑 AND RSI2中间,30,20),COLORMAGENTA,LINETHICK2;
AA:=vol/((HIGH-LOW)*2-(ABS(CLOSE-OPEN)))*100;
主动买盘:=IF(CLOSEOPEN,AA*(HIGH-LOW),IF(CLOSEOPEN,AA*(HIGH-OPEN+CLOSE-LOW),VOL/2));
主动卖盘:=IF(CLOSEOPEN,-AA*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,-AA*(HIGH-LOW),-VOL/2));
买卖比:=主动买盘/主动卖盘;
卖盘:=VOL-主动买盘;
卖盘大:=(卖盘-主动买盘)/卖盘0.6;
买盘大:=(主动买盘-卖盘)/主动买盘0.6;
版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭