操盘手ddx指标源码(kdj指标公式源码?)
1. kdj指标公式源码?
KDJ指标公式源码:
参数:N:=9; M1:=3; M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
周K:=MA("KDJ.K#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORRED;
周D:=MA("KDJ.D#WEEK"(N,M1,M2) ,5),LINETHICK1,COLOR33FF99;
周J:=MA("KDJ.J#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORMAGENTA;
月K:MA("KDJ.K#MONTH"(N,M1,M2),5),LINETHICK1,COLORFF00FF;
月D:MA("KDJ.D#MONTH"(N,M1,M2),5),LINETHICK1,COLOR00FF00;
月J:=MA("KDJ.J#MONTH"(N,M1,M2),5),LINETHICK1,COLORFFFFFF;
DRAWBAND(月K,RGB(100,0,100),月D,RGB(120,120,120));
STICKLINE(周K>=周D,周K,周D,1,0),COLOR6666FF;
STICKLINE(周K<周D,周K,周D,1,1),COLOR00FFFF;
STICKLINE(C>0,115,120,2,1),COLOR00FFFF;
STICKLINE(C>0,-15,-20,2,1),COLORFFFF88;
STICKLINE(周K>=周D,110,120,2,0),COLOR6666FF;
STICKLINE(月K>=月D,-10,-20,2,0),COLOR660099;
STICKLINE(C>0,48,52,2,1),COLORFFFFFF;
STICKLINE(周K>=周D AND 月K>=月D,42,58,2,1),COLORRED;
STICKLINE(月K<月D AND 周K>=周D,44,56,2,1),COLORFF00FF;
STICKLINE(月K>=月D AND 周K<周D,46,54,2,1),COLOR00FF00;
STICKLINE(CURRBARSCOUNT=88,10,90,99,0),COLOR222255;
STICKLINE(CURRBARSCOUNT=88,100,90,99,0),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=92,95,'中间彩柱'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=8,110,'周KD金叉'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=8,-10,'月KD交叉'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=98,20,'月死叉周死叉--全退--白色'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=98,40,'月金叉周死叉--减仓--绿色'),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=98,60,'月死叉周金叉--反弹--粉色'),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=98,80,'月金叉周金叉--持股--红色'),COLORRED;
2. 求助老师仿写一个牛市波段王指标,万分?
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; XG:REF(J,1)
3. kdj指标公式源码?
KDJ指标公式源码:
参数:N:=9; M1:=3; M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
周K:=MA("KDJ.K#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORRED;
周D:=MA("KDJ.D#WEEK"(N,M1,M2) ,5),LINETHICK1,COLOR33FF99;
周J:=MA("KDJ.J#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORMAGENTA;
月K:MA("KDJ.K#MONTH"(N,M1,M2),5),LINETHICK1,COLORFF00FF;
月D:MA("KDJ.D#MONTH"(N,M1,M2),5),LINETHICK1,COLOR00FF00;
月J:=MA("KDJ.J#MONTH"(N,M1,M2),5),LINETHICK1,COLORFFFFFF;
DRAWBAND(月K,RGB(100,0,100),月D,RGB(120,120,120));
STICKLINE(周K>=周D,周K,周D,1,0),COLOR6666FF;
STICKLINE(周K<周D,周K,周D,1,1),COLOR00FFFF;
STICKLINE(C>0,115,120,2,1),COLOR00FFFF;
STICKLINE(C>0,-15,-20,2,1),COLORFFFF88;
STICKLINE(周K>=周D,110,120,2,0),COLOR6666FF;
STICKLINE(月K>=月D,-10,-20,2,0),COLOR660099;
STICKLINE(C>0,48,52,2,1),COLORFFFFFF;
STICKLINE(周K>=周D AND 月K>=月D,42,58,2,1),COLORRED;
STICKLINE(月K<月D AND 周K>=周D,44,56,2,1),COLORFF00FF;
STICKLINE(月K>=月D AND 周K<周D,46,54,2,1),COLOR00FF00;
STICKLINE(CURRBARSCOUNT=88,10,90,99,0),COLOR222255;
STICKLINE(CURRBARSCOUNT=88,100,90,99,0),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=92,95,'中间彩柱'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=8,110,'周KD金叉'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=8,-10,'月KD交叉'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=98,20,'月死叉周死叉--全退--白色'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=98,40,'月金叉周死叉--减仓--绿色'),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=98,60,'月死叉周金叉--反弹--粉色'),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=98,80,'月金叉周金叉--持股--红色'),COLORRED;
4. kda指标?
kda金叉是指以K线从下向上与d线交叉为例,K线上穿d线并形成有效的向上突破是金叉,为买入信号。
kda金叉使用技巧有:
1.K与D值永远介于0到100之间。D大于70时,行情呈现超买现象。D小于30时,行情呈现超卖现象。
2.上涨趋势中,K值小于D值,K线向上突破D线时,形成金叉,为买进信号。下跌趋势中,K大于D,K线向下跌破D线时,为卖出信号。
3.KD指标不仅能反映出市场的超买超卖程度,还能通过交叉突破发出买卖信号。
4.KD指标不适于发行量小、交易不活跃的股票,但是KD指标对大盘和热门大盘股有极高准确性。
5.当随机指标与股价出现背离时,一般为转势的信号。
6.K值和D值上升或者下跌的速度减弱,倾斜度趋于平缓是短期转势的预警信号。
5. kd指标源码公式?
以下是通达信彩色KD指标KD共振公式源码(无源码的请下载附件导入)
通达信彩色KD指标KD共振公式源码
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR13,3,1);
D13:SMA(K13,3,1);
DRAWBAND(K13,RGB(255,255,0),D13,RGB(0,255,0));
{STICKLINE(K13>D13,K13,D13,8,0),COLOR0055AA;
STICKLINE(K13>D13,K13,D13,5,0),COLOR0077CC;
STICKLINE(K13>D13,K13,D13,3,0),COLOR0099DD;
STICKLINE(K13>D13,K13,D13,1,0),COLOR01BEE7;
STICKLINE(K13<=D13,K13,D13,8,0),COLOR006600;
STICKLINE(K13<=D13,K13,D13,5,0),COLOR009900;
STICKLINE(K13<=D13,K13,D13,3,0),COLOR00BB00;
STICKLINE(K13<=D13,K13,D13,1,0),COLOR00CC00;}
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:SMA(VAR55,3,1);
D55:SMA(K55,3,1);
DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,0,255));
{STICKLINE(K55>D55,K55,D55,7,0),COLOR000045;
STICKLINE(K55>D55,K55,D55,5,0),COLOR000085;
STICKLINE(K55>D55,K55,D55,3,0),COLOR0000C5;
STICKLINE(K55>D55,K55,D55,1,0),COLOR0000E5;
STICKLINE(K55<=D55,K55,D55,7,0),COLOR353500;
STICKLINE(K55<=D55,K55,D55,5,0),COLOR555500;
STICKLINE(K55<=D55,K55,D55,3,0),COLOR757500;
STICKLINE(K55<=D55,K55,D55,1,0),COLOR858500;}
20,COLORWHITE;
80,COLORWHITE;
DIBU:= K13<20 AND D13<20 AND K55<20 AND D55<20;
STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
TOBU:= K13>80 AND D13>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
6. kd指标源码公式?
以下是通达信彩色KD指标KD共振公式源码(无源码的请下载附件导入)
通达信彩色KD指标KD共振公式源码
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR13,3,1);
D13:SMA(K13,3,1);
DRAWBAND(K13,RGB(255,255,0),D13,RGB(0,255,0));
{STICKLINE(K13>D13,K13,D13,8,0),COLOR0055AA;
STICKLINE(K13>D13,K13,D13,5,0),COLOR0077CC;
STICKLINE(K13>D13,K13,D13,3,0),COLOR0099DD;
STICKLINE(K13>D13,K13,D13,1,0),COLOR01BEE7;
STICKLINE(K13<=D13,K13,D13,8,0),COLOR006600;
STICKLINE(K13<=D13,K13,D13,5,0),COLOR009900;
STICKLINE(K13<=D13,K13,D13,3,0),COLOR00BB00;
STICKLINE(K13<=D13,K13,D13,1,0),COLOR00CC00;}
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:SMA(VAR55,3,1);
D55:SMA(K55,3,1);
DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,0,255));
{STICKLINE(K55>D55,K55,D55,7,0),COLOR000045;
STICKLINE(K55>D55,K55,D55,5,0),COLOR000085;
STICKLINE(K55>D55,K55,D55,3,0),COLOR0000C5;
STICKLINE(K55>D55,K55,D55,1,0),COLOR0000E5;
STICKLINE(K55<=D55,K55,D55,7,0),COLOR353500;
STICKLINE(K55<=D55,K55,D55,5,0),COLOR555500;
STICKLINE(K55<=D55,K55,D55,3,0),COLOR757500;
STICKLINE(K55<=D55,K55,D55,1,0),COLOR858500;}
20,COLORWHITE;
80,COLORWHITE;
DIBU:= K13<20 AND D13<20 AND K55<20 AND D55<20;
STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
TOBU:= K13>80 AND D13>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
7. 如何利用DDX1选股?
(1)DDX1上穿0轴的选股公式:
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
DDX1上穿0轴:DDX>0 AND CROSS(MA(DDX,1),0);
(2)DDX1上传DDX3:
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
DDX1上穿DDX3:CROSS(MA(DDX,1),MA(DDX,3));
8. kda指标?
kda金叉是指以K线从下向上与d线交叉为例,K线上穿d线并形成有效的向上突破是金叉,为买入信号。
kda金叉使用技巧有:
1.K与D值永远介于0到100之间。D大于70时,行情呈现超买现象。D小于30时,行情呈现超卖现象。
2.上涨趋势中,K值小于D值,K线向上突破D线时,形成金叉,为买进信号。下跌趋势中,K大于D,K线向下跌破D线时,为卖出信号。
3.KD指标不仅能反映出市场的超买超卖程度,还能通过交叉突破发出买卖信号。
4.KD指标不适于发行量小、交易不活跃的股票,但是KD指标对大盘和热门大盘股有极高准确性。
5.当随机指标与股价出现背离时,一般为转势的信号。
6.K值和D值上升或者下跌的速度减弱,倾斜度趋于平缓是短期转势的预警信号。
9. kda指标?
kda金叉是指以K线从下向上与d线交叉为例,K线上穿d线并形成有效的向上突破是金叉,为买入信号。
kda金叉使用技巧有:
1.K与D值永远介于0到100之间。D大于70时,行情呈现超买现象。D小于30时,行情呈现超卖现象。
2.上涨趋势中,K值小于D值,K线向上突破D线时,形成金叉,为买进信号。下跌趋势中,K大于D,K线向下跌破D线时,为卖出信号。
3.KD指标不仅能反映出市场的超买超卖程度,还能通过交叉突破发出买卖信号。
4.KD指标不适于发行量小、交易不活跃的股票,但是KD指标对大盘和热门大盘股有极高准确性。
5.当随机指标与股价出现背离时,一般为转势的信号。
6.K值和D值上升或者下跌的速度减弱,倾斜度趋于平缓是短期转势的预警信号。
10. 如何利用DDX1选股?
(1)DDX1上穿0轴的选股公式:
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
DDX1上穿0轴:DDX>0 AND CROSS(MA(DDX,1),0);
(2)DDX1上传DDX3:
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
DDX1上穿DDX3:CROSS(MA(DDX,1),MA(DDX,3));
11. kd公式源码?
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
1.K线由右边向下交叉D值做卖,K线由右边向上交叉D值做买;
⒉.高档连续二次向下交叉确认跌势,低挡连续二次向上交叉确认涨势;3.D值<20%超卖,D值>80%超买;
4.KD值于50%左右徘徊或交叉时,无意义;5.投机性太强的个股不适用;
6.可观察KD值同股价的背离,以确认高低点。
12. kd指标源码公式?
以下是通达信彩色KD指标KD共振公式源码(无源码的请下载附件导入)
通达信彩色KD指标KD共振公式源码
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR13,3,1);
D13:SMA(K13,3,1);
DRAWBAND(K13,RGB(255,255,0),D13,RGB(0,255,0));
{STICKLINE(K13>D13,K13,D13,8,0),COLOR0055AA;
STICKLINE(K13>D13,K13,D13,5,0),COLOR0077CC;
STICKLINE(K13>D13,K13,D13,3,0),COLOR0099DD;
STICKLINE(K13>D13,K13,D13,1,0),COLOR01BEE7;
STICKLINE(K13<=D13,K13,D13,8,0),COLOR006600;
STICKLINE(K13<=D13,K13,D13,5,0),COLOR009900;
STICKLINE(K13<=D13,K13,D13,3,0),COLOR00BB00;
STICKLINE(K13<=D13,K13,D13,1,0),COLOR00CC00;}
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:SMA(VAR55,3,1);
D55:SMA(K55,3,1);
DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,0,255));
{STICKLINE(K55>D55,K55,D55,7,0),COLOR000045;
STICKLINE(K55>D55,K55,D55,5,0),COLOR000085;
STICKLINE(K55>D55,K55,D55,3,0),COLOR0000C5;
STICKLINE(K55>D55,K55,D55,1,0),COLOR0000E5;
STICKLINE(K55<=D55,K55,D55,7,0),COLOR353500;
STICKLINE(K55<=D55,K55,D55,5,0),COLOR555500;
STICKLINE(K55<=D55,K55,D55,3,0),COLOR757500;
STICKLINE(K55<=D55,K55,D55,1,0),COLOR858500;}
20,COLORWHITE;
80,COLORWHITE;
DIBU:= K13<20 AND D13<20 AND K55<20 AND D55<20;
STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
TOBU:= K13>80 AND D13>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
13. 超准kd指标公式源码?
输出INPUT:N(45),M(10),M1(4),N1(14)
RSV赋值:(收盘价-N日内最低价的最低值)/(N日内最高价的最高值-N日内最低价的最低值)*100
K赋值:RSV的M日[8日权重]移动平均
D赋值:K的M1日[1日权重]移动平均
J赋值:(3*K-2*D)
MID赋值:D的N1日简单移动平均
输出AD:(RSV-MID)/MID*100, COLORSTICK
输出AD1:(RSV-MID)/MID*100,画白色,线宽为1
输出活跃界:50,POINTDOT,画绿色
输出SX:110,POINTDOT,画红色
输出DX:200,POINTDOT,画黄色
14. kd公式源码?
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
1.K线由右边向下交叉D值做卖,K线由右边向上交叉D值做买;
⒉.高档连续二次向下交叉确认跌势,低挡连续二次向上交叉确认涨势;3.D值<20%超卖,D值>80%超买;
4.KD值于50%左右徘徊或交叉时,无意义;5.投机性太强的个股不适用;
6.可观察KD值同股价的背离,以确认高低点。
15. 超准kd指标公式源码?
输出INPUT:N(45),M(10),M1(4),N1(14)
RSV赋值:(收盘价-N日内最低价的最低值)/(N日内最高价的最高值-N日内最低价的最低值)*100
K赋值:RSV的M日[8日权重]移动平均
D赋值:K的M1日[1日权重]移动平均
J赋值:(3*K-2*D)
MID赋值:D的N1日简单移动平均
输出AD:(RSV-MID)/MID*100, COLORSTICK
输出AD1:(RSV-MID)/MID*100,画白色,线宽为1
输出活跃界:50,POINTDOT,画绿色
输出SX:110,POINTDOT,画红色
输出DX:200,POINTDOT,画黄色
16. 如何利用DDX1选股?
(1)DDX1上穿0轴的选股公式:
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
DDX1上穿0轴:DDX>0 AND CROSS(MA(DDX,1),0);
(2)DDX1上传DDX3:
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
DDX1上穿DDX3:CROSS(MA(DDX,1),MA(DDX,3));
17. kdj指标公式源码?
KDJ指标公式源码:
参数:N:=9; M1:=3; M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
周K:=MA("KDJ.K#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORRED;
周D:=MA("KDJ.D#WEEK"(N,M1,M2) ,5),LINETHICK1,COLOR33FF99;
周J:=MA("KDJ.J#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORMAGENTA;
月K:MA("KDJ.K#MONTH"(N,M1,M2),5),LINETHICK1,COLORFF00FF;
月D:MA("KDJ.D#MONTH"(N,M1,M2),5),LINETHICK1,COLOR00FF00;
月J:=MA("KDJ.J#MONTH"(N,M1,M2),5),LINETHICK1,COLORFFFFFF;
DRAWBAND(月K,RGB(100,0,100),月D,RGB(120,120,120));
STICKLINE(周K>=周D,周K,周D,1,0),COLOR6666FF;
STICKLINE(周K<周D,周K,周D,1,1),COLOR00FFFF;
STICKLINE(C>0,115,120,2,1),COLOR00FFFF;
STICKLINE(C>0,-15,-20,2,1),COLORFFFF88;
STICKLINE(周K>=周D,110,120,2,0),COLOR6666FF;
STICKLINE(月K>=月D,-10,-20,2,0),COLOR660099;
STICKLINE(C>0,48,52,2,1),COLORFFFFFF;
STICKLINE(周K>=周D AND 月K>=月D,42,58,2,1),COLORRED;
STICKLINE(月K<月D AND 周K>=周D,44,56,2,1),COLORFF00FF;
STICKLINE(月K>=月D AND 周K<周D,46,54,2,1),COLOR00FF00;
STICKLINE(CURRBARSCOUNT=88,10,90,99,0),COLOR222255;
STICKLINE(CURRBARSCOUNT=88,100,90,99,0),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=92,95,'中间彩柱'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=8,110,'周KD金叉'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=8,-10,'月KD交叉'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=98,20,'月死叉周死叉--全退--白色'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=98,40,'月金叉周死叉--减仓--绿色'),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=98,60,'月死叉周金叉--反弹--粉色'),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=98,80,'月金叉周金叉--持股--红色'),COLORRED;
18. kd公式源码?
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
1.K线由右边向下交叉D值做卖,K线由右边向上交叉D值做买;
⒉.高档连续二次向下交叉确认跌势,低挡连续二次向上交叉确认涨势;3.D值<20%超卖,D值>80%超买;
4.KD值于50%左右徘徊或交叉时,无意义;5.投机性太强的个股不适用;
6.可观察KD值同股价的背离,以确认高低点。
19. kd指标源码公式?
以下是通达信彩色KD指标KD共振公式源码(无源码的请下载附件导入)
通达信彩色KD指标KD共振公式源码
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR13,3,1);
D13:SMA(K13,3,1);
DRAWBAND(K13,RGB(255,255,0),D13,RGB(0,255,0));
{STICKLINE(K13>D13,K13,D13,8,0),COLOR0055AA;
STICKLINE(K13>D13,K13,D13,5,0),COLOR0077CC;
STICKLINE(K13>D13,K13,D13,3,0),COLOR0099DD;
STICKLINE(K13>D13,K13,D13,1,0),COLOR01BEE7;
STICKLINE(K13<=D13,K13,D13,8,0),COLOR006600;
STICKLINE(K13<=D13,K13,D13,5,0),COLOR009900;
STICKLINE(K13<=D13,K13,D13,3,0),COLOR00BB00;
STICKLINE(K13<=D13,K13,D13,1,0),COLOR00CC00;}
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:SMA(VAR55,3,1);
D55:SMA(K55,3,1);
DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,0,255));
{STICKLINE(K55>D55,K55,D55,7,0),COLOR000045;
STICKLINE(K55>D55,K55,D55,5,0),COLOR000085;
STICKLINE(K55>D55,K55,D55,3,0),COLOR0000C5;
STICKLINE(K55>D55,K55,D55,1,0),COLOR0000E5;
STICKLINE(K55<=D55,K55,D55,7,0),COLOR353500;
STICKLINE(K55<=D55,K55,D55,5,0),COLOR555500;
STICKLINE(K55<=D55,K55,D55,3,0),COLOR757500;
STICKLINE(K55<=D55,K55,D55,1,0),COLOR858500;}
20,COLORWHITE;
80,COLORWHITE;
DIBU:= K13<20 AND D13<20 AND K55<20 AND D55<20;
STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
TOBU:= K13>80 AND D13>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
20. 超准kd指标公式源码?
输出INPUT:N(45),M(10),M1(4),N1(14)
RSV赋值:(收盘价-N日内最低价的最低值)/(N日内最高价的最高值-N日内最低价的最低值)*100
K赋值:RSV的M日[8日权重]移动平均
D赋值:K的M1日[1日权重]移动平均
J赋值:(3*K-2*D)
MID赋值:D的N1日简单移动平均
输出AD:(RSV-MID)/MID*100, COLORSTICK
输出AD1:(RSV-MID)/MID*100,画白色,线宽为1
输出活跃界:50,POINTDOT,画绿色
输出SX:110,POINTDOT,画红色
输出DX:200,POINTDOT,画黄色
21. kdj指标公式源码?
KDJ指标公式源码:
参数:N:=9; M1:=3; M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
周K:=MA("KDJ.K#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORRED;
周D:=MA("KDJ.D#WEEK"(N,M1,M2) ,5),LINETHICK1,COLOR33FF99;
周J:=MA("KDJ.J#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORMAGENTA;
月K:MA("KDJ.K#MONTH"(N,M1,M2),5),LINETHICK1,COLORFF00FF;
月D:MA("KDJ.D#MONTH"(N,M1,M2),5),LINETHICK1,COLOR00FF00;
月J:=MA("KDJ.J#MONTH"(N,M1,M2),5),LINETHICK1,COLORFFFFFF;
DRAWBAND(月K,RGB(100,0,100),月D,RGB(120,120,120));
STICKLINE(周K>=周D,周K,周D,1,0),COLOR6666FF;
STICKLINE(周K<周D,周K,周D,1,1),COLOR00FFFF;
STICKLINE(C>0,115,120,2,1),COLOR00FFFF;
STICKLINE(C>0,-15,-20,2,1),COLORFFFF88;
STICKLINE(周K>=周D,110,120,2,0),COLOR6666FF;
STICKLINE(月K>=月D,-10,-20,2,0),COLOR660099;
STICKLINE(C>0,48,52,2,1),COLORFFFFFF;
STICKLINE(周K>=周D AND 月K>=月D,42,58,2,1),COLORRED;
STICKLINE(月K<月D AND 周K>=周D,44,56,2,1),COLORFF00FF;
STICKLINE(月K>=月D AND 周K<周D,46,54,2,1),COLOR00FF00;
STICKLINE(CURRBARSCOUNT=88,10,90,99,0),COLOR222255;
STICKLINE(CURRBARSCOUNT=88,100,90,99,0),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=92,95,'中间彩柱'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=8,110,'周KD金叉'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=8,-10,'月KD交叉'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=98,20,'月死叉周死叉--全退--白色'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=98,40,'月金叉周死叉--减仓--绿色'),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=98,60,'月死叉周金叉--反弹--粉色'),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=98,80,'月金叉周金叉--持股--红色'),COLORRED;
22. 如何利用DDX1选股?
(1)DDX1上穿0轴的选股公式:
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
DDX1上穿0轴:DDX>0 AND CROSS(MA(DDX,1),0);
(2)DDX1上传DDX3:
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
DDX1上穿DDX3:CROSS(MA(DDX,1),MA(DDX,3));
23. 超准kd指标公式源码?
输出INPUT:N(45),M(10),M1(4),N1(14)
RSV赋值:(收盘价-N日内最低价的最低值)/(N日内最高价的最高值-N日内最低价的最低值)*100
K赋值:RSV的M日[8日权重]移动平均
D赋值:K的M1日[1日权重]移动平均
J赋值:(3*K-2*D)
MID赋值:D的N1日简单移动平均
输出AD:(RSV-MID)/MID*100, COLORSTICK
输出AD1:(RSV-MID)/MID*100,画白色,线宽为1
输出活跃界:50,POINTDOT,画绿色
输出SX:110,POINTDOT,画红色
输出DX:200,POINTDOT,画黄色
24. 求助老师仿写一个牛市波段王指标,万分?
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; XG:REF(J,1)
25. 求助老师仿写一个牛市波段王指标,万分?
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; XG:REF(J,1)
26. kd公式源码?
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
1.K线由右边向下交叉D值做卖,K线由右边向上交叉D值做买;
⒉.高档连续二次向下交叉确认跌势,低挡连续二次向上交叉确认涨势;3.D值<20%超卖,D值>80%超买;
4.KD值于50%左右徘徊或交叉时,无意义;5.投机性太强的个股不适用;
6.可观察KD值同股价的背离,以确认高低点。
27. kda指标?
kda金叉是指以K线从下向上与d线交叉为例,K线上穿d线并形成有效的向上突破是金叉,为买入信号。
kda金叉使用技巧有:
1.K与D值永远介于0到100之间。D大于70时,行情呈现超买现象。D小于30时,行情呈现超卖现象。
2.上涨趋势中,K值小于D值,K线向上突破D线时,形成金叉,为买进信号。下跌趋势中,K大于D,K线向下跌破D线时,为卖出信号。
3.KD指标不仅能反映出市场的超买超卖程度,还能通过交叉突破发出买卖信号。
4.KD指标不适于发行量小、交易不活跃的股票,但是KD指标对大盘和热门大盘股有极高准确性。
5.当随机指标与股价出现背离时,一般为转势的信号。
6.K值和D值上升或者下跌的速度减弱,倾斜度趋于平缓是短期转势的预警信号。
28. 求助老师仿写一个牛市波段王指标,万分?
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; XG:REF(J,1)