Coding
814 prompts available
Aggressive M1 Scalping EA
You are tasked with creating an aggressive scalping Expert Advisor (EA) for the 1-minute (M1) timeframe that integrates multiple trading techniques including price action, VWAP (Volume Weighted Average Price), order flow analysis, and Smart Money Concepts (SMC). The EA should have the following capabilities and constraints: - **Entry Conditions:** Use combined signals from price action patterns, VWAP levels, order flow indications, and SMC to identify high-probability entry points. - **False Signal Avoidance:** Implement filters to avoid entering trades during false signals or market noise. - **Initial Capital:** Start trading with an initial capital of $20. - **Risk Management:** Incorporate proper money management (MM) strategies to protect capital. - **Trailing Stop:** Use a trailing stop mechanism to lock in profits and minimize losses. # Steps 1. Analyze price action, VWAP, order flow, and SMC signals collectively to decide when to enter a trade. 2. Apply filters that detect and prevent entry on false or unreliable signals. 3. Manage each trade with an appropriate trailing stop to adjust to favorable price movements. 4. Implement money management rules suited for a $20 initial capital to control risk per trade and overall exposure. # Output Format Provide a detailed description or pseudo-code of the EA logic covering the entry, exit, risk management, and signal filtering methods, along with clear explanation of how the different techniques are integrated. Optionally, include code snippets in MQL4/MQL5 or a structured algorithm outline suitable for development.
Aggressive MT5 EA $10 to $5000
Create a detailed and robust Expert Advisor (EA) for MetaTrader 5 (MT5) designed to transform a $10 starting balance into $5000 within a single trading day. The EA should employ effective risk management, optimized trading strategies, and adaptive market analysis to achieve aggressive yet controlled profit targets in a highly volatile environment. The solution must include: - Clear explanation of the trading strategy employed (e.g., scalping, breakout, trend-following). - Risk management techniques to minimize drawdown and protect capital. - Indicators and parameters used for entry and exit signals. - Handling of different market conditions to maintain performance reliability. - Backtesting and forward testing considerations specific to the goal. # Steps 1. Analyze high-frequency and high-volatility trading strategies suitable for rapid capital growth. 2. Define precise entry and exit rules based on real-time market indicators. 3. Implement risk controls such as stop-loss, take-profit, and position sizing. 4. Optimize EA parameters considering slippage, spread, and latency impacts. 5. Conduct thorough backtesting and optimization. 6. Validate the EA with forward testing on demo accounts before live deployment. # Output Format Provide the complete, well-commented MQL5 code for the EA script compatible with MetaTrader 5, including any custom indicators or libraries if necessary. Additionally, include a comprehensive strategy explanation as a separate textual description within the output.
Age Calculator Requirements
Develop a comprehensive requirements document for an Age Calculator app using React Native and Expo. ## Functional Requirements 1. **Calculate Age**: The app should accurately calculate an individual's age based on the input birthdate and the current date. 2. **Input Birthdate**: Users should be able to input their birthdates using a user-friendly date picker. 3. **Display Age in Years, Months, and Days**: After calculation, show the age in terms of years, months, and days. 4. **User Interface**: The app should have a clean, intuitive interface that adheres to mobile UX design principles. 5. **Dark/Light Mode Support**: Provide an option for users to switch between dark and light mode. ## Non-Functional Requirements 1. **Performance**: The application should perform calculations instantly and smoothly without noticeable delays. 2. **Cross-Platform Compatibility**: The app should work seamlessly on both Android and iOS devices. 3. **Security**: Ensure user data, specifically input birthdates, are managed securely with no data leaks. 4. **Usability**: The app should be easy to understand and use without the need for a manual. 5. **Responsiveness**: UI should adjust correctly to screens of various sizes and orientations. ## Technical Requirements 1. **React Native and Expo**: Utilize React Native for development and Expo for easy cross-platform deployment. 2. **Environment Setup**: Provide clear documentation for setting up the development environment. 3. **Automated Testing**: Include unit and integration tests to ensure app reliability. 4. **Version Control**: Use Git for version control to manage and track changes. ## Documentation 1. **User Manual**: Create a detailed user manual to help users navigate and use the app efficiently. 2. **Development Guide**: Ensure detailed documentation of the codebase to assist other developers understanding and contributing to the project. ## Maintenance and Support 1. **Bug Tracking**: Establish a system for tracking and addressing bugs. 2. **User Feedback**: Implement a feature to collect user feedback and ratings. --- By addressing these requirements, you will ensure the development of a robust, user-friendly Age Calculator app using React Native and Expo.
Age Calculator Tool
Create a prompt for a language model to generate a tool that calculates age based on a given birth date. ### Steps 1. **Receive Input**: Ensure the input is a valid date format (e.g., YYYY-MM-DD, MM-DD-YYYY). 2. **Calculate Current Age**: - Extract the year, month, and day from the input date. - Compare this with the current date to compute the age in years. - Handle edge cases for month and day to adjust the age calculation. 3. **Output**: Present the age in years, and optionally in months and days for precision. ### Output Format - Return the age as an integer or a string that states the number of years (and optionally months and days) since the birth date. - Example format: "You are 29 years old." or "You are 29 years, 3 months, and 12 days old." ### Example **Input**: "1990-07-25" **Output**: "You are 33 years old." (as of 2023) ### Notes - Ensure robust error handling for invalid date formats. - Consider leap years in your calculation. - Be aware of time zones if irrelevant by fixing to a common standard date (e.g., UTC).
Aggressive MT5 EA for GOLDi
You are to develop an aggressive Expert Advisor (EA) for MetaTrader 5 (MT5) that operates on Market4You broker's 'GOLDi' symbol using a cent account format (CNT). The EA must utilize price action strategies strictly on the 1-minute timeframe. Key requirements: - Use price action analysis on the 1-minute (M1) chart for trading decisions. - Operate on a cent account where the initial balance is 100 CNT. - The goal is to grow the account balance aggressively to 10,000 CNT. - Implement small take profit targets per trade to minimize risk, but structure the strategy so that the cumulative profit achieves the target growth. - Automatically display or report the current account balance/equity and the profit target achieved. Instructions: - Develop or outline the EA logic that suits aggressive growth from 100 CNT to 10,000 CNT with small take profits based on price action signals on M1 timeframe. - Consider the broker and symbol specifics (Market4You, GOLDi, cent account format). - The EA should manage risk and position sizing to reach the profit goal efficiently. Please provide your detailed approach, including how the price action will be identified on M1, risk management techniques, trade entry and exit rules, and how the EA will display the balance and profit target automatically. # Output Format Provide a structured plan or sample code snippet for the MT5 EA demonstrating the core trading logic, money management, and reporting features. Use clear comments and concise explanations to convey your implementation strategy.
Aggressive MT5 HFT Scalper
Create a highly automated, aggressive high-frequency trading bot for the MetaTrader 5 (MT5) platform using MQL5 that rapidly executes trades to maximize short-term profits by utilizing RSI, MACD, and moving averages for precise automatic entry and exit points. The bot must incorporate dynamic, real-time risk management features, including automatic trailing stops, automatic exits designed to minimize losses or lock in profits, and adaptive take profit levels that adjust according to current market volatility. Support customizable input parameters to control trading aggressiveness, risk tolerance, position sizing, and indicator thresholds. Include an optional Martingale strategy toggle and manual daily profit and loss targets, but explicitly exclude any grid system trading or hedging; the bot should focus exclusively on live, real scalping with aggressive profit targeting. The bot should continuously monitor market data to identify every viable trading opportunity and dynamically adjust open positions accordingly. # Steps 1. Define an aggressive high-frequency scalping strategy based on RSI, MACD, and moving averages specifically optimized for MT5. 2. Structure and develop the MQL5 code to implement the strategy, compute all technical indicators, generate trading signals, and execute trades with ultra-fast responsiveness. 3. Integrate robust risk management systems including dynamic auto-exit conditions, trailing stop-loss, and adaptive position sizing based on observed market volatility. 4. Conduct comprehensive testing using the MT5 strategy tester across diverse market conditions to ensure stable, reliable performance. 5. Optimize input parameters to finely tune the balance between aggressiveness and managing drawdowns. # Output Format Deliver the complete MQL5 source code of the trading bot, extensively commented with clear explanations of: - How RSI, MACD, and moving averages drive entry and exit signals. - The exact logic behind each trading and risk management feature including trailing stops, adaptive take profits, and automatic exits. - Configuration details for input parameters governing aggression levels, risk tolerance, position sizing, and indicator thresholds. - The implementation and usage of optional features like Martingale and daily profit/loss targets. Additionally, provide a detailed summary document covering: - An overview of the trading strategy and rationale for its choices. - The role and influence of each technical indicator within the strategy. - The mechanisms and rationale behind the risk management approaches. - Guidance on adjusting parameters to customize aggressiveness and risk tolerance. - Instructions on enabling and safely using optional features such as Martingale and daily profit/loss limits. # Notes Ensure full compliance with MetaTrader 5 standards, including trade execution protections and error handling. Emphasize ultra-fast trade responsiveness to market changes while maintaining firm risk controls aligned with an aggressive scalping philosophy. Exclude any grid system or hedging strategies to maintain a pure high-frequency scalping approach optimized for live trading and short-term profit maximization with automated safeguards to limit excessive losses.
Age Calculator Tool
Create a program that calculates the age of a person or any entity based on the given date of birth. Your goal is to develop an age calculator tool that accepts a birthdate input and returns the corresponding age as of the current date. # Steps 1. **Input**: Prompt the user to enter the birthdate in a specified format (e.g., "YYYY-MM-DD"). 2. **Validate**: Ensure the input follows the expected format and represents a valid date. 3. **Current Date**: Obtain the current date from the system. 4. **Calculation**: Compute the age by subtracting the birthdate year from the current year. Adjust for whether the current date has already passed the birthdate in the current year. 5. **Output**: Display the calculated age to the user. # Output Format - Return the age in years. If needed, include months for extra precision (e.g., "25 years, 3 months"). # Examples - **Input**: "1995-06-25" **Output**: "28 years" - **Input**: "2000-12-01" **Output**: "23 years" # Notes - Consider edge cases, such as February 29 (leap years) and invalid dates. - Ensure the program can handle various date formats if extending functionality.
Aggressive MT5 Supercode Builder
Create an advanced, aggressive trading algorithm coded for MetaTrader 5 (MT5) that operates on a minimum one-hour timeframe, starting with an initial capital of 50 euros. Before developing the code, conduct comprehensive research to identify and analyze the most effective technical indicators and existing aggressive trading strategies known for high profitability, liquidity, and volume across diverse market conditions. This AI-powered trading system must: - Simultaneously execute buy and sell orders to capitalize on multiple market movements. - Operate continuously 24/7, ensuring consistent market monitoring and execution. - Incorporate advanced market scanning capabilities to analyze real-time market data and determine optimal entry and exit points for trades. - Include essential trading features such as take profit, trailing stop, and risk management to maximize profits while minimizing losses. - Be adaptable and robust across all market scenarios to maintain performance during varying volatility and trend conditions. Gather insights from various aggressive trading bots, especially those developed using AI and GPT technologies, merging the best elements to construct a "supercode" that outperforms existing solutions. Document the rationale for chosen indicators and strategies, explaining how they contribute to aggressive yet effective trade execution. # Steps 1. Research and collect top-performing technical indicators suitable for aggressive trading on MT5, focusing on high liquidity and volume markets. 2. Analyze existing aggressive MT5 trading algorithms and AI models, noting their strengths and limitations. 3. Design a hybrid trading strategy that combines the best indicators and algorithmic approaches discovered. 4. Implement the strategy with robust market scanning and decision-making AI components. 5. Integrate full automated trading features: simultaneous buy/sell orders, take profit, trailing stops, and risk management. 6. Test the algorithm for 24/7 operation and adaptability across different market conditions. 7. Optimize based on backtesting and forward testing results to ensure high profitability and reliability. # Output Format Provide the complete MT5 expert advisor code written in MQL5, thoroughly commented to explain each part of the implementation. Include a detailed explanation document outlining: - The research findings and selected indicators. - The algorithmic logic and AI components employed. - How the code achieves simultaneous buy and sell operations. - Risk management techniques embedded. Include guidelines on deploying the code in MT5 and recommendations for monitoring and maintaining the trading system. Ensure clarity and structure for easy understanding and future enhancements.
Age Calculator with Validation
Create an interactive age calculator using the Date object that fulfills the following requirements: - Provide three selection lists for user input: - Month (January to December) - Day (1 to 31, adjusted appropriately based on the selected month and year to account for month length and leap years) - Year (from 1900 to 2100) - Include a button labeled clearly to perform the age calculation upon user interaction. - When the button is clicked, validate the user input to ensure the selected date is valid (e.g., no February 30, considering leap years) and that the date is not in the future. - Calculate the user's exact age relative to the current date, detailing: - Years, months, and days - Total number of months lived - Total number of days lived - Total number of hours lived - Total number of minutes lived - Additionally, compute and display the number of days remaining until the user’s next birthday. - Present all results clearly and formatted for easy readability. Ensure your solution dynamically adjusts day options based on the month and year selected and correctly handles leap years and date validation errors with appropriate messages. # Steps 1. Create dropdown menus for month, day, and year with correct ranges. 2. Adjust the number of days shown dynamically based on selected month and year. 3. Add a calculate button. 4. On clicking the button, validate the selected date. 5. Calculate the user's age in years, months, days. 6. Calculate total months, days, hours, and minutes lived. 7. Calculate days until the next birthday. 8. Display the results with clear formatting. # Output Format Return the implementation code (e.g., HTML with embedded JavaScript) that produces the described interactive age calculator with validation and detailed age calculations. The output should include all necessary elements for user input, calculations, and displaying results. If textual or pseudo-code explanation is given additionally, format it separately from the code block. # Notes - Properly handle leap years when adjusting day options and validating input. - Validate that the date is not in the future. - Ensure that the user interface prevents impossible dates by disabling invalid day options dynamically. - Use clear labels and layout for usability.
Age Gap Calculator Script
Create a responsive Age Gap Calculator website script using HTML, CSS, and JavaScript. The calculator should include fields for entering the birthday of Person 1 (year, month, day) and Person 2 (year, month, day). The design should have a clean white background and be fully functional within a WordPress environment. After inputting the birthdates, the calculator should display the age gap in years, months, and days between the two individuals.
Aggressive MT5 Trading Bot
Create a highly automated, aggressive high-frequency trading bot for the MetaTrader 5 (MT5) platform using MQL5. The bot must rapidly execute trades to maximize short-term profits by using technical indicators—specifically RSI, MACD, and moving averages—to identify precise automatic entry and exit points. The bot should implement dynamic, real-time risk management features, including automatic trailing stops, automatic exits minimizing losses or securing profits, and adaptive take profit levels that adjust according to market volatility. It must support customizable input parameters that control aggressiveness, risk tolerance, position sizing, and indicator thresholds. Include an optional Martingale strategy toggle, daily profit and loss targets for manual inputs, but explicitly exclude any grid system trading or hedging; only support live, real scalping with aggressive profit targeting. The bot must continuously monitor market data to identify every trading opportunity and adjust open positions dynamically. # Steps 1. Define an aggressive trading strategy leveraging RSI, MACD, and moving averages optimized for high-frequency scalping. 2. Develop the MQL5 code structure that implements this strategy, calculating technical indicators and executing trades accordingly. 3. Integrate advanced risk management features: dynamic auto exit rules, trailing stop-loss orders, and position sizing adaptive to current volatility. 4. Thoroughly test the bot in MT5's strategy tester across varied market scenarios to ensure reliable performance and stability. 5. Optimize input parameters to balance between aggressive trading behavior and controlling drawdowns. # Output Format Provide the full MQL5 source code for the trading bot, thoroughly commented. Comments must clearly explain the logic behind each part: how the indicators (RSI, MACD, moving averages) are used; how entry and exit signals are generated; the risk management approaches including trailing stops and adaptive take profit; and the parameter configurations. Additionally, supply a detailed summary document describing: - The overall trading strategy and its rationale, - How each technical indicator contributes to decision making, - The mechanics of risk management implemented, - Instructions to adjust parameters for tuning aggressiveness and risk tolerance, - How optional features like Martingale and daily profit/loss targets work and how to enable them. # Notes Ensure compliance with MetaTrader 5 platform standards including trade execution protections. Prioritize ultra-fast trade responsiveness to market changes while applying risk controls consistent with an aggressive scalping strategy. Avoid grid and hedging methods. The bot must be suitable for live trading with a focus on maximizing short-term profit potential while limiting excessive losses through automated safeguards.
Aggressive Profit MQL5 EA
Create a highly aggressive and profitable Expert Advisor (EA) in MQL5 that focuses on accumulating profits efficiently. The EA should include automated mechanisms for setting take profit and stop loss levels to manage risk and maximize gains. Ensure the EA handles trade entries, exits, and position management with an aggressive strategy while maintaining proper risk controls. Guidelines: - The EA should open trades based on an aggressive trading strategy (e.g., trend following, breakout, or momentum-based). - Implement automatic take profit and stop loss levels for each trade, configurable through input parameters. - Include clear logic for position sizing and trade management to accumulate profits aggressively. - Ensure code is well-structured, efficient, and commented for clarity. - Use MQL5 conventions and best practices. Steps: 1. Define input parameters for take profit, stop loss, lot size, and any other strategy-specific variables. 2. Implement signal conditions for opening buy and sell positions based on the chosen aggressive approach. 3. Implement automatic setting of take profit and stop loss at trade entry. 4. Manage existing positions appropriately, including modifications or scaling if needed. 5. Include error handling and trade confirmation checks. 6. Provide comments explaining key sections and parameters. Output Format: Provide the full MQL5 code for the Expert Advisor (EA), including all sections: inputs, OnInit, OnDeinit, OnTick, trade logic, and any necessary helper functions. Ensure the code is properly indented and commented for readability.