INVITE-ONLY SCRIPT

IsAlgo - AI Trend Strategy

Mis à jour
Overview:
The AI Trend Strategy employs a combination of technical indicators to guide trading decisions across various markets and timeframes. It uses a custom Super Trend indicator and an Exponential Moving Average (EMA) to analyze market trends and executes trades based on specific candlestick patterns. This strategy includes options for setting stop losses, take profit levels, and features an alert system for trade notifications.

Description:
This strategy focuses on identifying the optimal "entry candle," which signals either a potential correction within the ongoing trend or the emergence of a new trend. The entry criteria for this candle are highly customizable, allowing traders to specify dimensions such as the candle's minimum and maximum size and body ratio. Additional settings include whether this candle should be the highest or lowest compared to recent candles and if a confirmation candle is necessary to validate the entry.

The Super Trend indicator is central to the strategy’s operation, dictating the direction of trades by identifying bullish or bearish trends. Traders have the option to configure trades to align with the direction of the trend identified by this indicator, or alternatively, to take positions counter to the trend for potential reversal strategies. This flexibility can be crucial during varying market conditions.

Additionally, the strategy incorporates an EMA alongside the Super Trend indicator to further analyze trend directions. This combined approach aims to reduce the occurrence of false signals and improve the strategy's overall trend analysis.

The learning algorithm is a standout feature of the AI Trend Strategy. After accumulating data from a predefined number of trades (e.g., after the first 100 trades), the algorithm begins to analyze past performances to identify patterns in wins and losses. It considers variables such as the distance from the current price to the trend line, the range between the highest and lowest prices during the trend, and the duration of the trend. This data informs the algorithm's predictions for future trades, aiming to improve accuracy and reduce losses by adapting to the evolving market conditions.

Examples of Trade Execution:
1. In an Uptrend: The strategy might detect a suitable entry candle during a correction phase, which aligns with the continuing uptrend for a potential long trade.
snapshot

2. In a Downtrend: Alternatively, the strategy might identify an entry candle at the end of a downtrend, suggesting a potential reversal or correction where a long trade could be initiated.
snapshot

3. In an Uptrend: The strategy may also spot an entry candle at the end of an uptrend and execute a short trade, anticipating a reversal or significant pullback.
snapshot

4. In a Downtrend: The strategy might find a suitable entry candle during a correction phase, indicating a continuation of the downtrend for a potential short trade.
snapshot

These examples illustrate how the strategy identifies potential trading opportunities based on trend behavior and candlestick patterns.

Features and Settings:
⚙︎ Trend: Utilizes a custom Super Trend indicator to identify the direction of the market trend. Users can configure the strategy to execute trades in alignment with this trend, take positions contrary to the trend, or completely ignore the trend information for their trading decisions.

⚙︎ Moving average: Employs an Exponential Moving Average (EMA) to further confirm the trend direction indicated by the Super Trend indicator. This setting can be used in conjunction with the Super Trend or disabled if preferred.

⚙︎ Entry candle: Defines the criteria for the candle that triggers a trade. Users can customize aspects such as the candle's size, body, and its relative position to previous candles to ensure it meets specific trading requirements before initiating a trade.

⚙︎ Learning algorithm: This component uses historical trade data to refine the strategy. It assesses various aspects of past trades, such as price trends and market conditions, to make more informed trading decisions in the future.

⚙︎ Trading session: Users can define specific trading hours during which the strategy should operate, allowing trades to be executed only during preferred market periods.

⚙︎ Trading days: This option enables users to specify which days the strategy should be active, providing the flexibility to avoid trading on certain days of the week if desired.

⚙︎ Backtesting: Enables a period during which the strategy can be tested over a selected start and end date, with an option to deactivate this feature if not needed.

⚙︎ Trades: Detailed configuration options include the direction of trades (long, short, or both), position sizing (fixed or percentage-based), the maximum number of open trades, and limitations on the number of trades per day or based on trend changes.

⚙︎ Trades Exit: Offers various strategies for exiting trades, such as setting limits on profits or losses, specifying the duration a trade should remain open, or closing trades based on trend reversal signals.

⚙︎ Stop loss: Various methods for setting stop losses are available, including fixed pips, based on Average True Range (ATR), or utilizing the highest or lowest price points within a designated number of previous candles. Another option allows for closing the trade after a specific number of candles moving in the opposite direction.

⚙︎ Break even: This feature adjusts the stop loss to a break-even point under certain conditions, such as reaching predefined profit levels, to protect gains.

⚙︎ Trailing stop: The trailing stop feature adjusts the stop loss as the trade moves into profit, aiming to secure gains while potentially capturing further upside.

⚙︎ Take profit: Up to three take profit levels can be established using various methods, such as a fixed amount of pips, risk-to-reward ratios based on the stop loss, ATR, or after a set number of candles that move in the direction of the trade.

⚙︎ Alerts: Includes a comprehensive alert system that informs the user of all significant actions taken by the strategy, such as trade openings and closings. It supports placeholders for dynamic values like take profit levels, stop loss prices, and more.

⚙︎ Dashboard: Provides a visual display of detailed information about ongoing and past trades on the chart, helping users monitor the strategy’s performance and make informed decisions.

Backtesting Details:
Timeframe: 15-minute BTCUSD chart.
Initial Balance: $10,000.
Order Size: 4% of equity per trade.
Commission: 0.01%.
Slippage: 5 ticks.
Risk Management: Strategic stop loss settings are applied based on the most extreme price points within the last 18 candles.
Notes de version
  • Added Main Trend Strength.
  • Added SuperTrend Filter.
  • Added Minimum Stop Loss Pips.
  • Fixed issue with missing data in alerts.
  • Updated styles and default colors.
  • Included fixes for other bug issues.
Notes de version
  • Addressed issues with styling.
  • Improved input naming for clarity.
Candlestick analysisisalgolearningalgorithmMoving AveragesTrend Analysistrendpatterntrendreversal

Script sur invitation seulement

L'accès à ce script est limité aux utilisateurs autorisés par l'auteur et nécessite généralement un paiement. Vous pouvez l'ajouter à vos favoris, mais vous ne pourrez l'utiliser qu'après avoir demandé et obtenu l'autorisation de son auteur. Contactez isalgo pour plus d'informations, ou suivez les instructions de l'auteur ci-dessous.

TradingView ne suggère pas de payer pour un script et de l'utiliser à moins que vous ne fassiez confiance à 100% à son auteur et que vous compreniez comment le script fonctionne. Dans de nombreux cas, vous pouvez trouver une bonne alternative open-source gratuite dans nos Scripts communautaires.

Instructions de l'auteur

Vous voulez utiliser ce script sur un graphique ?

Avertissement: veuillez lire avant de demander l'accès.

Aussi sur:

Clause de non-responsabilité