feat: 1min_v1

This commit is contained in:
zhangyangbin
2026-05-19 09:10:22 +08:00
parent 74fdfc91ca
commit 4223070543
2 changed files with 4 additions and 6 deletions
+4 -6
View File
@@ -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.