(来源:文华财经)
拜托老师,10日线和28日金叉时出现红色剪头,死叉时出现绿色下头,剪头出现时有声音提示
AA:EMA(C,10),LINETHICK1;
BB:EMA(C,28),LINETHICK1;
IF(AA>BB&&AA>=REF(AA,1),AA,NULL),COLORRED,LINETHICK1;
IF(AA>BB&&AA<REF(AA,1),AA,NULL),COLORBLUE,LINETHICK1;
IF(AA<BB&&AA>=REF(AA,1),AA,NULL),COLORMAGENTA,LINETHICK1;