不啰嗦,直接发源码
{绝对利润预警}
B1:=XS2.通道2;
B:=(B1-REF(B1,5))/REF(B1,5);
临界值:=REF(B1,5)*(REF(B,1)+1);
XG:L<XS2.通道2 AND L>临界值;
副图公式,用下面的源码:
{绝对利润}
A:=C/REF(C,1)>=1.095;
B1:=XS2.通道2;
B:=(B1-REF(B1,5))/REF(B1,5);
D:=MA(C,20)>REF(MA(C,20),1) AND MA(C,55)>REF(MA(C,55),1);
绝对利润:COUNT(A,5)>=1 AND L<B1 AND B>REF(B,1) AND C/REF(C,1)<1.07 AND D,STICK,LINETHICK4,COLORF00FF0;