分时高低
2014-11-27 13:43:13点击:
分时操作,依据三条高中底界限,显示高抛低吸的操作方法。
VAR1:=LLV(LOW,100);
VAR2:=HHV(HIGH,250);
操盘线: EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4);
绝底:0.3,LINETHICK2,COLOR0000FF;
绝顶:3.5,LINETHICK2,COLORFF00FF;
分界:2,COLOR00FFFF;
DRAWTEXT(CROSS(操盘线,绝底),0.00,' 买!'), coloryellow, ;
DRAWTEXT(CROSS(操盘线,绝顶),3.8,'出货'), coloryellow, ;