if(CountTrades(as_0,mNumber)>0 && CountTrades(as_0,mNumber)<=5) li_8=Prosadka/10; //7到10次的加仓间距
if(CountTrades(as_0,mNumber) > 6 && CountTrades(as_0,mNumber) <= 10) li_8 = Prosadka / 6;
if(CountTrades(as_0,mNumber) > 11 && CountTrades(as_0,mNumber) <= 15) li_8 = Prosadka / 5;
if(CountTrades(as_0,mNumber) > 16 && CountTrades(as_0,mNumber) <= 20) li_8 = Prosadka / 4;
if(CountTrades(as_0,mNumber) > 21 && CountTrades(as_0,mNumber) <= 25) li_8 = Prosadka / 3;
if(CountTrades(as_0,mNumber)>26) li_8=Prosadka/2; |