买卖强弱(强弱方向、买卖力道)介绍
买卖强弱(强弱方向、买卖力道)
买卖强弱(强弱方向、买卖力道)-指标公式源码
VAR1:=REF(CLOSE,1);
强弱方向:SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100,COLORYELLOW;
{80, POINTDOT,COLORBLUE,LINETHICK2;
70, POINTDOT,COLORWHITE,LINETHICK2;
20, POINTDOT,COLORGREEN,LINETHICK2;
10, POINTDOT,COLORBLUE,LINETHICK2};
买卖力道: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,3,1)-2*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,3,1),COLORRED;
{DRAWTEXT(CROSS(买卖力道,80) AND 强弱方向>50,80,'买'),COLORYELLOW;};
gd14263