CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
CROSS(CLOSE,DD)
AND CLOSE>REF(CLOSE,1)*1.05
AND CLOSE>=AMOUNT/100/V
AND REF(VOL/CAPITAL,1)>=0.03
AND CAPITAL<=8000000;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
CROSS(CLOSE,DD)
AND CLOSE>REF(CLOSE,1)*1.05
AND CLOSE>=AMOUNT/100/V
AND REF(VOL/CAPITAL,1)>=0.03
AND CAPITAL<=8000000;