VAR1:=LLV(LOW,100); VAR2:=HHV(HIGH,250); 操盘线: Ema((CLOSE-VAR1)/(VAR2-VAR1)*4,4); 绝底:0.3,LINETHICK2,COLORRED; 绝顶:3.5,LINETHICK2,COLORGREEN; 分界:2,COLORWHITE; DRAWTEXT(crOSS(操盘线,绝底),0.2,'买入'), COLORYELLOW; DRAWTEXT(CROSS(操盘线,绝顶),3.5,'卖出'), COLORYELLOW; stICKLINE(CROSS(操盘线,绝顶),3.5,2,1,0); STICKLINE(CROSS(操盘线,绝底),2,0,1,0);
|