A2:=(3 * high+low+on +2 * off)/7;
A3:=SUM (amount, 40)/a1100;
A4:=SUM (amount, 80)/a1100;
B 1:=DMA(A2,VOL/A3);
B2:=DMA(A2,VOL/A4);
B3:=(CLOSE-b 1)/b 1 * 100;
B4:=(CLOSE-B2)/B2 * 100;
Low point: =-4;
Early warning: cross (B3, low point);