- Accounts & Connection Management
- Data Management & Analysis
- Price Monitoring
- Charting
- Trading
- Scanners
-
Builders
-
Manual Strategy Builder
- Main Concept
- Operand Component
- Algo Elements
-
Use Cases
- How to create a condition on something crossing something
- How to create an indicator based on another indicator
- How to calculate a stop loss based on indicator
- How to submit stop order based on calculated price
- How to calculate a current bar price using a price type from inputs
- How to Use a Closed Bar Price
- Automatic Strategy Builder
-
Manual Strategy Builder
- Autotrading
- FinScript
- Trade Analysis
- Media Feeds
- Logs & Notifications
- UI & UX
The General Settings for the Automatic Strategy Builder (ASB) allow users to configure key parameters that influence how strategies are generated, optimized, and managed. These settings encompass conditions for strategy building, trade types, genetic algorithm configurations, and management of the evolutionary process.
Â
Conditions to Generate
The "Conditions to Generate" settings in the Automatic Strategy Builder (ASB) allow traders to define the foundational rules and parameters that govern how trading strategies are constructed. These settings ensure that the strategies are built based on precise entry and exit conditions, leveraging indicators and signals in a structured manner. Here is a detailed breakdown of each setting:
Â
Global Indicator Period Setting
- Description: This setting establishes the default period for all indicators used in the strategy generation process. The period is a key parameter that affects how indicators interpret market data, influencing the sensitivity and responsiveness of the indicators to price movements.
- Usage: By setting a global indicator period, users can ensure consistency across all indicators, which simplifies the strategy development process and ensures that all indicators operate over the same time frame.
- Example: If the default period is set to 14, all indicators like SMA (Simple Moving Average), RSI (Relative Strength Index), and ATR (Average True Range) will use a 14-period calculation by default unless specifically overridden.
Â
Number of Entry Conditions
- Description: This parameter defines the number of conditions that will be used to construct the entry rules for a trading strategy. Entry conditions are the criteria that must be met for a trade to be initiated.
- Usage: Specifying the number of entry conditions allows users to control the complexity of the strategy. More conditions can lead to more refined and specific entry signals, while fewer conditions might result in broader, more frequent signals.
- Example: If set to 3, the strategy might require that the RSI is below 30, the price is above the 200-day SMA, and the MACD line has crossed above the signal line before entering a trade.
Â
Number of Exit Conditions
- Description: This setting determines how many conditions will be used to build the exit rules for a trading strategy. Exit conditions are criteria that signal when to close a trade.
- Usage: Defining the number of exit conditions helps manage how trades are concluded, potentially optimizing profit-taking and loss-cutting processes. Multiple conditions ensure that exits are well-timed and based on comprehensive analysis.
- Example: If set to 2, the strategy might exit a trade when the price falls below the 50-day SMA or when the ATR indicates increased volatility beyond a set threshold.
Â
Number of Exit Signals
- Description: This parameter sets the number of distinct exit signals that the strategy will use. Exit signals are specific triggers or events that cause the strategy to close an open position.
- Usage: By setting a specific number of exit signals, traders can fine-tune their strategies to respond to multiple market conditions and risk scenarios, improving the robustness and adaptability of the strategy.
- Example: If set to 3, the strategy could include signals such as a trailing stop being hit, a predefined profit target being reached, or a reversal signal from a key indicator like the MACD.
Â
Summary
The "Conditions to Generate" settings in the ASB are critical for defining how trading strategies are formulated. By carefully configuring the global indicator period, the number of entry and exit conditions, and the number of exit signals, traders can create well-rounded and effective trading strategies. These settings provide the foundation for strategies that are responsive to market conditions, ensuring they can enter and exit trades based on precise, rule-based criteria.
Â
Evolutionary Process Management
Â
The "Evolutionary Process Management" settings in the Automatic Strategy Builder (ASB) oversee the ongoing operation and optimization of the genetic algorithm. These settings determine how the evolutionary process is managed, ensuring continuous improvement and effective strategy generation. Below is a detailed explanation of each setting:
Â
Start Again When Finished (Continuous Repeating Evolution)
- Description: This setting allows the genetic algorithm to restart automatically after it completes the specified number of generations. This continuous loop ensures that the strategy generation process is ongoing, continuously seeking to improve and adapt strategies over time.
- Usage: Enabling this setting is beneficial for traders who want the strategy builder to run indefinitely, constantly generating and optimizing strategies without manual intervention. This helps in keeping the strategy pool fresh and updated with new ideas.
- Example: Once the algorithm finishes 100 generations, it will automatically restart and begin a new cycle of 100 generations, repeating this process continuously.
Â
Restart Evolution if Fitness Stagnates for X Generations
- Description: This setting triggers a restart of the genetic algorithm if there is no improvement in the fitness of the population over a specified number of generations. Fitness stagnation indicates that the current population is no longer evolving effectively.
- Usage: This setting is crucial for preventing the algorithm from getting stuck in local optima. By restarting the evolution process after a period of stagnation, the algorithm is given a fresh start to explore new solutions and improve overall fitness.
- Example: If set to 10 generations, the algorithm will restart if it does not find any improvement in the best strategy’s fitness score for 10 consecutive generations.
Â
Automatically Send Generated Strategies to Result Analysis
- Description: When this setting is enabled, all generated strategies are automatically sent to the Result Analysis module for evaluation and reporting. This integration ensures that traders can easily review and analyze the performance of new strategies without manual export.
- Usage: This setting streamlines the workflow by automatically transferring generated strategies to the analysis phase, allowing traders to focus on reviewing results and making informed decisions about which strategies to implement.
- Example: After each generation, the best-performing strategies are sent directly to the Result Analysis module, where detailed performance metrics and reports are generated for trader review.
Â
Summary
The "Evolutionary Process Management" settings are essential for overseeing and maintaining the efficiency of the genetic algorithm in the ASB. By enabling continuous evolution, restarting the process when fitness stagnates, and automating the transfer of strategies to the Result Analysis module, these settings ensure that the strategy generation process is dynamic, adaptive, and seamlessly integrated into the overall trading workflow. This approach helps maintain a high level of innovation and effectiveness in the generated trading strategies.
- Accounts & Connection Management
- Data Management & Analysis
- Price Monitoring
- Charting
- Trading
- Scanners
-
Builders
-
Manual Strategy Builder
- Main Concept
- Operand Component
- Algo Elements
-
Use Cases
- How to create a condition on something crossing something
- How to create an indicator based on another indicator
- How to calculate a stop loss based on indicator
- How to submit stop order based on calculated price
- How to calculate a current bar price using a price type from inputs
- How to Use a Closed Bar Price
- Automatic Strategy Builder
-
Manual Strategy Builder
- Autotrading
- FinScript
- Trade Analysis
- Media Feeds
- Logs & Notifications
- UI & UX