首页 > 问答热点>正文

买卖点操盘线指标源码(kdj指标源码?)

中亿财经网 gengxing 2023-07-27 17:27:07

1. kdj指标源码?

首先与基本的kdj指标类似,有K/d/j三条指标线的走势变化,还有一种尖角指示的指标线在个股的走势过程中,标注出指标线提示的买卖点位置,具体的源码如下:1ff中亿财经网财经门户

  D:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,20);1ff中亿财经网财经门户

  J:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5);1ff中亿财经网财经门户

  BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;1ff中亿财经网财经门户

  BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;1ff中亿财经网财经门户

  BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;1ff中亿财经网财经门户

  八字KDJ4:EMA(D,3),COLOR00FF00,LINETHICK2;1ff中亿财经网财经门户

  M:EMA(J,7),COLORWHITE,LINETHICK2;1ff中亿财经网财经门户

  八字KDJ: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)1ff中亿财经网财经门户

  -2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)1ff中亿财经网财经门户

  -50)*1.032+50),COLORRED,LINETHICK2;1ff中亿财经网财经门户

  买线:=EMA(C,2);1ff中亿财经网财经门户

  卖线:=EMA(SLOPE(C,21)*20+C,42);1ff中亿财经网财经门户

  STICKLINE(买线>=卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),1ff中亿财经网财经门户

  COLORWHITE;1ff中亿财经网财经门户

  STICKLINE(买线<卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),1ff中亿财经网财经门户

八字kdj操盘图走势1ff中亿财经网财经门户

  COLORYELLOW;1ff中亿财经网财经门户

  VAR1:=1;1ff中亿财经网财经门户

  VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;1ff中亿财经网财经门户

  VAR3:=LLV(LOW,34);1ff中亿财经网财经门户

  VAR4:=HHV(HIGH,34);1ff中亿财经网财经门户

  RR:=EMA(EMA(CLOSE,9),9);1ff中亿财经网财经门户

  控盘:=(RR-REF(RR,1))/REF(RR,1)*1000;1ff中亿财经网财经门户

  A10:=CROSS(控盘,0);1ff中亿财经网财经门户

  买两股:IF(A10,50,0),LINETHICK1,COLORYELLOW;1ff中亿财经网财经门户

  AR1:=PEAKBARS(3,15,1)<10;1ff中亿财经网财经门户

  AR2:=IF(AR1=1,2,0);1ff中亿财经网财经门户

  顶:= IF(AR2=2,2,0);1ff中亿财经网财经门户

  卖出好:IF(顶>REF(顶,1),50,0),COLORWHITE;1ff中亿财经网财经门户

  DRAWTEXT(卖出好=45,50,'快走'),COLORRED;1ff中亿财经网财经门户

  买: (ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)1ff中亿财经网财经门户

  *50,STICK,COLORMAGENTA,LINETHICK3;1ff中亿财经网财经门户

  卖: (ZIG(3,35)REF(ZIG(3,35),2))1ff中亿财经网财经门户

  *50,STICK,COLORLIBLUE,LINETHICK3;1ff中亿财经网财经门户

  VAR21:=MA(CLOSE,80)-(MA(CLOSE,13))/(3);1ff中亿财经网财经门户

  VAR22:=MA((CLOSE-VAR21)/(VAR21),1);1ff中亿财经网财经门户

  VAR23:=(EMA(VAR22,12))*(0.69999998);1ff中亿财经网财经门户

  VAR24:=EMA(VAR22,3);1ff中亿财经网财经门户

  VAR25:=IF((LLV(VAR24-VAR23,12)>0),0,(-30));1ff中亿财经网财经门户

  VAR26:=FILTER((COUNT((VAR25<(-20)),3)=3),34);1ff中亿财经网财经门户

  快全买:IF(VAR26,50,0),COLORLICYAN;1ff中亿财经网财经门户

  顶线:100,COLORRED;1ff中亿财经网财经门户

  底线:0,COLORGREEN;1ff中亿财经网财经门户

2. kdj指标源码?

首先与基本的kdj指标类似,有K/d/j三条指标线的走势变化,还有一种尖角指示的指标线在个股的走势过程中,标注出指标线提示的买卖点位置,具体的源码如下:1ff中亿财经网财经门户

  D:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,20);1ff中亿财经网财经门户

  J:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5);1ff中亿财经网财经门户

  BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;1ff中亿财经网财经门户

  BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;1ff中亿财经网财经门户

  BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;1ff中亿财经网财经门户

  八字KDJ4:EMA(D,3),COLOR00FF00,LINETHICK2;1ff中亿财经网财经门户

  M:EMA(J,7),COLORWHITE,LINETHICK2;1ff中亿财经网财经门户

  八字KDJ: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)1ff中亿财经网财经门户

  -2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)1ff中亿财经网财经门户

  -50)*1.032+50),COLORRED,LINETHICK2;1ff中亿财经网财经门户

  买线:=EMA(C,2);1ff中亿财经网财经门户

  卖线:=EMA(SLOPE(C,21)*20+C,42);1ff中亿财经网财经门户

  STICKLINE(买线>=卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),1ff中亿财经网财经门户

  COLORWHITE;1ff中亿财经网财经门户

  STICKLINE(买线<卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),1ff中亿财经网财经门户

八字kdj操盘图走势1ff中亿财经网财经门户

  COLORYELLOW;1ff中亿财经网财经门户

  VAR1:=1;1ff中亿财经网财经门户

  VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;1ff中亿财经网财经门户

  VAR3:=LLV(LOW,34);1ff中亿财经网财经门户

  VAR4:=HHV(HIGH,34);1ff中亿财经网财经门户

  RR:=EMA(EMA(CLOSE,9),9);1ff中亿财经网财经门户

  控盘:=(RR-REF(RR,1))/REF(RR,1)*1000;1ff中亿财经网财经门户

  A10:=CROSS(控盘,0);1ff中亿财经网财经门户

  买两股:IF(A10,50,0),LINETHICK1,COLORYELLOW;1ff中亿财经网财经门户

  AR1:=PEAKBARS(3,15,1)<10;1ff中亿财经网财经门户

  AR2:=IF(AR1=1,2,0);1ff中亿财经网财经门户

  顶:= IF(AR2=2,2,0);1ff中亿财经网财经门户

  卖出好:IF(顶>REF(顶,1),50,0),COLORWHITE;1ff中亿财经网财经门户

  DRAWTEXT(卖出好=45,50,'快走'),COLORRED;1ff中亿财经网财经门户

  买: (ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)1ff中亿财经网财经门户

  *50,STICK,COLORMAGENTA,LINETHICK3;1ff中亿财经网财经门户

  卖: (ZIG(3,35)REF(ZIG(3,35),2))1ff中亿财经网财经门户

  *50,STICK,COLORLIBLUE,LINETHICK3;1ff中亿财经网财经门户

  VAR21:=MA(CLOSE,80)-(MA(CLOSE,13))/(3);1ff中亿财经网财经门户

  VAR22:=MA((CLOSE-VAR21)/(VAR21),1);1ff中亿财经网财经门户

  VAR23:=(EMA(VAR22,12))*(0.69999998);1ff中亿财经网财经门户

  VAR24:=EMA(VAR22,3);1ff中亿财经网财经门户

  VAR25:=IF((LLV(VAR24-VAR23,12)>0),0,(-30));1ff中亿财经网财经门户

  VAR26:=FILTER((COUNT((VAR25<(-20)),3)=3),34);1ff中亿财经网财经门户

  快全买:IF(VAR26,50,0),COLORLICYAN;1ff中亿财经网财经门户

  顶线:100,COLORRED;1ff中亿财经网财经门户

  底线:0,COLORGREEN;1ff中亿财经网财经门户

3. kdj指标源码?

首先与基本的kdj指标类似,有K/d/j三条指标线的走势变化,还有一种尖角指示的指标线在个股的走势过程中,标注出指标线提示的买卖点位置,具体的源码如下:1ff中亿财经网财经门户

  D:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,20);1ff中亿财经网财经门户

  J:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5);1ff中亿财经网财经门户

  BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;1ff中亿财经网财经门户

  BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;1ff中亿财经网财经门户

  BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;1ff中亿财经网财经门户

  八字KDJ4:EMA(D,3),COLOR00FF00,LINETHICK2;1ff中亿财经网财经门户

  M:EMA(J,7),COLORWHITE,LINETHICK2;1ff中亿财经网财经门户

  八字KDJ: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)1ff中亿财经网财经门户

  -2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)1ff中亿财经网财经门户

  -50)*1.032+50),COLORRED,LINETHICK2;1ff中亿财经网财经门户

  买线:=EMA(C,2);1ff中亿财经网财经门户

  卖线:=EMA(SLOPE(C,21)*20+C,42);1ff中亿财经网财经门户

  STICKLINE(买线>=卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),1ff中亿财经网财经门户

  COLORWHITE;1ff中亿财经网财经门户

  STICKLINE(买线<卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),1ff中亿财经网财经门户

八字kdj操盘图走势1ff中亿财经网财经门户

  COLORYELLOW;1ff中亿财经网财经门户

  VAR1:=1;1ff中亿财经网财经门户

  VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;1ff中亿财经网财经门户

  VAR3:=LLV(LOW,34);1ff中亿财经网财经门户

  VAR4:=HHV(HIGH,34);1ff中亿财经网财经门户

  RR:=EMA(EMA(CLOSE,9),9);1ff中亿财经网财经门户

  控盘:=(RR-REF(RR,1))/REF(RR,1)*1000;1ff中亿财经网财经门户

  A10:=CROSS(控盘,0);1ff中亿财经网财经门户

  买两股:IF(A10,50,0),LINETHICK1,COLORYELLOW;1ff中亿财经网财经门户

  AR1:=PEAKBARS(3,15,1)<10;1ff中亿财经网财经门户

  AR2:=IF(AR1=1,2,0);1ff中亿财经网财经门户

  顶:= IF(AR2=2,2,0);1ff中亿财经网财经门户

  卖出好:IF(顶>REF(顶,1),50,0),COLORWHITE;1ff中亿财经网财经门户

  DRAWTEXT(卖出好=45,50,'快走'),COLORRED;1ff中亿财经网财经门户

  买: (ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)1ff中亿财经网财经门户

  *50,STICK,COLORMAGENTA,LINETHICK3;1ff中亿财经网财经门户

  卖: (ZIG(3,35)REF(ZIG(3,35),2))1ff中亿财经网财经门户

  *50,STICK,COLORLIBLUE,LINETHICK3;1ff中亿财经网财经门户

  VAR21:=MA(CLOSE,80)-(MA(CLOSE,13))/(3);1ff中亿财经网财经门户

  VAR22:=MA((CLOSE-VAR21)/(VAR21),1);1ff中亿财经网财经门户

  VAR23:=(EMA(VAR22,12))*(0.69999998);1ff中亿财经网财经门户

  VAR24:=EMA(VAR22,3);1ff中亿财经网财经门户

  VAR25:=IF((LLV(VAR24-VAR23,12)>0),0,(-30));1ff中亿财经网财经门户

  VAR26:=FILTER((COUNT((VAR25<(-20)),3)=3),34);1ff中亿财经网财经门户

  快全买:IF(VAR26,50,0),COLORLICYAN;1ff中亿财经网财经门户

  顶线:100,COLORRED;1ff中亿财经网财经门户

  底线:0,COLORGREEN;1ff中亿财经网财经门户

4. kdj指标源码?

首先与基本的kdj指标类似,有K/d/j三条指标线的走势变化,还有一种尖角指示的指标线在个股的走势过程中,标注出指标线提示的买卖点位置,具体的源码如下:1ff中亿财经网财经门户

  D:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,20);1ff中亿财经网财经门户

  J:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5);1ff中亿财经网财经门户

  BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;1ff中亿财经网财经门户

  BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;1ff中亿财经网财经门户

  BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;1ff中亿财经网财经门户

  八字KDJ4:EMA(D,3),COLOR00FF00,LINETHICK2;1ff中亿财经网财经门户

  M:EMA(J,7),COLORWHITE,LINETHICK2;1ff中亿财经网财经门户

  八字KDJ: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)1ff中亿财经网财经门户

  -2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)1ff中亿财经网财经门户

  -50)*1.032+50),COLORRED,LINETHICK2;1ff中亿财经网财经门户

  买线:=EMA(C,2);1ff中亿财经网财经门户

  卖线:=EMA(SLOPE(C,21)*20+C,42);1ff中亿财经网财经门户

  STICKLINE(买线>=卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),1ff中亿财经网财经门户

  COLORWHITE;1ff中亿财经网财经门户

  STICKLINE(买线<卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),1ff中亿财经网财经门户

八字kdj操盘图走势1ff中亿财经网财经门户

  COLORYELLOW;1ff中亿财经网财经门户

  VAR1:=1;1ff中亿财经网财经门户

  VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;1ff中亿财经网财经门户

  VAR3:=LLV(LOW,34);1ff中亿财经网财经门户

  VAR4:=HHV(HIGH,34);1ff中亿财经网财经门户

  RR:=EMA(EMA(CLOSE,9),9);1ff中亿财经网财经门户

  控盘:=(RR-REF(RR,1))/REF(RR,1)*1000;1ff中亿财经网财经门户

  A10:=CROSS(控盘,0);1ff中亿财经网财经门户

  买两股:IF(A10,50,0),LINETHICK1,COLORYELLOW;1ff中亿财经网财经门户

  AR1:=PEAKBARS(3,15,1)<10;1ff中亿财经网财经门户

  AR2:=IF(AR1=1,2,0);1ff中亿财经网财经门户

  顶:= IF(AR2=2,2,0);1ff中亿财经网财经门户

  卖出好:IF(顶>REF(顶,1),50,0),COLORWHITE;1ff中亿财经网财经门户

  DRAWTEXT(卖出好=45,50,'快走'),COLORRED;1ff中亿财经网财经门户

  买: (ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)1ff中亿财经网财经门户

  *50,STICK,COLORMAGENTA,LINETHICK3;1ff中亿财经网财经门户

  卖: (ZIG(3,35)REF(ZIG(3,35),2))1ff中亿财经网财经门户

  *50,STICK,COLORLIBLUE,LINETHICK3;1ff中亿财经网财经门户

  VAR21:=MA(CLOSE,80)-(MA(CLOSE,13))/(3);1ff中亿财经网财经门户

  VAR22:=MA((CLOSE-VAR21)/(VAR21),1);1ff中亿财经网财经门户

  VAR23:=(EMA(VAR22,12))*(0.69999998);1ff中亿财经网财经门户

  VAR24:=EMA(VAR22,3);1ff中亿财经网财经门户

  VAR25:=IF((LLV(VAR24-VAR23,12)>0),0,(-30));1ff中亿财经网财经门户

  VAR26:=FILTER((COUNT((VAR25<(-20)),3)=3),34);1ff中亿财经网财经门户

  快全买:IF(VAR26,50,0),COLORLICYAN;1ff中亿财经网财经门户

  顶线:100,COLORRED;1ff中亿财经网财经门户

  底线:0,COLORGREEN;1ff中亿财经网财经门户