INVITE-ONLY SCRIPT
已更新 - Trading Bot - Pyramidal Candle RSI - Robot Strategy -

1. Concept and Overview
The Pyramidal Candle RSI Strategy is a trend-following algorithm designed to optimize entry points during market pullbacks. Unlike standard strategies that enter a full position on a single indicator crossover, this script utilizes a Pyramidal (DCA) approach combined with strict Candle Geometry and Momentum filters.
The core philosophy is simple: "Buy the dip in an uptrend, sell the rally in a downtrend," but executed with mathematical precision. Instead of guessing the bottom, the strategy splits the allocated capital into multiple fractionated entries, improving the Average Entry Price (AEP) if the market moves against the initial position before reversing.
2. Originality and Key Features
What makes this strategy unique is the combination of Sequential Candle detection and Average Price Targeting:
- Sequential Candle Entry: The strategy does not blindly enter on an indicator signal. For the first entry, it waits for a specific sequence of consecutive candles closing in the signal direction (e.g., entering Long only after a sequence of bearish candles implies a pullback is occurring).
- RSI Slope Detection: Instead of traditional Overbought/Oversold levels, the script analyzes the direction (slope) of the RSI to ensure momentum is shifting in favor of the trade before entering.
- Smart Pyramiding: The script is built to handle up to 20 separate entries. It calculates position size dynamically based on your total allocated capital divided by the maximum allowed entries.
- Average Price Exit Target: Profits are not taken based on the entry price of the first order, but on the Average Entry Price of the entire position. This allows for faster exits and higher win rates even if the first entry was slightly early.
3. How it Works
The Entry Logic:
- Trend Filter (SMA): The market must be above the SMA for Longs (or below for Shorts).
- Momentum Filter (RSI): The RSI line must be curving upwards (for Longs) or downwards (for Shorts) to confirm immediate momentum.
- Candle Sequence: The script detects a user-defined number of consecutive candles to validate the "dip" or the "rally."
- Pyramiding: If the price continues to move against the trade, the strategy adds new positions (up to the user-defined limit) to average down the entry price.
The Exit Logic:
- Profit Target: The strategy closes the entire position once the price reaches a specific percentage deviation (e.g., +1%) from the Average Entry Price.
- Hard Stop Loss / Take Profit: Integrated percentage-based SL and TP are available as a safety net.
4. Settings and Configuration
The script keeps a professional "TopBot" dashboard style for easy monitoring.
- Trading Mode: Choose between Long Only, Short Only, or Both.
- Max Entries: How many times the bot can enter the same trade.
- Consecutive Candles: How many candles of the same color are required to trigger the first entry.
- SMA Length: Defines the long-term trend.
- RSI Settings: Fine-tune the momentum detection (Length and Source).
- Exits: Define your profit target as a percentage of the average price (e.g., 1.0 = 1%).
- Risk Management: Adjustable Stop Loss and Take Profit percentages.
5. Automation Ready
This script is designed for automation. It includes built-in alert message placeholders compatible with 3rd-party webhook automation tools. The alerts automatically transmit:
- Ticker & Timeframe
- Direction (Long/Short)
- Leverage & Quantity parameters
- Stop Loss levels
6. Disclaimer
Past performance is not indicative of future results. This script is a tool for technical analysis and automated execution logic, not financial advice. Always backtest with your specific asset and timeframe before using real capital.
版本注释
Securing calculations only after each closing.仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系Trading-Bot-France。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
You can access this strategy by registering or contacting us directly on our website (see link in the author's description).
1 months' FREE access to this strategy!
Access to the strategy and free training on how to make the most of it and fully automate it on your broker on our website: trading-bot.fr
Access to the strategy and free training on how to make the most of it and fully automate it on your broker on our website: trading-bot.fr
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系Trading-Bot-France。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
You can access this strategy by registering or contacting us directly on our website (see link in the author's description).
1 months' FREE access to this strategy!
Access to the strategy and free training on how to make the most of it and fully automate it on your broker on our website: trading-bot.fr
Access to the strategy and free training on how to make the most of it and fully automate it on your broker on our website: trading-bot.fr
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。