【资料名称】:综合操盘副图 (副图指标 源码 原创 )介绍【资料描述】:
综合操盘副图 (副图指标 源码 原创 )
编辑一个副图指标,可综合显示顶底、抛物线、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;
简洁实用: 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;
gd9710
【下载地址隐藏】: 点:回复可见地址