分时做T
2016-5-4 17:28:36点击:
VAR1:=LLV(LOW,100);
VAR2:=HHV(HIGH,220);
操盘线: EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4);
绝底:0.3,LINETHICK2,colorgreen;
绝顶:3.5,LINETHICK2,colorred;
分界:2,colorwhite;
DRAWTEXT(CROSS(操盘线,绝底),0.20,'买入'), colorblack,LINETHICK2;
STICKLINE(CROSS(操盘线,绝底),0.20,'买入'),colorred,LINETHICK2;
DRAWTEXT(CROSS(操盘线,绝顶),3.8,'卖出'), colorblack,LINETHICK2;
STICKLINE(CROSS(操盘线,绝顶),3.8,'卖出'),colorgreen,LINETHICK2;
VAR2:=HHV(HIGH,220);
操盘线: EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4);
绝底:0.3,LINETHICK2,colorgreen;
绝顶:3.5,LINETHICK2,colorred;
分界:2,colorwhite;
DRAWTEXT(CROSS(操盘线,绝底),0.20,'买入'), colorblack,LINETHICK2;
STICKLINE(CROSS(操盘线,绝底),0.20,'买入'),colorred,LINETHICK2;
DRAWTEXT(CROSS(操盘线,绝顶),3.8,'卖出'), colorblack,LINETHICK2;
STICKLINE(CROSS(操盘线,绝顶),3.8,'卖出'),colorgreen,LINETHICK2;