通达信指标公式:通达信KDJ改良划线副图指标公式
2016-5-18 10:59:32 股票入门 http://rumen.southmoney.com
通达信指标公式:通达信KDJ改良划线副图指标公式 附:通达信短期顶底副图公式源码 南方财富网小编为您提供
【通达信KDJ改良划线副图指标公式】
N:=9;M1:=3;M2:=3;
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2;
K:SMA(RSV,3,1),LINETHICK1;
D:SMA(K,3,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK2;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(J>100,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,2),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
中:50,LINETHICK1,COLORC0C0C0;
必买: IF(TROUGHBARS(3,15,1)=1 AND HIGH>LOW+0.01,20,-1),COLORYELLOW ,LINETHICK1;
必卖: IF(PEAKBARS(3,15,1)=1,80,100),COLORGREEN,LINETHICK1;
附:【通达信短期顶底副图公式源码】
趋势线:3*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,5,1),3,1), COLOR000000; 见底信号1:10,COLOR3C3317; 见底信号2:5,LINETHICK2,COLOR3C3317; 见顶信号2:95,LINETHICK2,COLOR3C3317; 见顶信号1:90,LINETHICK1,COLOR3C3317; 强弱分界:50,LINETHICK1,COLORBLUE; 短线顶部:77,LINETHICK1,DOTLINE,COLORYELLOW; 买点准备: IF(趋势线<=10,10,0),STICK ,LINETHICK4,COLOR5D5DFF; 短线底部:23,LINETHICK1,DOTLINE,COLORYELLOW; STICKLINE(趋势线,趋势线,0,1,0),COLOR3C3317; 股价趋势: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0; 底部警戒: 10,COLORFFBB66,LINETHICK1,DOTLINE; 买入信号: STICKLINE(CROSS(股价趋势,底部警戒),0,15,3,0),COLOR9932CD,LINETHICK4; 顶部警戒: 100,COLORFFBB66,LINETHICK1,DOTLINE; 卖出警戒:STICKLINE(股价趋势>=85,100,80,2,0),STICK,COLORF00FF0,LINETHICK2; 止损出局:STICKLINE(CROSS(顶部警戒,股价趋势),100,85,3,0),COLORFFF666,LINETHICK4; 突击套利线:=14; 套利阻力线:=78.89; V1:=AMOUNT/VOL/100; V2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; V3:=SUM(AMOUNT,7)/V1/100; V4:=DMA(V2,VOL/V3); V5:=(CLOSE-V4)/V4*100; V6:=MA(V5,13)+STD(V5,13); BIAS13:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; STICKLINE(REF(BIAS13,1)>=5 AND CROSS(V6,V5) AND REF("KDJ.J"(13,3,3),1) >80 AND REF("KDJ.J"(9,3,3),1)>80,90,85,2,0),COLOR00FF00; 强势线:90,COLOR545454,DOTLINE; 中轴线: 50,COLOR545454,DOTLINE; 弱势线:10,COLOR545454,DOTLINE; 趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); 见底:=10; 见顶:=90; 短期底部:=CROSS(趋势,见底),COLORRED; STICKLINE(短期底部,4,10,4,0),COLORRED; DRAWTEXT(CROSS(趋势,见底),10,'底'); 短期顶部:=CROSS(见顶,趋势),COLORGREEN; STICKLINE(短期顶部,4,10,4,0),COLORGREEN; DRAWTEXT(CROSS(见顶,趋势),10,'顶'),COLORYELLOW; AA:=(O+H+L+C)/4; BB:=MA(AA,3); CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4); DD:=REF(100-(100/(1+CC)),1); A1:=HHV(AA,15); A2:=LLV(AA,15); A3:=A1-A2; A4:=EMA((AA-A2)/A3,2)*100; B1:=HHV(AA,60); B2:=LLV(AA,60); B3:=B1-B2; B4:=EMA((AA-B2)/B3,2)*100; C1:=HHV(AA,240); C2:=LLV(AA,240); C3:=C1-C2; C4:=EMA((AA-C2)/C3,2)*100; 短期:A4,COLORFF6EC7,DOTLINE; 中期:B4,COLOR32CD32,DOTLINE; 长期:C4,COLOREBC79E,DOTLINE; D1:=中期>REF(中期,1)AND 短期>REF(短期,1)AND 长期>REF(长期,1)AND 长期<8 AND 中期<10 AND 短期<15; D2:=CROSS(短期,中期)AND 中期<8; D3:=CROSS(短期,长期)AND 长期<8 AND 中期<20; DRAWICON(FILTER((D1 OR D2 OR D3) AND DD<15 AND C>REF(C,1),5),5,34); DRAWICON(FILTER((中期<REF(中期,1)AND 短期<REF(短期,1)AND 长期<REF(长期,1)AND 中期>95 AND 短期>85)OR (长期>100 AND 中期>100 AND 短期>100),5),95,35); 顶部:100,COLOREBC79E; 底部:0,COLOREBC79E; VAR8:=LLV(LOW,21); VAR9:=HHV(HIGH,21); K:EMA((CLOSE-VAR8)/(VAR9-VAR8)*100,6),COLORYELLOW,LINETHICK1; D:EMA(0.667*REF(K,1)+0.333*K,2),COLORFF2400,LINETHICK2; DRAWTEXT(CROSS(K,D) AND K<15,10,'起'); DRAWTEXT(CROSS(D,K) AND D>82,85,'头'); LC:=REF(CLOSE,1); VA:=SMA(MAX(CLOSE-LC,0),25,5)/SMA(ABS(CLOSE-LC),25,5)*100; 顶部1:CROSS(80,VA)*5,LINETHICK2 ,COLORCD7F32; DRAWTEXT(CROSS(80,VA),5,'顶 '),COLORCD7F32; TYP := (HIGH + LOW + CLOSE)/3; V11:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),14)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),14); V12:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),55)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),55);
更多通达信指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。