公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

GJKDJ副图源码

2023-1-9 08:11| 发布者: admin| 查看: 108| 评论: 0

参数:n=9,p1=3,p2=3;

{GJKDJ}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,P1,1),COLORRED,LINETHICK1;
D:SMA(K,P2,1),LINETHICK1;
J:3*K-2*D,COLORMAGENTA;
PARTLINE(K>80,K),colorgreen,LINETHICK3;
PARTLINE(K<20,K),COLORRED,LINETHICK3;
PARTLINE(d>80,d),COLORBLUE,LINETHICK3;
PARTLINE(d<20,d),COLORWHITE,LINETHICK3;
PARTLINE(J PARTLINE(J>100,J),COLORYELLOW,LINETHICK3;
PARTLINE(J<0,J),COLORCYAN,LINETHICK3;

STICKLINE(cross(j,0),0,60,5,1);
抄底:REF(COUNT(k=5,1) and COUNT(K<30,5)>=2 AND COUNT(J<0,3)>0 AND CROSS(J,0);
STICKLINE(抄底,30,60,4,0),COLORMAGENTA;

交叉位:=((3*REF(D,1)-2*REF(K,1))*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9);
n1:=sysparam(3); n2:=sysparam(2); n3:=(n1-n2)+1; hh:=hhv(J,n3); ll:=llv(J,n3);
zhh:=hh[n1]; zll:=ll[n1];

DRAWTEXT(BARPOS=SYSPARAM(3)&&交叉位 DRAWTEXT(BARPOS=SYSPARAM(3)&&交叉位>C,zll,'预测金叉价: '+NUMTOSTR(交叉位,2)),ALIGN2,SHIFT3,PXUP10,ColorFF8EFF;

BUY1:=CROSS(K,D) AND CROSS(J,D) AND D<30 AND D>REF(D,1);
SEL1:=FILTER(REF(J,1)>75 AND J STICKLINE(BUY1,0,30,4,0),COLORRED;
STICKLINE(SEL1,100,80,5,0),COLORGREEN;

tj00:=BARSLAST(ref(cross(k,d) and ref(k,1)<35,1));
tj11:=c5 and k>ref(k,tj00+1) and cross(k,d);
STICKLINE(tj11,60,90,6,0),COLORWHITE;
高位:100,COLOR1ACD44;
低位:0,COLOR00E0FD;
大:80,COLORDDE4AB;
机会:15,COLOR3A5CE0;
VAR2b:=REF(LOW,1);
VAR3b:=SMA(ABS(LOW-VAR2b),3,1)/SMA(MAX(LOW-VAR2b,0),3,1)*100;
VAR4b:=EMA(IF(CLOSE*1.3,VAR3b*10,VAR3b/10),3);
VAR5b:=LLV(LOW,13);
VAR6b:=HHV(VAR4b,13);
VAR7b:=IF(MA(CLOSE,34),1,0);
VAR8b:=EMA(IF(LOW<=VAR5b,(VAR4b+VAR6b*2)/2,0),3)/618*VAR7b;
VAR9b:=IF(VAR8b>100,100,VAR8b);
庄家吸筹:VAR9b,LINETHICK3,COLOR00ff00;
STICKLINE(庄家吸筹>REF(庄家吸筹,1),庄家吸筹,0,1,0),COLOR00ff00,stick;
{注意:如出现庄家吸筹后,不久就会拉升;}


鲜花

握手

雷人

路过

鸡蛋
返回顶部