BreakoutGenius base 策略是一种专为金融市场中的黄金交易(XAUUSD)设计的交易策略。此策略基于市场价格行为和关键价格水平的突破来识别潜在的交易机会。策略的核心在于准确地设置买入止损(Buy Stop)和卖出止损(Sell Stop)挂单,在黄金价格突破这些预设水平时自动进入市场。
策略原理:
关键价格水平的确定:通过对历史数据的分析,识别出黄金价格的关键支撑和阻力水平。这些水平是未来价格趋势变化的关键节点,反映了买卖双方的力量对比。
挂单设定:在预测到价格即将突破这些关键水平时,在这些水平之上或之下设定买入止损或卖出止损挂单。这为策略提供了自动触发的机制,使其能够在没有实时监控的情况下执行交易。
突破确认与执行:一旦价格成功突破并激活挂单,策略将自动执行买入或卖出操作,并设置相应的止损和盈利目标。突破被认为是市场方向变化的信号,因此在突破之后迅速进入市场可以捕捉到价格运动的主要部分。
风险管理:该策略强调风险控制,每笔交易的潜在亏损会被严格控制在投资者可接受的范围内。止损点的设置基于突破点的一定距离,既可以保护账户不受重大损失,又可以避免因市场小幅波动而提前退出市场。
盈利目标的规划:盈利目标的设定基于历史价格行为和挂单点的关键水平,确保每笔交易都有明确的利润获取计划。
参数设置:
- Please_close_before_use 使用前请关闭,参数设置成false。
- CustomComment 这是订单注释。
- MagicNumber 这是订单的魔术码,用于区分不同的交易策略。
- KaufmanEffRtoPrd 这是 Kaufman 效率比率的周期长度。
- ProfitTargetCoef 这是盈利目标的系数,用于计算订单的目标盈利水平。
- StopLoss 这是订单的止损水平。
- AST_TrailingStop 这是跟踪止损的触发点数。
- ASTTrailingStep 这是跟踪止损的步进点数。
- smm 参数说明
- UseMoneyManagement 这是资金管理开关,如果打开,则使用以下资金管理参数。
- mmRiskPercent 这是单笔订单的风险百分比。
- mmLotslfNoMM 这是在资金管理关闭时使用的固定手数。
- mmMaxLots 这是最大头寸手数限制。
- sdtw 参数说明
- DontTradeOnWeekends 这是周末不交易的开关。
- FridayCloseTime 这是周五的收盘时间。
- SundayOpenTime 这是周日的开盘时间。
- seod 参数说明
- ExitAtEndOfDay 这是收盘时退出的开关。
- EODExitTime 这是收盘退出的时间。
- seof 参数说明
- ExitOnFriday 这是周五退出的开关。
- FridayExitTime 这是周五退出的时间。
- sltr 参数说明
- LimitTimeRange 这是限制交易时间范围的开关。
- SignalTimeRangeFrom 这是交易开始时间。
- SignalTimeRangeTo 这是交易结束时间。
- ExitAtEndOfRange 这是在交易时间结束时退出的开关。
- OrderTypeToExit 这是需要退出的订单类型。
- smtpd 参数说明
- MaxTradesPerDay 这是每日最大交易次数。
|
使用方法:
回测:
只需使用预设设置在XAUUSD H1时间周期上运行.