N:=4;
M:=2;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:EMA(RSV,M);
D:MA(K,M);
V10:=PEAKBARS(3,15,1)REF(头部,1),50,0),colorgreen,LINETHICK2;DRAWTEXT(卖,50,’卖 ‘),coloryellow;
V9:=TROUGHBARS(3,15,1)REF(底部,1),40,0),colorred,LINETHICK2; DRAWTEXT(买,40,’买 ‘),coloryellow;
顶线:85,colorgreen;
中线: 50,colorred;
底线:15,coloryellow;
VAR8:=VOL>2*MA(VOL,30);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSEREF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))
【股票投资】【同花顺】BSKDJ指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。