把(KDJ的另一用法)里的黄柱信号整合到另一副图
2020/1/31 18:14:57
公式编写说明:
(KDJ的另一用法)N:=8;LOWV:=LLV(LOW,N);HIGHV:=HHV(HIGH,N);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,2);K:EMA(RSV,2);D:MA(K,2);E:MA(D,3)LINETHICK2;TJA:=K<10 AND D<10 AND E<10 ;STICKLINE(TJA,100,20,1,0)COLORYELLOW;请老师把上面公式的黄柱信号整合到下面的公式里去.非常感谢.VAR1:=1;VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);低位金叉跟进:20;高位死叉小心:85,COLORFFFF00;VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,4);C1:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF;C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF;条件:=CROSS(C1,C2) AND C1<40;条件0:=CROSS(C2,C1) AND C1>85;DRAWICON(条件,20,5);DRAWICON(条件0,80,3);
公式源码示例:
VAR1:=1;
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
低位金叉跟进:20;
高位死叉小心:85,COLORFFFF00;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF;
C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF;
条件:=CROSS(C1,C2) AND C1<40;
条件0:=CROSS(C2,C1) AND C1>85;
DRAWICON(条件,20,5);
DRAWICON(条件0,80,3);
N:=8;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,2);
K:=EMA(RSV,2);
D:=MA(K,2);
E:=MA(D,3)LINETHICK2;TJA:=K<10 AND D<10 AND E<10 ;
STICKLINE(TJA,85,20,1,0),COLORYELLOW;
看股 吧公式 www.kangu ba.com
其它股票公式列表