龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2020-4-21 14:25

同花顺KDJ浪柱指标公式

[code]  R:=(C-LLV(L,19))/(HHV(H,19)-LLV(L,19))*10;

  R1:=(R-0.5)/2.5*EMA(C,15)/2;

  R2:=MA(CLOSE,5);

  R3:=MA(CLOSE,10);

  R4:=MA(CLOSE,20);

  R5:=MA(CLOSE,30);

  R6:=(R2+R3+R4+R5)/(4);

  R7:=((R6-REF(R6,15))/(REF(R6,15)))*(100);

  R9:=EMA(R7,8);

  R10:=SMA(R1,3,1);

  R11:=SMA(R10,3,1);

  R12:=R10*3-R11*2;

  K:R10+EMA(C,10),color0000FF;

  D:R11+EMA(C,10),color00FF00;

  J:R12+EMA(C,10),color00FFFF;

  STICKLINE(R7>1*REF(R7, 1), R7, R9, 5, 0), colorred;

  STICKLINE(R7<1*REF(R7, 1), R7, R9, 5, 1), colorgreen;

  买进: IF(CROSS(J,D),8,-5),color00FFFF;

  买入:IF((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),10,(-5)), colorred;
[/code]

页: [1]