通达信综合操盘指标公式
2020/1/24 18:48:16
使用说明:可综合显示顶底、抛物线、KDJ、抢反弹、简洁实用等五组常用副图指标为一个副图指标。
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
A1:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);B1:=REF(A1,1);
STICKLINE(A1>B1 ,100,85 ,4 ,0),COLOR0033FF;
STICKLINE(A1<B1 ,100,85,4 ,0),COLOR00FF33;
顶底:A1> B1,POINTDOT;
AA:= CLOSE>SAR(4,2,20);
BB:= CLOSE<SAR(4,2,20);
STICKLINE (AA>=BB,80,65,4,0),COLOR0033FF;
STICKLINE (BB>=AA,80,65,4,0),COLOR00FF33;
抛物线:AA>=BB,POINTDOT;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE (K>=D,60,45,4,0),COLOR0033FF;
STICKLINE (K<D,60,45,4,0),COLOR00FF33;
KDJ:K>D,POINTDOT;
VAR1:=1;
VAR21:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:=(EMA((((VAR21-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORRED,LINETHICK2;
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETHICK2;
AA1:=C1>=C2 ;
BB1:=C2>C1 ;
STICKLINE (AA1,40,25,4,0),COLOR0033FF;
STICKLINE (BB1,40,25,4,0),COLOR00FF33;
抢反弹:C1>=C2, POINTDOT;
AA4:=EMA(CLOSE,8)-EMA(CLOSE,13);
BB4:=EMA(AA4,3);
STICKLINE (AA4>=BB4,20,5,4,0),COLOR0033FF;
STICKLINE (AA4<BB4,20,5,4,0),COLOR00FF33;
{投股票网-股票公式网站 www.tou18.cn}
简洁实用: AA4>=BB4 POINTDOT;
五金叉:(顶底 AND 抛物线 AND KDJ AND 抢反弹 AND 简洁实用) POINTDOT;
STICKLINE(顶底 AND 抛物线 AND KDJ AND 抢反弹 AND 简洁实用,0,-15,4,0),COLORFF00FF;
STICKLINE(A1< B1 OR AA<BB OR K<D OR C1<C2 OR AA4<BB4,0,-15,4,0),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=3,93,'组合顶底'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=3,73,'抛物线'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=3,53,'KDJ'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=3,33,'抢反弹'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=3,12,'简洁实用'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=3,-7,'五金叉'),COLORFF0000;
投股 票网 www.tou1 8.cn
股市公式下载推荐