Stop Order
cBot
886 下载
版本 1.0, Jun 2025
Windows 版、Mac 版, Mobile, Web
5.0
评价:2
说明
🎯 策略概述
止损单 TP + SL 是一种自动化策略,根据短期价格方向下达止损单,使用预设的每笔交易止盈(TP)和止损(SL)水平。
该系统包含一个可调节的仓位大小模型,在连续亏损后增加交易量(通常称为阶梯式回本方法),在盈利交易后将交易量重置为初始大小。
🔧 工作原理
价格行为信号
- 比较当前K线收盘价与前一根K线收盘价。
- 如果当前收盘价更高 → 下达买入止损单。
- 如果当前收盘价更低 → 下达卖出止损单。
止损限价单执行
- 订单设置在距离市场价格一定距离的位置,由
StopOffsetPips定义。 - 每笔交易包含其自身的TP和SL点数值。
- 系统一次只开一个仓位,等待其关闭后再开下一个。
仓位大小调整
- 如果交易亏损,系统会记录连续亏损次数。
- 达到设定阈值(
StartMartingaleAfterLosses)后,仓位大小按乘数(MartingaleMultiplier)增加。 - 为安全起见,执行最大仓位限制(
MaxLot)。 - 交易盈利时,仓位大小恢复到初始值。
点差过滤器
- 如果当前市场点差超过
MaxSpread,则不开启新交易。
参数说明
仓位大小:首笔交易的初始仓位大小
最大仓位大小: 为安全起见允许的最大交易量
马丁格尔乘数:亏损后仓位大小的乘数
亏损后开始马丁格尔: 达到此亏损次数后开始马丁格尔策略
止盈 / 止损: 每笔交易固定的TP和SL(以点数计)
最大点差: 超过此点差则跳过交易
止损单(点数): 距离市场价格下单的止损单距离
✅ 主要特点
- 使用 止损限价单(非市价单)以最小化滑点。
- 对每笔交易应用 止盈和止损 — 完全保护的入场。
- 受控的 马丁格尔逻辑,限制最大仓位大小。
- 适用于波动性较大的品种,如 XAUUSD、NAS100、BTCUSD 等。
摘要
AI 摘要
Stop Order TP + SL is an automated trading bot that places stop limit orders based on short-term price action signals. It compares the closing price of the current bar to the previous bar: if the current close is higher, it places a Buy Stop order; if lower, a Sell Stop order. Orders are set at a configurable distance from the market price (StopOffsetPips) and include predefined Take Profit (TP) and Stop Loss (SL) levels in pips for each trade. The system manages one open position at a time, waiting for it to close before initiating another.
The bot features an adjustable position sizing model with controlled Martingale logic: after a configurable number of consecutive losses (StartMartingaleAfterLosses), the lot size increases by a multiplier (MartingaleMultiplier), up to a maximum lot size (MaxLot) for risk control. Upon a winning trade, the lot size resets to the initial value. A spread filter prevents new trades if the market spread exceeds a set maximum (MaxSpread).
This strategy uses stop limit orders to minimize slippage and applies TP and SL on every trade for risk management. It is suitable for volatile instruments such as XAUUSD (gold), NAS100, and BTCUSD. Key configurable parameters include initial lot size, max lot size, Martingale settings, TP/SL values, max spread, and stop order distance.
The bot features an adjustable position sizing model with controlled Martingale logic: after a configurable number of consecutive losses (StartMartingaleAfterLosses), the lot size increases by a multiplier (MartingaleMultiplier), up to a maximum lot size (MaxLot) for risk control. Upon a winning trade, the lot size resets to the initial value. A spread filter prevents new trades if the market spread exceeds a set maximum (MaxSpread).
This strategy uses stop limit orders to minimize slippage and applies TP and SL on every trade for risk management. It is suitable for volatile instruments such as XAUUSD (gold), NAS100, and BTCUSD. Key configurable parameters include initial lot size, max lot size, Martingale settings, TP/SL values, max spread, and stop order distance.
交易概览
讨论
常见问答
BTCUSD
Signal
GBPUSD
XAUUSD
Martingale
NAS100
cTrader Store 提供的所有产品,包括交易机器人、指标和插件,均由第三方开发者提供,仅供信息参考和技术访问之用。cTrader Store 并非经纪商,不提供投资建议、个人推荐或任何未来业绩保证。
该作者的其他作品
猜您喜欢
价格
注册日期 22/09/2024
14
销售
2.86K
免费安装