Изменил дефолтное значение take profit
test / deploy_trader_prod (push) Successful in 1m49s
Details
test / deploy_trader_prod (push) Successful in 1m49s
Details
parent
ee55d3a4b4
commit
4b50058d77
|
@ -704,8 +704,8 @@ INewPrice message, int windowMaxSize, decimal uptrendStartingDetectionMeanfullSt
|
|||
private (decimal stopLoss, decimal takeProfit) GetStops(INewPrice message, PositionType type)
|
||||
{
|
||||
var mode = TradingModes[message.Figi];
|
||||
decimal stopLossShift = 5;
|
||||
decimal takeProfitShift = 4;
|
||||
decimal stopLossShift = 4;
|
||||
decimal takeProfitShift = 2;
|
||||
if (mode == TradingMode.Growing && type == PositionType.Long)
|
||||
{
|
||||
stopLossShift = 5;
|
||||
|
|
Loading…
Reference in New Issue