大智慧金牌WR副图指标
源码
N:=8;
WR:100-100*(HHV(HIGH,5*N)-CLOSE)/(HHV(HIGH,5*N)
-LLV(LOW,5*N)),COLORFFFFFF;
强弱分界线:50,POINTDOT,COLORFFFFCC;
-15,COLOR00FFFF,LINETHICK2;0,COLORFFFF33;
20,POINTDOT,COLOR00FF00;
80,POINTDOT,COLOR00FF00;
100,COLORFFFF33;
113,COLOR00FFFF,LINETHICK2;
V1:=LLV(LOW,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4);
底:IF(CROSS(价位线,0.3),20,0),COLOR33FF33;
DRAWTEXT(CROSS(价位线,0.3),-1,'底部区域'),COLOR33FF33;
顶:IF(CROSS(3.5,价位线),85,111),COLOR33FF33;
DRAWTEXT(CROSS(3.5,价位线),111,'顶部区域'),COLOR33FF33;