A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1;
黑馬線:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))* 100;
趨勢線:= (Ma (3 * SMA (A54,6,1)-2 * SMA (SMA (A54,5,1),5,1),2));
HM:=交叉(趨勢線,0)和黑馬線< 40,(高* 0.97);
XG:計數(HM,5);
我在通訊軟件裏測試過。如果樓主滿意,別忘了設為最佳答案。