平底:=ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001;
平顶:=ABS(HIGH-REF(HIGH,1))/HIGH<0.001;
DRAWICON(平底 AND NOT(平顶),L,1);
DRAWICON(平顶 AND NOT(平底),H,2);
平底:=ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001;
平顶:=ABS(HIGH-REF(HIGH,1))/HIGH<0.001;
DRAWICON(平底 AND NOT(平顶),L,1);
DRAWICON(平顶 AND NOT(平底),H,2);