同花顺五色主力公式
源码
M1 := EMA( CLOSE, 9 );
M2 := EMA( CLOSE, 18 );
MD : M1 - M2;
MM := EMA( MD, 3 );
吸 : IF( MD >= MM AND MD < 0, MD, DRAWNULL );
拉 : IF( MD >= MM AND MD >= 0, MD, DRAWNULL );
派 : IF( MD < MM AND MD >= 0, MD, DRAWNULL );
落 : IF( MD < MM AND MD < 0, MD, DRAWNULL );