N:=BARSSINCEN(L=LLV(L,20),30);
A1:=IF(CURRBARSCOUNT<20 AND C<10,CONST(LLV(L,20)),DRAWNULL);
{STICKLINE(1,A1,A1-0.2,4,0),COLORBLUE;}
A2:=IF(CURRBARSCOUNT<20 AND C<10,CONST(HHV(C,20)),DRAWNULL);
{DRAWBAND(MA(L,20)*0.98,90,A2,90);}
{STICKLINE(1,A1,MA(L,20),0,-1),COLORBROWN;}
DRAWKLINE(H,O,L,C);
A3:A1+0.1,COLORBROWN,LINETHICK2;
DRAWICON(MA(L,20)/A3<1.02 AND L/A3<1.02,A3,26);
63855601.png
===================================================================
选股公式:
A1:=IF(CURRBARSCOUNT<20 AND C<10,CONST(LLV(L,20)),DRAWNULL);
A3:=A1+0.1;
XG:MA(L,20)/A3<1.02 AND L/A3<1.02; |