黑马线公式:
; t7 z3 X1 d, \: s8 v. h w) O. N2 Q3 ]! i4 \0 F
A1: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);
' Y0 R* H# [$ X7 T# M黑马线:EMA(A1,5),LINETHICK2,COLOR6600FF;
" W; N: O) y, n2 J0 \, Q: _A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;8 D0 ]% T) e! ~- ?1 L
A3:=EMA(C,5);4 i+ Y& Q, e0 |2 R4 a, z' e
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
) O" v. l0 F" D趋势线 MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,coloryellow;/ d) c: C6 e- O. X4 U9 X, k6 D$ m$ C
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
- c# L% Y6 `+ k# r- DDRAWTEXT(FILTER(REF(黑马线,1)>90 AND A270 AND 趋势线>80,90,100),COLORFF0 |