九毛八公式指标
源码如下; WR1:110*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10)); WR2:110*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2)); G:BARSLAST(CROSS(WR1,WR2))/2+12; DRAWTEXT(CROSS(WR2,G),G,'出 ')COLORGREEN; DRAWTEXT(CROSS(G,WR2),G,'进 ')COLORRED;
公式模块:
cross(barslast(cross(110*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10)),110*(hhv(high,2)-close)/(hhv(high,2)-llv(low,2))))/2+12,110*(hhv(high,2)-close)/(hhv(high,2)-llv(low,2)));