KD指标K值上穿80时(条件),取当日最高价,向右画线,直到某日收盘价突破该价格画线结束。主图指标;

2024-12-05 13:51:50
推荐回答(1个)
回答(1):

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
TJ:IF(CROSS(K,80),1,0);
STICKLINE(TJ,H,H,400,0);
其实,我觉得用这样表达根直观一些:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
TJ:IF(CROSS(K,80),H,0);
STICKLINE(TJ,H,H,400,0);