万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 同花顺指标 正文

同花顺双均线乖离率指标公式

admin 2023-10-15 18:05:59 同花顺指标 1187 ℃
QQ交流群586838595

SMA21:=(SMA(HIGH,21,2) * 1.05),colorred;

SMA21乖离:(C-SMA21)/SMA21*100,colorred;

DRAWICON(CROSS(C,SMA21),0,1);

DRAWICON(CROSS(SMA21,C),0,2);

SMA21乖离金叉:(BARSLAST(C

SMA21乖离死叉:(BARSLAST(C>SMA21))*(-1),nodraw,colorgreen;

HORLINE(C>0,0,2,3),colorwhite;

MA10:=MA(CLOSE,10),coloryellow;

MA10乖离:(C-MA10)/MA10*100,coloryellow;

DRAWICON(CROSS(C,MA10),0,5) ;

DRAWICON(CROSS(MA10,C),0,6) ;

MA10乖离金叉:(BARSLAST(C

MA10乖离死叉:(BARSLAST(C>MA10))*(-1),nodraw,colorblue;

DRAWTEXT((CROSS(C,SMA21) AND C>MA10) OR (CROSS(C,MA10) AND C>SMA21),L-(H-L),突),coloryellow;

DRAWTEXT((CROSS(SMA21,C) AND C<MA10) OR (CROSS(MA10,C) AND C<SMA21),L-(H-L),弱),colorblue;

QQ交流群586838595