1.请教通达信软件里怎么把KDJ指标的附图KD线去掉,只留那根J线?
2.大师辛苦一下可否把这两个指标合并为一个副图(通达信软件)
3.kd高低点对应股价之高低点怎么用公式表示?
请教通达信软件里怎么把KDJ指标的KD线去掉,只留那根J线?
你想把KDJ指标的KD线去掉,只留那根J线,就要修改公式。指标这种问题我太熟了,公式有2种解决方法介绍给你。源码天龙抢小源码第一步,式源鼠标单击KDJ副图公式一下
第二步,附图山东直播系统源码开发按Alt+s在出现的指标对话框中的D、K代码冒号后加等号=隐藏,公式就不会显示D、源码K线了。式源
方法二:由于KDJ是附图系统公式,修改后会提示你下次启动就会还原。指标如果不想每次使用就修改,公式虚拟数据中心源码就把KDJ全部代码和参数抄一遍,源码做在你自定义的式源新建公式里,比如“KDJ2”
第一步,场所码溯源码山东按Ctrl+F调出公式管理器,选其它类型
第二步,新建
第三步,如何查看体育直播源码抄写代码
就是这些啦,整理不易,看完记得点个赞再走呀~
大师辛苦一下可否把这两个指标合并为一个副图(通达信软件)
{ 第一个指标}
DIF1:=EMA(CLOSE,) - EMA(CLOSE,);
DEA1:=EMA(DIF1,9);
MACD1:=2*(DIF1-DEA1),STICK;
MACD2:=EMA(MACD1,3);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0,0),COLORFFF0;
STICKLINE(MACD1<MACD2,0,MACD1,0,0),COLORCYAN;
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,,1),COLORWHITE;
DIFF:DIF1,COLORFF;
DEA2:DEA1,COLORYELLOW;
MACD:MACD1,NODRAW,COLORMAGENTA;
低位金叉:= CROSS(DIFF,DEA2) AND DIFF<(-0.1);
STICKLINE(低位金叉,0,-0.3,1,0),COLORFFFF;
DRAWTEXT(低位金叉,-0.3,' 低位金叉'),COLORFFFF;
JCCOUNT:= COUNT(CROSS(DIFF,DEA2),BARSLAST(DEA2>=0));
二次金叉:= CROSS(DIFF,DEA2) AND DEA2<0 AND COUNT(JCCOUNT=2,)=1;
STICKLINE(二次金叉,0,-0.,1,0),COLORFFFF;
DRAWICON(二次金叉,DEA2*1.,1),COLORFF;
DRAWTEXT(二次金叉,-0.,' 二次金叉'),COLORFFFF;
AD1:= BARSLAST(REF(CROSS(DIFF,DEA2),1));
M底背离:= REF(CLOSE,AD1+1)>CLOSE AND DIFF>REF(DIFF,AD1+1) AND CROSS(DIFF,DEA2);
STICKLINE(M底背离,0,0.,1,0),COLORFF;
DRAWLINE(AD1=0,DEA2,M底背离,DEA2,0),LINETHICK3,COLORWHITE;
DRAWTEXT(M底背离,0.,' M底背离'),COLORFF;
AD2:= BARSLAST(REF(CROSS(DEA2,DIFF),1));
M顶背离:= REF(CLOSE,AD2+1)<CLOSE AND REF(DIFF,AD2+1)>DIFF AND CROSS(DEA2,DIFF);
DRAWLINE(AD2=0,DEA2,M顶背离,DEA2,0),LINETHICK3,COLORBLUE;
AA:=C>REF(C,4);
NT:=BARSLASTCOUNT(AA);
TJ:=NT=9;
TJ:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(TJ>0,9) OR BACKSET(TJ>0,NT))*NT;
DRAWTEXT(AY>0,MACD*1.,VAR2STR(AY,0)),COLORLIRED;
DRAWTEXT(NT=9,MACD*1.,'9'),COLORGREEN;
B1:=C;
NT0:=BARSLASTCOUNT(B1);
TJ:=NT0=9 ;
TJ:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ>0,9) OR BACKSET(TJ>0,NT0))*NT0;
DRAWTEXT(AY1>0,MACD*0.,VAR2STR(AY1,0)),COLORGREEN;
DRAWTEXT(NT0=9,MACD*0.,'9'),COLORRED;
DRAWICON(CROSS(DEA1,DIF1),DEA1,2);
{ 第二个指标参数把KD线关闭了}
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*,3);
K:=EMA(RSV,3);
D:=MA(K,3);
STICKLINE(K>D,K,D,2.5,0),COLORRED,LINETHICK1,NODRAW;
STICKLINE(D>K,K,D,2.5,0),COLORGREEN,LINETHICK1,NODRAW;
A1:=BARSLAST(REF(CROSS(K,D),1));
底背离:REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);
DRAWLINE(A1=0,1.2,底背离,1.5,0),COLORRED,LINETHICK2;
A2:=BARSLAST(REF(CROSS(D,K),1));
顶背离:REF(CLOSE,A2+1)<CLOSE AND REF(D,A2+1)>D AND CROSS(D,K);
DRAWLINE(A2=0,1.2,顶背离,1.5,0),COLORGREEN,LINETHICK2;
DRAWTEXT(底背离>0,1.2,'底背离'),COLORRED;
DRAWTEXT(顶背离>0,1.3,'顶背离'),COLORGREEN;
kd高低点对应股价之高低点怎么用公式表示?
你说的kd高低点对应的股价是kd指标吗,是下图这样的效果吗,用kd指标判断高低并在高低位置显示价格效果如图。副图是kd指标主图就是根据kd指标判断出的高低点并显示出对应的价格。2024-12-29 00:48
2024-12-29 00:43
2024-12-29 00:35
2024-12-29 00:11
2024-12-28 23:27
2024-12-28 23:16
2024-12-28 23:15
2024-12-28 22:53