B.F.M. UNITY
antbot-doc
antbot-doc
  • 保护性存储与发掘指南
  • en
    • Link
    • ABOUT US
      • What is AntBot?
      • User Agreement
    • Beginner
      • How to Create Bitget API Key?
      • How to Create Gate.io API Key?
      • How to Create Kucoin API Key?
      • Insufficient API Key Trading Permissions: How to Modify API Key Trading Permissions?
      • How Do I Fill in an IP Address in Binance?
      • Can Automated Trading Bots Really Make Money?
      • How are AntBot’s Initial Positions Calculated?
      • Can API-Keys of Two Exchanges Be Imported Under One Account?
      • Binance Trading Fees
      • Binance Fee Calculator: How To Calculate Binance Fee
      • Can One Crypto Run Multiple Bots at the Same Time?
      • Which Robot Should a Novice Choose to Start and Which Crypto to Choose?
      • Why Is the Profit of AI Grid Different From the Profit of the Exchange?
      • Why AntBot Doesn’t Get My Assets on the Exchange?
      • Will AntBot Sell the Funds I Bought Manually on the Exchange?
      • What Should I Do About the Position Limit of the Exchange Account?
      • Why Is the Position not Added After the Price Has Reached the Position Increase Price?
      • Can Energy Be Exchanged for USDT?
      • How Many Funds Do I Need to Start a Bot?
      • How Many Funds Do I Need to Start a Bot?
      • How to Reduce Fee on Exchange?
      • Frequently Asked Questions and Answers
      • How to Change the Margin Mode of Binance to Cross Margin Mode?
      • How to Change Okx’s Margin Mode to Cross Margin Mode?
      • Why is My Position Liquidated Even Though My Margin is Sufficient?
      • How to Change Binance’s Position Mode to Hedge Mode?
      • How to Change the Okx’s Position Type to Long/Short Mode?
      • How to Change Bybit’s Position Mode to Hedge Mode?
      • The Bots are Still Stopped When You Have Purchased Energy?
      • What Should I Do If the API Key is Deleted in Binance?& What Should I Do If the API Key Expires?
      • How to Change the Okx Account Mode to the Single-currency Margin Mode?
      • Crypto Fear & Greed Index
      • How to Get Started
      • Frequently Asked Questions
      • What is AntBot Referral Program?
      • How to Start a Bot on the AntBot for Beginners?
    • Function
      • How to Create Kucoin API Key?
      • Crypto Fear & Greed Index
      • Binance: How to Transfer Funds to a Futures Wallet?
      • How to Create Binance API Key?
      • How to Create OKX API Key?
      • How to Create Bybit API Key?
      • How to Create Huobi API Key?
      • How to Buy the Energy on the AntBot?
      • How to Start a Bot on the AntBot for Beginners?
      • How to Deposit the USDT on the AntBot
      • AntBot Bonus Distribution Pattern Table
      • YouTube Video Creators Wanted (Influencer Program)
    • Indicators
      • What is a Golden Cross and a Death Cross?
      • What is the Golden Cross?
      • Instantly Improve Your Trading Strategy with Support and Resistance
      • The Ultimate Moving Average Trading Guide
      • Detailed Explanation of Support and Resistance
      • What is SMA(Simple Moving Average) Indicator?
      • What is BBW(Bollinger Bands Width) Indicator?
      • What is RSI(Relative Strength Index) Indicator?
      • What is KDJ Indicator?
      • What is MACD(Moving Average Convergence/Divergence) Indicator?
    • Learning
      • What is a Golden Cross and a Death Cross?
      • What is the Golden Cross?
      • Instantly Improve Your Trading Strategy with Support and Resistance
      • The Ultimate Moving Average Trading Guide
      • 10 Price Action Candlestick Patterns You Must Know
      • Detailed Explanation of Support and Resistance
      • Can Automated Trading Bots Really Make Money?
      • How are AntBot’s Initial Positions Calculated?
      • Can API-Keys of Two Exchanges Be Imported Under One Account?
      • Binance Trading Fees
      • Binance Fee Calculator: How To Calculate Binance Fees?
      • Can One Crypto Run Multiple Bots at the Same Time?
      • Which Robot Should a Novice Choose to Start and Which Crypto to Choose?
      • Why Is the Profit of AI Grid Different From the Profit of the Exchange?
      • Why AntBot Doesn’t Get My Assets on the Exchange?
      • Will AntBot Sell the Funds I Bought Manually on the Exchange?
      • What Should I Do About the Position Limit of the Exchange Account?
      • Why Is the Position not Added After the Price Has Reached the Position Increase Price?
      • Can Energy Be Exchanged for USDT?
      • How Many Funds Do I Need to Start a Bot?
      • How to Reduce Fee on Exchange?
      • Frequently Asked Questions and Answers
      • How to Change the Margin Mode of Binance to Cross Margin Mode?
      • How to Change Okx’s Margin Mode to Cross Margin Mode?
      • Why is My Position Liquidated Even Though My Margin is Sufficient?
      • How to Change Binance’s Position Mode to Hedge Mode?
      • How to Change the Okx’s Position Type to Long/Short Mode?
      • How to Change Bybit’s Position Mode to Hedge Mode?
      • The Bots are Still Stopped When You Have Purchased Energy?
      • What Should I Do If the API Key is Deleted in Binance?& What Should I Do If the API Key Expires?
      • How to Change the Okx Account Mode to the Single-currency Margin Mode?
      • Why Measure Fear and Greed?
      • Frequently Asked Questions
      • What is AntBot Referral Program
      • What is the Trailing Take-Profit
      • What is the Trailing Covering?
      • Explain the Parameters of DCA Bot in Detail
    • Patterns
      • What is a Golden Cross and a Death Cross?
      • What is the Golden Cross?
      • 10 Price Action Candlestick Patterns You Must Know
      • What is Bearish Engulfing Patterns?
      • What is Bullish Engulfing Patterns?
      • What is Three Black Crows Patterns?
      • What is Three White Soldiers Patterns?
      • What is Long Lower Shadow Patterns?
      • What is Long Upper Shadow Patterns?
    • Questions
      • Can Automated Trading Bots Really Make Money?
      • How are AntBot’s Initial Positions Calculated?
      • Can API-Keys of Two Exchanges Be Imported Under One Account?
      • Binance Trading Fees
      • Binance Fee Calculator: How To Calculate Binance Fees?
      • Can One Crypto Run Multiple Bots at the Same Time?
      • Which Robot Should a Novice Choose to Start and Which Crypto to Choose?
      • Why Is the Profit of AI Grid Different From the Profit of the Exchange?
      • Why AntBot Doesn’t Get My Assets on the Exchange?
      • Will AntBot Sell the Funds I Bought Manually on the Exchange
      • What Should I Do About the Position Limit of the Exchange Account?
      • Why Is the Position not Added After the Price Has Reached the Position Increase Price?
      • Can Energy Be Exchanged for USDT?
      • How Many Funds Do I Need to Start a Bot?
      • How to Reduce Fee on Exchange?
      • Frequently Asked Questions and Answers
      • How to Change the Margin Mode of Binance to Cross Margin Mode?
      • How to Change Okx’s Margin Mode to Cross Margin Mode?
      • Why is My Position Liquidated Even Though My Margin is Sufficient?
      • How to Change Binance’s Position Mode to Hedge Mode?
      • How to Change the Okx’s Position Type to Long/Short Mode?
      • How to Change Bybit’s Position Mode to Hedge Mode?
      • The Bots are Still Stopped When You Have Purchased Energy?
      • What Should I Do If the API Key is Deleted in Binance?& What Should I Do If the API Key Expires?
      • How to Change the Okx Account Mode to the Single-currency Margin Mode?
      • Frequently Asked Questions
      • Why did the Robot Stop?
      • Why the Robot Paused?
      • Running Status Info for the Bots
      • How is this app charge?
      • What is the Difference Between an AI and a Non-AI?
      • What is AntBot Referral Program?
    • Strategy
      • What Is the Infinity Grid Trading Strategy?
      • What is the Formation Trading Strategy?
      • What is the Regular Investment Strategy?
      • What Is the Momentum Trading Strategy?
      • What Is the D-KAMA Trading Strategy?
      • What Is the R-Breaker Trading Strategy?
      • What Is the SuperTrend Trading Strategy?
      • What Is the Relative-value Trading Strategy?
      • What Is the Classic Grid Trading Strategy?
      • What Is the DCA Trading Strategy?
      • What Is the AI Grid Trading Strategy?
      • What Is the AI Beta Trading Strategy?
      • What Is the Rebalancing Trading Strategy?
      • What Is the AI Dual Grid Trading Strategy?
  • zh-cn
    • 引用链接
    • 关于我们
      • 关于我们
      • 联系我们
      • 用户协议
    • 功能说明
      • 恐惧与贪婪指数 Fear & Greed Index
      • 诚挚招募YouTube视频创作者
      • AntBot红利分配模式表
      • 如何充值USDT?
      • 新手如何启动AntBot机器人?
      • 如何购买能量?
    • 常见问题
      • 如何绑定Bitget API?
      • 如何绑定MEXC API?
      • 如何绑定Gate.io API?
      • 如何重新进行快速授权?
      • 同个币种可以同时运行多个机器人吗?
      • 在一个账户下可以导入两个交易所的API Key吗?
      • 智能网格的盈利和交易所的盈利怎么不一样?
      • 因能量不足机器人暂停了,但充值能量后机器人为何还是处于暂停状态?
      • 系统会不会卖掉我在交易所手动购买的币?
      • 什么是双向持仓模式?
      • 交易所账户持仓限额,怎么办?
      • 为什么价格已经到达加仓价格而系统没有进行加仓?
      • 能量可以兑换成USDT吗?
      • API密钥交易权限不足:如何修改API密钥交易权限?
      • 如何在币安中填写IP地址?
      • 如何绑定Kucoin API?
      • 量化交易机器人真能赚到钱吗?
      • 小蚁的首单资金是如何计算的?
      • 新手应该选择启动哪个机器人,选择哪些币种?
      • 如何减少手币安交易手续费?
    • 快速学习
      • 启动机器人需要多少资金?
      • 如何减少手币安交易手续费?
      • 常见问题和解答
      • 如何绑定欧易API?
      • 如何绑定币安API?
      • 如何绑定Bybit API?
      • 如何绑定火币 API?
      • 軟件內彈窗提示說明
      • 使用合約機器人需要注意哪些事項?
      • 多少資金可以啟動多少個機器人?
      • 如何做資金規劃和倉位管理?
      • 机器人暂停原因
      • AntBot的常见问题
      • 歷史機器人停止原因
      • 進行中的機器人狀態歸類
      • 新手如何绑定API并启动机器人
    • 技术形态
      • 什么叫阴包阳形态?
      • 什么叫阳包阴形态?
      • 什么叫三只乌鸦形态?
      • 什么叫红三兵形态?
      • 什么叫锤子线形态?
      • 什么叫倒锤子线形态?
    • 技术指标
      • 支撑和阻力原理详解
      • 什么叫阴包阳形态?
      • 什么叫阳包阴形态?
      • 什么叫三只乌鸦形态?
      • 什么叫红三兵形态?
      • 什么叫锤子线形态?
      • 什么叫倒锤子线形态?
      • 什么是BBW(Bollinger Bands Width)指标?
      • 什么是RSI(Relative Strength Index)指标?
      • 什么是SMA(Simple Moving Average)指标?
      • 什么是KDJ指标?
      • 什么是MACD指标?
    • 策略学习
      • 什么是无限网格交易策略?
      • 什么是定投策略?
      • 什么是阵型交易策略?
      • 什么是动量交易策略?
      • 什么是双均线交易策略?
      • 什么是R-Breaker交易策略?
      • 什么是超级趋势交易策略?
      • 什么是相对价值交易策略?
      • 什么是双向网格交易策略?
      • 什么是智能调仓策略?
      • 什么是经典网格交易策略?
      • 什么是智能网格交易策略?
      • 什么是智能马丁交易策略?
      • 什么是贝塔策略?
    • 进阶学习
      • 支撑和阻力原理详解
      • 如何减少手币安交易手续费?
      • 常见问题和解答
      • 什么叫阳包阴形态?
      • 什么叫三只乌鸦形态?
      • 什么叫红三兵形态?
      • 什么叫锤子线形态?
      • 什么叫倒锤子线形态?
      • 什么是BBW(Bollinger Bands Width)指标?
      • 什么是RSI(Relative Strength Index)指标?
      • 什么是SMA(Simple Moving Average)指标?
      • 什么是KDJ指标?
      • 什么是MACD指标?
      • 马丁格尔策略参数详解
      • 小蟻會不會賣掉我在交易所手動購買的幣?
      • 為什麼價格已經到達補倉價格後系統沒有進行補倉?
      • 機器人的浮盈比例和回報率如何理解?
      • 最安全且高利潤率的投資組合是什麼?
      • 如何對幣安賬戶進行持倉限制調整?
      • 如何理解機器人的暫停功能?
  • GNU GPL Version 3
    • GNU GPL Version 3
Powered by GitBook
On this page
  1. zh-cn
  2. 策略学习

什么是R-Breaker交易策略?

Previous什么是双均线交易策略?Next什么是超级趋势交易策略?

Last updated 1 year ago

Search for:

策略学习

什么是R-Breaker交易策略?

目录:

什么是R-Breaker交易策略?

R-Breaker策略由Richard Saidenberg开发,并于1994年公布于世。在之后连续十五年被美国《Futures Truth》杂志评选为前十大最赚钱的交易策略之一。与其他策略相比,R-Breaker是趋势与反转相结合的交易策略。不仅可以捕捉趋势行情获得大利润,还可以在行情反转的时候,及时主动止盈并顺势反手。

R-Breaker主要分为分为反转和趋势两部分。空仓时进行趋势跟随,持仓时等待反转信号反向开仓。

阻力位与支撑位

简单的说,R-Breaker策略就是一个支撑位和阻力位策略,它根据昨日的最高价、最低价和收盘价,计算出七个价格:一个中心价位(pivot)、三个支撑位(s1、s2、s3)、三个阻力位(r1、r2、r3)。然后根据当前价格与这些支撑位和阻力位的位置关系,以形成买卖的触发条件,并且通过一定的算法调整,调节这七个价格之间的距离,进一步改变交易的触发值。

指标计算方法

突破买入价(阻力位r3) = H + 2P -2L

观察卖出价(阻力位r2) = P + H – L

反转卖出价(阻力位r1)= 2P – L

中心价位(pivot) = (H + C + L)/3

反转买入价(支撑位s1) = 2P – H

观察买入价(支撑位s2) = P – (H – L)

突破卖出价(支撑位s3) = L – 2(H – P)

由此我们可以看到,R-Breaker策略是根据昨天的价格绘制了一个类似网格的价格线,并且每天更新一次这些价格线。在技术分析上有支撑位和阻力位,并且两者的作用可以互相转换。当价格成功向上突破阻力位时,阻力位变成了支撑位;当价格成功向下突破支撑位时,支撑位变成了阻力位。

在实际交易中,这些支撑位和阻力位为交易者指出了开平仓方向和精确等买卖点位。交易者可以根据盘中价格、中心价、阻力位、支撑位灵活定制具体的开平仓条件,也可以根据这些网格价格线进行加减仓。

策略逻辑解析

接下来,让我们看一下R-Breaker策略是怎样利用这些支撑位和阻力位的。

如果当前没有持仓就进入趋势模式,当价格大于突破买入价就开仓做多;当价格小于突破卖出价就开仓做空。

  • 趋势模式

    • 多头开仓:如果无持仓,并且价格大于突破买入价。

    • 空头开仓:如果无持仓,并且价格小于突破卖出价。

    • 多头平仓:如果持多单,并且当日最高价大于观察卖出价,并且价格小于反转卖出价。

    • 空头平仓:如果持空单,并且当日最低价小于观察买入价,并且价格大于反转买入价。

如果有持仓时就进入反转模式,当持有多单时,并且当日最高价大于观察卖出价,并且价格跌破反转卖出价就平掉多头持仓反手做空。当持有空单时,并当日最低价小于观察买入价,并且价格突破反转买入价就平掉空头持仓反手做多。

  • 反转模式

    • 多头开仓:如果持空单,并且当日最低价小于观察买入价,并且价格大于反转买入价。

    • 空头开仓:如果持多单,并且当日最高价大于观察卖出价,并且价格小于反转卖出价。

    • 多头平仓:如果持多单,并且价格小于突破卖出价。

    • 空头平仓:如果持空单,并且价格大于突破买入价。

如下图所示:\

首先看一下这6个价格与前一日价格之间的关系。

  • 反转卖出价和反转买入价 根据公式推导,发现这两个价格和前一日最高最低价没有确定的大小关系。

  • 观察卖出价和观察买入价 用观察卖出价 – 前一交易日最高价发现,(H+P-L)-H = P – L >0,说明观察卖出价>前一交易日最高价;同理可证,观察买入价<前一交易日最低价。

  • 突破买入价和突破卖出价 突破买入价>观察卖出价>前一交易日最高价,可以说明突破买入价>>前一交易日最高价。做差后可以发现,突破买入价 – 前一交易日最高价 = 2[(C-L)+(H-L)]/3。

用K线形态表示:

前一交易日K线越长,下影线越长,突破买入价越高。 前一交易日K线越长,上影线越长,突破卖入价越高。

这样一来就可以解释R-Breaker背后的逻辑了。

当今日的价格突破前一交易日的最高点,从形态上来看会是上涨趋势,具备一定的开多仓条件,但光凭这个条件还不够充分。若前一交易日的下影线越长,说明多空方博弈激烈,多方力量强大。因此可以设置更高的突破买入价,一旦突破说明多方力量稳稳地占据了上风,那么就有理由相信未来会继续上涨。同理可解释突破卖出价背后的逻辑。

  • 持有多仓时,若标的价格持续走高,则在当天收盘之前平仓获利离场。若价格不升反降,跌破观察卖出价时,此时价格仍处于前一交易日最高价之上,继续观望。若继续下跌,直到跌破反转卖出价时,平仓止损。

  • 持有空仓时,若标的价格持续走低,则在当天收盘之前平仓获利离场。若价格不降反升,升至观察买入价时,此时价格仍处于前一交易日最低价之下,继续观望。若继续上涨,直到升至反转买入价时,平仓止损。

下图是TradingView平台下的R-Breaker策略形态

如何启动R-Breaker策略机器人?

1. 登录AntBot账号,在【交易】界面的【机器人】里找到【R-Breaker】。

2. 点击【运行】按钮,进入参数设置页面。

3. 根据个人标准和偏好选择币种。

4. 填入【首张单数】。

  • 【首张单数】机器人从未持仓状态下首次开仓时的持仓量。建议初学者保持默认值。

5. 设置【杠杆率 】【最大单数】 以及【运行方式】。

  • 【杠杆率】:加杠杆可以当做向交易所借入资金去持仓,这份持仓资金相对于本金的倍数即为杠杆率,加杠杆会放大盈亏。建议初学者保持5倍杠杆率的默认值。

  • 【最大单数】:机器人从没有持仓开始允许连续加仓的最大次数。

  • 【运行方式】:分为循环运行和单次运行。循环运行是指每次止盈平仓后机器人会重复下一轮开仓,机器人只会在达到止盈比例或止损比例后才会停止。单次运行是指机器人在完成一次全仓止盈后将自动终止运行。

6. 选择【开单方向】。

  • 【自动】:机器人会根据策略信号自动变更多空头寸开单。

  • 【只多】:机器人只接收多头信号开单。

  • 【只空】:机器人只接收空头信号开单。

7. 设置【止盈比例】与 【止损比例】。

  • 【止盈比例】

1、默认【系统追踪】值,机器人每间隔30分钟计算策略信号。当信号反转时将会平仓止盈,机器人进入下一循环。 2、如有预设比例值,机器人持仓收益率达到此预设值将会平仓止盈,机器人进入下一循环。

  • 【止损比例】

1、默认【系统追踪】值,机器人在建仓时会根据30分钟周期的价格真实波动预埋止损比例,当持仓亏损率达到此预设值将会平仓止损,机器人进入下一循环。 2、如有预设比例值,机器人持仓亏损率达到此预设值将会平仓止损,机器人进入下一循环。

8. 点击【启动】即可成功创建R-Breaker机器人。

R-Breaker策略回测

周期 – 30分钟线 起始金额$1000,每次进场交易金额为100%cash 交易时间:2022/1/1~2022/10/1 标的:ETHUSDTPERP 交易手续费:0.04%

策略的优缺点

优点:

1、在市场处于盘整期时,过滤掉一些小幅波动,即在观察买入价和观察卖出价之间波动时不轻易进场。

2、观察买入价与观察卖出价之间的距离会随着波动变化。如果连续几天盘整波动缩小,R-Breaker的六个价位之间的距离也会跟着缩小。当盘整突破时,会发出进场信号,抢夺优势点位。

3、R-Breaker由趋势和反手两个子策略组合而成,容易掌握盘势的平衡。例如趋势策略回档时,反手策略可以先平仓守住获利,甚至反手开仓抓逆势行情。

缺点:

1、在一段时间急涨急跌的行情中,比较容易触发六个价位,止损频繁。

2、在长期盘整期间,需要加上过滤条件控制六价位之间的距离不要过小,避免频繁开仓。

3、需添加一段时间内过度频繁交易的机制。比如前一日波动幅度较小,造成六价位距离较近,次日价位上下冲击严重,也会造成频繁开平仓。

参考文档:

4月 ago1 minute

\

\

\

\

\

@AntBot free trading bot\

Skip to content
AntBot | Crypto Trading Bot
首页
免费使用AntBot
Home
策略学习
什么是R-Breaker交易策略?
什么是无限网格交易策略?
什么是定投策略?
什么是阵型交易策略?
什么是动量交易策略?
什么是双均线交易策略?
什么是R-Breaker交易策略?
什么是超级趋势交易策略?
什么是相对价值交易策略?
什么是双向网格交易策略?
什么是智能调仓策略?
什么是经典网格交易策略?
什么是智能网格交易策略?
什么是智能马丁交易策略?
什么是贝塔策略?
AntBot
什么是R-Breaker交易策略?
阻力位与支撑位
策略逻辑解析
如何启动R-Breaker策略机器人?
R-Breaker策略回测
策略的优缺点
https://medium.com/@FMZ_Quant/commodity-futures-r-breaker-strategy-f9275c360aa
https://www.myquant.cn/docs/python_strategyies/425
https://www.tradingview.com/script/fYqAT2ys-blackcat-L2-Intraday-R-Breaker-Indicator/
#AntBot
#bot
#R-Breaker
#strategy
#trading