九毛八公式指标
写一个压力线和支撑线之间距离很小 做个预警选股公式 谢谢 压力线和支撑线之间距离为百分之2一下(压力线和支撑线之间距离可调为最好) 谢谢 N:=30; STICKLINE(CLOSE
公式模块:
N:=30;
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; RSV12:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; K12:=SMA(RSV12,3,1); D12:=SMA(K12,3,1); J12:=3*K12-2*D12; RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K24:=SMA(RSV24,3,1); D24:=SMA(K24,3,1); J24:=3*K24-2*D24; 压力位:=IF(crOSS(J24,J),H,REF(H,BArslAST(CROSS(J24,J)))); 支撑位:=IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24)))); 距离:=2; 压力位/支撑位<REF(压力位/支撑位,1) AND 压力位/支撑位<=1+距离/100;