同花顺分时线买卖提醒公式 复制于淘宝购买通达信公式,用于分时线买卖提醒
源码
VAR1:=LLV(LOW,100);
VAR2:=HHV(HIGH,250);
操盘线: EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4);
绝底:0.3,LINETHICK2,colorgreen;
绝顶:3.5,LINETHICK2,colorred;
分界:2,colorwhite;
DRAWTEXT(CROSS(操盘线,绝底),0.20,'买入'), coloryellow, ;
DRAWTEXT(CROSS(操盘线,绝顶),3.5,'卖出'), coloryellow, ;