知秀网 > 社会 > 正文

均线角度公式 具体公式介绍

均线角度公式 具体公式介绍

1.主图叠加:十:=ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.1415926;二十:=ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*180/3.1415926;三十:=ATAN((MA(C,30)/REF(MA(C,30),1)-1)*100)*180/3.1415926;IF(十>=30,MA(C,10),DRAWNULL),COLORRED,LINETHICK2;IF(十<30,MA(C,10),DRAWNULL),COLORGREEN,LINETHICK2;IF(二十>=30,MA(C,20),DRAWNULL),COLORRED,LINETHICK2;IF(二十<30,MA(C,20),DRAWNULL),COLORGREEN,LINETHICK2;IF(三十>=30,MA(C,30),DRAWNULL),COLORRED,LINETHICK2;IF(三十<30,MA(C,30),DRAWNULL),COLORGREEN,LINETHICK2;

2.预警公式:十:=ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.1415926;二十:=ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*180/3.1415926;三十:=ATAN((MA(C,30)/REF(MA(C,30),1)-1)*100)*180/3.1415926;T1:=十>=30 AND 二十>=30 AND 三十>=30;XG:=T1 AND REF(T1,1)=0;