feat: 1min_v1
This commit is contained in:
@@ -742,12 +742,10 @@ bool OpenPosition(ENUM_ORDER_TYPE order_type, double wave_high, double wave_low,
|
|||||||
if(lots <= 0)
|
if(lots <= 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// 生成包含有效波段信息的注释
|
// 生成备注信息:盈亏比和最小止损点数
|
||||||
string comment = StringFormat("%s H%.0f L%.0f T%.0f",
|
string comment = StringFormat("R%.1f SL%d",
|
||||||
(order_type == ORDER_TYPE_BUY ? "B" : "S"),
|
InpRiskRewardRatio,
|
||||||
wave_high,
|
InpMinStopLossPoints);
|
||||||
wave_low,
|
|
||||||
threshold_points);
|
|
||||||
|
|
||||||
bool result = false;
|
bool result = false;
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user