Open position calculation

Open position calculation:(Only used for the first order)

1.Percentage:Opening order lots=Current Equity/10000*0.01*The value of the input box.

2.Fixed Lot:Fixed order positions.

3.Position by loss:As shown,The first order lost 300, and the banlance lost 2.5%.

4.Loss add lot:After triggering the all close order function,If banlance is loss,Opening order lots= intial lot*loss factor,If the all close order function is triggered 3 times and it is loss,Open position calculation=0.1*2*2*2.(Such as the close buy/close sell/overall s/l of the closing panel).

5.Lots maximun:The position of the first order is less than the value in the input box;

6.Spread Limit:Current symbol selling price-buying price< the value in the input box;

7.These are not open first order:The number of orders> the value in the input box,The number of orders>the value in the input box;

8.Increase lot:Floating loss and the lots of all current trade symbol are respectively greater than the value in the input box,First opening order lots=All lots of the current order* 7.These are not open first order:The number of orders> the value in the input box,The largest order of the current symbol>the value in the input box;