rgtj1指标源码_gpt是什么指标

hacker|
84

文章目录:

准确率100%通信达短线指标公式

通达信【短线100%】指标公式

WL:(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,LINETHICK1,COLOR0000FF;

WL3:=MA(WL,3),COLOR00FFFF;

WLT:MA(WL,89),COLOR00FFFF,LINETHICK1;

DRAWBAND(WL,RGB(200,60,200),WLT,RGB(0,100,50));

遵涨:IF(WL=WLT,WL,DRAWNULL),COLOR3300FF;

守望:IF(WLT=WL,WLT,DRAWNULL),COLORFF6000;

纪买:IF(WL=WLT,WLT,DRAWNULL),COLOR00FFFF;

律跌:IF(WLT=WL,WL,DRAWNULL),COLOR00FF00;

WLT1:=CROSS(WL,WLT);

WLT11:=CROSS(WL,-10);

WLT2:=FILTER(WLT1,8);

SKY:=10,POINTDOT,COLORFF0000,LINETHICK1;

SEA:=-10,POINTDOT,COLORFF00FF,LINETHICK1;

DRAWICON(WLT2,WLT,23);

DRAWICON(WLT11,SEA,15);

T8:=FILTER(CROSS(WL,WL3) AND WL3WLT,5);

DRAWICON(T8,WL,25);

WLT3:=COUNT(WL10,5)=3;

WLT33:=CROSS(10,WL);

SEL:=WLT3 AND WLT33;

DRAWICON(SEL,10,19);

STICKLINE(WL10,WL,10,0.001,0),COLOR00FF00;

STICKLINE(WL-10,WL,-10,0.001,0),COLORFF00FF;

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2,COLORSTICK;

DIF底:=LLV(DIF,120);

最底价:=L=LLV(L,120);

距今:=BARSLAST(最底价);

偏离:=IF((距今=0 AND DIFDIF底),1,0);

DDD:=EXIST(偏离,20) AND SLOPE(DEA,2)=0;

HRY:=FILTER(DDD,10);

STICKLINE(HRY,-5,-10,3,0),COLOR00FFFF;

DRAWTEXT(HRY,-5,'M背'),COLOR88FFFF;

{YYY:COUNT(偏离,5);}

DIF顶:=HHV(DIF,120);

最高价:=H=HHV(H,120);

距今高:=BARSLAST(最高价);

偏离高:=IF((距今高=0 AND DIFDIF顶),1,0);

GGG:=EXIST(偏离高,20) AND SLOPE(DEA,2)0;

HRY1:=FILTER(GGG,10);

STICKLINE(HRY1,10,6.5,7,1),COLORFF8000;

DRAWTEXT(HRY1,6,' M背'),COLORFF8000;

A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));

B2:=REF(C,A2+1)C AND REF("KDJ.K"(9,3,3),A2+1)"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));

A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));

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));

C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));

D2:=REF(C,C2+1)C AND REF("KDJ.K"(9,3,3),C2+1)"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));

C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));

D3:=REF(C,C3+1)C AND REF("RSI.RSI1"(6,12,24),C3+1)"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));

KDJ底背:FILTER(IF(B20,-1,0),13),COLORFF00FF,NODRAW;

STICKLINE(KDJ底背,-10,-8,3,0),COLORFF00FF;

DRAWTEXT(KDJ底背,-7.5,'K背'),COLORFF00FF;

RSI底背:FILTER(IF(B30,-1,0),13),COLORFF8000,NODRAW;

STICKLINE(RSI底背,-10,-7,3,0),COLORFFFFFF;

DRAWTEXT(RSI底背,-6.5,'R背'),COLORFFFFFF;

KDJ顶背:FILTER(IF(D20,1,0),13),COLORFFF000,NODRAW;

STICKLINE(KDJ顶背,10,5,2,0),COLORFFFF00;

DRAWTEXT(KDJ顶背,4.5,'K背'),COLORFFFF00;

RSI顶背:FILTER(IF(D30,1,0),13),NODRAW;

STICKLINE(RSI顶背,10,8,5,0),COLOR00FF00;

DRAWTEXT(RSI顶背,7.5,'R背'),COLOR00FF80;

T:=IF((BARSCOUNT(C) 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);

N:=IF((T 0.35),6,65);

W:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));

RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;

J0:=(HIGH+LOW)/2;

QJ:=EMA(J0,3);

J1:=IF(CLOSEQJ,VOL,0);

J2:=IF(CLOSEQJ,VOL,0);

BB:=MA(SUM(J1-J2,22),3);

修改1:=(8)*240/FROMOPEN;

修改2:=IF(CLOSEQJ,修改1,0);

修改3:=IF(CLOSEQJ,修改1,0);

修改4:=MA(SUM(修改2-修改3,22),3);

累加:=21*修改4+20*REF(BB,1)+19*REF(BB,2)+18*REF(BB,3)+17*REF(BB,4)

+16*REF(BB,5)+15*REF(BB,6)+14*REF(BB,7)+13*REF(BB,8)+12*REF

(BB,9)+11*REF(BB,10)+10*REF(BB,11)+9*REF(BB,12)+8*REF(BB,13)

+7*REF(BB,14)+6*REF(BB,15)+5*REF(BB,16)+4*REF(BB,17)+3*REF

(BB,18)+2*REF(BB,19)+REF(BB,20);

WMA3:=累加/(21+1)/21*2;

CC:=WMA3;

VAR3:=(BB-CC);

VAR4:=SMA(RV,3,1);

VAR5:=SMA(VAR4,3,1);

KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;

DD:=SMA(KK,3,1),COLOR00FFFF;

涨停:=CROSS(W,-2) AND CROSS(VAR4,VAR5) AND CROSS(KK,DD);

STICKLINE(涨停,-10,-5,4,0)COLORRED;

DRAWTEXT(REF("KDJ.J",1)0 AND "KDJ.J"0,-4,'短'),COLORFF88FF;

STICKLINE(REF("KDJ.J",1)0 AND "KDJ.J"0,-10,-4.5,3,0),COLORFF88FF;

AA1:=HHV(H,55);

BB1:=REF(H,13);

TJ1:=AA1=BB1;

XX:=LLV(L,55);

YY:=REF(L,13);

YY1:=REF(L,21);

TJ2:=XX=YY;

TJ3:=XX=YY1;

选股:TJ1 OR TJ2;

DRAWTEXT(TJ2,-6,'离底13'),COLOR00FF00;

STICKLINE(TJ2 ,-10,-6.5,2,1),COLOR00FF00;

DRAWTEXT(TJ3,-7.5,'离底21'),COLOR00FFFF;

STICKLINE(TJ3 ,-10,-8,4,1),COLOR00FFFF;

DRAWTEXT(TJ1,-5.5,'离高13'),COLOR0000FF;

STICKLINE(TJ1 ,-10,-6,2,0),COLOR0000FF;

LV:=MA(C,24);

HR0:=HHV(HIGH,N);

HRY0:=LLV(LOW,N);

HRY110:=HR0*HRY0;

HRY330:=SQRT(HRY110);

NS1:=CHRY330 AND HRY330 =REF(HRY330,1) AND CLV;

STICKLINE(C0,-10,-11.5,3,0),COLORFF6000;

STICKLINE(WLT2 OR WLWLT,-10,-11.5,3,0),COLOR00FFFF;

STICKLINE(NS1,-10,-11.5,3,0),COLOR0000FF;

DRAWTEXT(FILTER(NS1,21),-11,'持股'),COLORFFFFFF;

DRAWTEXT(FILTER(WLT2 OR WLWLT,13),-11,'买入'),COLOR0000FF;

请老师将通达信的指标和选股公式 改成大智慧的谢谢

选股公式不用改,可以直接通过,质保指标改一下。

{指标背离}

N:=60;

K值:="KDJ.K";

DD:=C=LLV(C,N);{60日最低点}

DDSJ:=BARSLAST(REF(DD,1));{上一低点时间}

DDGJ:=REF(CLOSE,DDSJ+1)CLOSE;{股价趋势}

KDZB:=REF(K值,DDSJ+1)K值;{KDJ.K指标趋势}

K底背离:=DDGJ AND KDZB;GD:=C=HHV(C,N);{60日最高点}

GDSJ:=BARSLAST(REF(GD,1));{上一高点时间}

GDGJ:=REF(CLOSE,GDSJ+1)CLOSE;{股价趋势}

KGZB:=REF(K值,GDSJ+1)K值;

K顶背离:=GDGJ AND KGZB;

MACD:="MACD.MACD";

MDZB:=REF(MACD,DDSJ+1)MACD;{MACD指标趋势}

M底背离:=DDGJ AND MDZB;MGZB:=REF(MACD,GDSJ+1)MACD;

M顶背离:=GDGJ AND MGZB;RSI:="RSI.RSI1";

RDZB:=REF(RSI,DDSJ+1)RSI;{RSI指标趋势}

R底背离:=DDGJ AND RDZB;RGZB:=REF(RSI,GDSJ+1)RSI;

R顶背离:=GDGJ AND RGZB;TYP:=(HIGH + LOW + CLOSE)/3;

CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));

CDZB:=REF(CCI,DDSJ+1)CCI;{CCI指标趋势}

C底背离:=DDGJ AND CDZB;

CGZB:=REF(CCI,GDSJ+1)CCI;

C顶背离:=GDGJ AND CGZB;

REFLINE: -5,15,30;

ISLASTBAR:=BARSTATUS=2;

DRAWTEXT(K顶背离,IF(ISLASTBAR,27.5,25),'◆'),LINETHICK2 ;

DRAWTEXT(M顶背离,IF(ISLASTBAR,24.5,20),'◆'),LINETHICK2 ;

DRAWTEXT(R顶背离,IF(ISLASTBAR,20.5,15.1),'◆'),LINETHICK2 ;

DRAWTEXT(C顶背离,IF(ISLASTBAR,16.6,10.1),'◆'),LINETHICK2 ;

DRAWTEXT(ISLASTBAR,10.1 ,'CCI '),LINETHICK2,COLORGREEN;

DRAWTEXT(C底背离,IF(ISLASTBAR,12,10.1 ),'◆'),LINETHICK2,COLORRED;

DRAWTEXT(ISLASTBAR,15,'RSI '),LINETHICK2,COLORRED;

DRAWTEXT(R底背离,IF(ISLASTBAR,8.5,15),'◆'),LINETHICK2,COLORRED;

DRAWTEXT(ISLASTBAR,20,'MACD '),LINETHICK2,COLORMAGENTA;

DRAWTEXT(M底背离,IF(ISLASTBAR,4.5,20),'◆'),LINETHICK2,COLORRED;

DRAWTEXT(ISLASTBAR,25,'KDJ '),LINETHICK2,COLORRED;

DRAWTEXT(K底背离,IF(ISLASTBAR,1.5,25),'◆'),LINETHICK2,COLORRED;

通达信多重确认买入指标

你好,以下是通达信底部确认买入副图指标公式源码

RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;

KK:=EMA(SMA(RG,3,1),2);

DD:=SMA(KK,3,1);

VAR11:=1;

VAR22:=((((2*CLOSE)+HIGH)+LOW) / 4);

VAR33:=LLV(LOW,5);

VAR44:=HHV(HIGH,4);

C1:=(EMA((((VAR22-VAR33)/(VAR44-VAR33))*100),4)*VAR11);

C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR11);

TJ1:=CROSS(C1,C2);

TJ2:=CROSS(C2,C1);

TJ3:=CROSS(C1,C2) AND REF(C1,1)20;

TJ4:=CROSS(C2,C1) AND REF(C1,1)80;

VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;

VAR400:=EMA(VAR300,5);

VAR500:=3*VAR300-2*VAR400;

异动:=CROSS(VAR500,VAR300) AND VAR3002.1 AND CO;

BV11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

势:=EMA(BV11,3);

XG:异动 AND 势5 AND 势=REF(势,1),COLORRED,LINETHICK1;

STICKLINE(XG,0,15,20,0),COLORRED;

STICKLINE(XG,15,30,15,0),COLORGREEN;

STICKLINE(XG,30,45,12,0),COLORBLUE;

STICKLINE(XG,45,60,9,0),COLORYELLOW;

STICKLINE(XG,60,75,6,0),COLORCYAN;

STICKLINE(XG,75,90,3,0),COLORMAGENTA;

上述就是我的回答,望采纳,谢谢!

通达信软件的主图和两个副图的指标源码改为条件选股公式

第一个

JJ:=(CLOSE+HIGH+LOW)/3;

A:=EMA(JJ,5);

B:=REF(A,1);

XG:ABREF(A,1)REF(B,1);

第二个

RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

VAR4:=SMA(RV,3,1);

VAR5:=SMA(VAR4,3,1);

XG:CROSS(VAR4,VAR5) AND VAR530;

第三个

N:=21; M:=5;

TH:=SUM(IF(CLOSEREF(CLOSE,1),VOL,0),N);

TL:=SUM(IF(CLOSEREF(CLOSE,1),VOL,0),N);

TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),N);

VAR0:=100*(TH*2+TQ)/(TL*2+TQ);

VAR1:=MA(VAR0,M);

W:=CROSS(VAR0,VAR1);

WL1:=VAR1100;

WLT1:=W AND WL1;

TJ1:FILTER(WLT1,5);

看KDJ和MACD指标有用吗?

有用的。

很多股民朋友对于炒股就是炒预期都很清楚,炒的就是上市公司未来的发展,但炒股除了要综合考虑公司的基本面外,还需要了解一下技术面。一谈到技术面,多数人都会想起MACD指标,却不清楚KDJ的用法,而对想要做短线的朋友来讲,KDJ的重要性不在话下。那么今天,咱们就来分析看看KDJ指标到底是什么,以及,我们要怎么运用这项技术指标来提高自己做短线操作的容错率。开始之前,不妨先领一波福利--机构精选的牛股榜单新鲜出炉,走过路过可别错过:【绝密】机构推荐的牛股名单泄露,限时速领!!!

一、KDJ是什么?

KDJ指标又可以用随机指标来指代,是由K线、D线和J线三条曲线所构成的,从图中可以得到,K、D、J分别对应的不同的颜色,其中的K线代表的是快速确认线,D线表示的是慢速主干线,而J线指的就是方向明暗线。K值和D值的浮动范围是0~100,而J值则存在小于0或大于100的情况,能够在更大范围内波动。KDJ就是拿来判断中短期行情走势。

二、KDJ有哪些实用技巧?

1、参数设为多少合适?

通常来说,KDJ指标设定的系统默认参数是(9,3,3),但是在这样的参数设置里面,KDJ在日K线下波动的频次很大,很多投资者根本反应不过来,更别说有时间去跟上操作了。所以对于做超短线的投资者来说,建议也是可以根据自己的喜好来选择下面适合的参数:

(1)参数为(6,3,3):就在变动频率逐渐变高的趋势下,这也是为了快速地找到买点和卖点;

(2)参数为(18,3,3):买卖信号更稳定,指标灵敏度保持得更好;

(3)参数为(24,3,3):比较适合中线投资者选择,容错率也会增加。

2、如何利用KDJ操作个股?

按50为分界线,我们可以依据KDJ三项数值的相对大小来判断此时多空两方的力量对比,若K、D、J三个数值均大于50,这也表明了多方的力量都比较强势;假设这三个数值都只是在50的左右进行变化,也就意味着多空力量均衡;如果这三个数值在50以下的话,这也就意味着空方力量很强。分为三个操作面:K、D、J这三值在20以下就会判定为超卖区,属于买入信号;80以上的就是超买区,属于卖出信号;20-80之间为徘徊区,适合观望。

同时还可以把下面几种形态作为参考:

(1)金叉和死叉:假如说遇到K、D、J三个值都比50小,且J线和K线一起向上突破D线时,那就是意味着KDJ形成金叉,表明当天可以加仓,但是,如果K、D、J三个值均大于50,且J线和K线跌破D线时,则体现了KDJ形成死叉,清楚意味着当天需要逢高减仓,预防回调的风险。

从图片中我们能够清楚知道黄色圈为KDJ形成的金叉,因而当天适合迈入,那么,当到了红色圈的位置时,KDJ已经形成了明显的死叉,就这种情况下,投资者需要降低仓位,以防止因高位回调带来损失。

(2)顶背离和底背离:当股票处于上涨的趋势,可是对应的KDJ指标却表现为每一项都是青黄不接的状态时,则形成了KDJ顶背离的形态,这种情况投资者们就得降低仓位了,要防止风险重新调回,大致形态下图可知:

而一旦股价在一个下跌的趋势时,股价就不断地创新低,但是如果对应的KDJ指标一顶比一顶高时,这就表示KDJ底背离的形态已经形成,那在这个时间上投资者们就能够逢低介入,不断注意个股的后期走势,大致形态下图可知:

综上所述,KDJ指标只是用来判断行情的一种技术手段,需要把个股走势准确的判断出来,还需要把大盘走势、所处的板块及时事政策等多方面因素结合起来考量。实在没有充足的时间去研究某只个股的朋友,不妨点击下面这个链接,输入自己想要了解的股票代码,进行深度分析【免费】测一测你的股票当前估值位置?

三、KDJ指标的优劣势

KDJ指标具有对股价变化十分灵敏的优点,可以作为短线操作的参考依据。但因为该指标反应过快,有时过早地发出买入或者卖出信号,容易导致投资者做出错误的操作。那如何才能找到完美买卖时机?纯人力技术分析还有用吗?试试点击下方链接,AI智能判断买卖时机,进场再也不犹豫:【AI辅助决策】买卖时机捕捉神器

应答时间:2021-09-25,最新业务变化以文中链接内展示的数据为准,请点击查看

根据通达信指标改写成相应的选股公式

通达信选股

RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;

J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);

J1:=IF(CLOSEQJ,VOL,0);

J2:=IF(CLOSEQJ,VOL,0);

量能:=IF(CAPITAL1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD,NODRAW;

趋势:=IF(CAPITAL1,EMA(量能,360),EMA(量能,21)),COLOR008800,NODRAW;

VAR3:=(量能-趋势);

VAR44:=SMA(RV,3,1);

VAR55:=SMA(VAR44,3,1);

KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;DD:=SMA(KK,3,1),COLOR00FFFF;

共振点:=(CROSS(VAR44,VAR55) AND CROSS(KK,DD));

VAR1:=1;

VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);

低金叉进:=20,COLORFF00FF,LINETHICK2;

高死叉出:=90,COLORBLUE,LINETHICK2;

VAR4:=LLV(LOW,5);

VAR5:=HHV(HIGH,4);

C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF,LINETHICK2;

C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETHICK2;

条件:=CROSS(C1,C2) AND C140;

条件0:=CROSS(C2,C1) AND C190;

TJ1:=CROSS(C1,C2);

TJ2:=CROSS(C2,C1);

TJ3:=CROSS(C1,C2) AND REF(C1,1)20;

TJ4:=CROSS(C2,C1) AND REF(C1,1)80;

买:=(FILTER((REF(条件,1) AND (REF(LOW,1)LOW OR TJ2)) OR

(REF(条件,2) AND (REF(LOW,2)LLV(LOW,3) OR TJ2))

OR (REF(条件,3) AND (REF(LOW,3)LLV(LOW,4) OR TJ2)),4));

VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;

VAR400:=EMA(VAR300,5);

操盘:=3*VAR300-2*VAR400;

A1:=CROSS(操盘,VAR300) AND VAR3002.1 AND CO;

综合选股:共振点 OR 买 OR 条件 OR TJ3 OR A1;

4条大神的评论

  • avatar
    访客 2022-07-11 下午 12:47:23

    T(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)C AND REF("KDJ.K"(9,3,3),A2+1)"KDJ.K"(9,3,3) AND CROSS("KD

  • avatar
    访客 2022-07-11 下午 08:00:13

    ,7,1),COLORFF8000;DRAWTEXT(HRY1,6,' M背'),COLORFF8000;A2:=BARSLAST(REF(CROSS("KDJ.K"(9,

  • avatar
    访客 2022-07-11 下午 08:41:14

    领一波福利--机构精选的牛股榜单新鲜出炉,走过路过可别错过:【绝密】机构推荐的牛股名单泄露,限时速领!!!一、KDJ是什么?KDJ指标又可以用随机指标来指代,是由K线、D

  • avatar
    访客 2022-07-11 下午 07:27:08

    *REF(BB,16)+4*REF(BB,17)+3*REF(BB,18)+2*REF(BB,19)+REF(BB,20);WMA3:=累加/(21+1)/21*2;CC:=WMA3;VAR3:=(

发表评论