стопы
test / deploy_trader_prod (push) Successful in 5m7s
Details
test / deploy_trader_prod (push) Successful in 5m7s
Details
parent
f8c83d40ab
commit
329c56fc4d
|
@ -955,7 +955,7 @@ INewPrice message, int windowMaxSize, decimal uptrendStartingDetectionMeanfullSt
|
||||||
}
|
}
|
||||||
if (mode == TradingMode.Growing && type == PositionType.Short)
|
if (mode == TradingMode.Growing && type == PositionType.Short)
|
||||||
{
|
{
|
||||||
stopLossShift = 4;
|
stopLossShift = 10;
|
||||||
takeProfitShift = 2;
|
takeProfitShift = 2;
|
||||||
}
|
}
|
||||||
if (mode == TradingMode.Stable && type == PositionType.Long)
|
if (mode == TradingMode.Stable && type == PositionType.Long)
|
||||||
|
@ -965,7 +965,7 @@ INewPrice message, int windowMaxSize, decimal uptrendStartingDetectionMeanfullSt
|
||||||
if (mode == TradingMode.Stable && type == PositionType.Short)
|
if (mode == TradingMode.Stable && type == PositionType.Short)
|
||||||
{
|
{
|
||||||
takeProfitShift = 2.5m;
|
takeProfitShift = 2.5m;
|
||||||
stopLossShift = 6;
|
stopLossShift = 10;
|
||||||
}
|
}
|
||||||
if (mode == TradingMode.SlowDropping && type == PositionType.Short)
|
if (mode == TradingMode.SlowDropping && type == PositionType.Short)
|
||||||
{
|
{
|
||||||
|
@ -974,7 +974,7 @@ INewPrice message, int windowMaxSize, decimal uptrendStartingDetectionMeanfullSt
|
||||||
if (mode == TradingMode.SlowDropping && type == PositionType.Long)
|
if (mode == TradingMode.SlowDropping && type == PositionType.Long)
|
||||||
{
|
{
|
||||||
takeProfitShift = 1.5m;
|
takeProfitShift = 1.5m;
|
||||||
stopLossShift = 5;
|
stopLossShift = 10;
|
||||||
}
|
}
|
||||||
if (mode == TradingMode.Dropping && type == PositionType.Short)
|
if (mode == TradingMode.Dropping && type == PositionType.Short)
|
||||||
{
|
{
|
||||||
|
@ -982,7 +982,7 @@ INewPrice message, int windowMaxSize, decimal uptrendStartingDetectionMeanfullSt
|
||||||
}
|
}
|
||||||
if (mode == TradingMode.Dropping && type == PositionType.Long)
|
if (mode == TradingMode.Dropping && type == PositionType.Long)
|
||||||
{
|
{
|
||||||
stopLossShift = 4;
|
stopLossShift = 10;
|
||||||
takeProfitShift = 1.5m;
|
takeProfitShift = 1.5m;
|
||||||
}
|
}
|
||||||
return (stopLossShift, takeProfitShift);
|
return (stopLossShift, takeProfitShift);
|
||||||
|
|
Loading…
Reference in New Issue