Coding
814 prompts available
1-Minute EA Builder
Create an Expert Advisor (EA) for MetaTrader that operates on a 1-minute time frame, implementing a clear and logical trading strategy suitable for that timeframe. The EA must be fully developed in MQL4 or MQL5, with the following detailed requirements: - Clearly define the trading strategy. - Initialize all necessary parameters, including inputs for stop loss, take profit, and position sizing. - Implement the OnTick() function to analyze price data and execute trades on the 1-minute timeframe. - Incorporate robust money management rules. - Include comprehensive, descriptive comments throughout the code. - Add error handling and logging mechanisms. - The code must contain no external dependencies or require paid plugins. # Output Format Provide the complete MetaTrader EA source code in either MQL4 or MQL5 format, fully commented, ready to compile and deploy immediately.
15 Puzzle JavaScript
Create a functioning implementation of the classic 15 Puzzle game using JavaScript. The game should have a 4x4 grid with tiles numbered 1 through 15 and one empty space. Include functionality to shuffle the tiles, allow user interaction to slide tiles into the empty space, and determine when the puzzle is solved. Ensure that the UI is responsive and visually appealing. Add comments to the code for clarity.
24/7 Automated Trading EA
Create an Expert Advisor (EA) for automated trading that operates continuously 24/7 without interruption. The EA must meet the following requirements: - Monitor the market and execute trades at any time of day or night. - Include robust risk management features such as configurable stop loss, take profit, and dynamic position sizing. - Be designed specifically for MetaTrader 4 (MQL4) or MetaTrader 5 (MQL5). - Implement a clear, well-defined trading strategy with parameters that can be customized by the user. - Handle runtime errors gracefully and ensure stable, continuous operation without manual intervention. # Output Format Provide the complete, well-commented source code of the Expert Advisor in the appropriate syntax for the chosen platform (MQL4 or MQL5).
2D Platformer AI Development
Create an advanced enemy AI system for a 2D platformer game using Godot Engine. This AI should incorporate pathfinding, state machines, and basic attack behaviors for engaging with the player. Details: - Pathfinding: Use Godot's navigation system or implement A* algorithm for efficient enemy movement. - State Machine: Implement states such as 'idle', 'patrol', 'chase', and 'attack' with transitions based on player proximity. - Attack Behaviors: Code basic attack patterns including melee and ranged attacks with cooldown periods. # Output Format Provide detailed code snippets and explanations for each part of the AI system. Include commentary within the code to clarify specific logic and techniques used.
3D Animated Neobrutalist Login
Create a 3D animated login page using Next.js, Tailwind CSS, and JavaScript that embodies the neobrutalist design style. The design should incorporate the specific colors provided by the user and ensure responsiveness across different devices. Requirements: - Use Next.js framework for structure and routing. - Style entirely with Tailwind CSS. - Implement a visually distinctive neobrutalist style with bold shapes, unconventional layouts, strong contrasts, and playful minimalism. - Include clean, well-commented, and maintainable code. - Ensure all animations are smooth and performance-optimized. - Design must be fully responsive. # Output Format Provide a complete Next.js page code file including all necessary imports, Tailwind CSS classes, and embedded JavaScript for animations.
1-Minute Scalping EA
Create an Expert Advisor (EA) for MetaTrader that performs 1-minute based scalping trades. The EA should include the following features: - Entry Criteria: Define the conditions under which the EA opens a trade on the 1-minute chart. - Stop Loss (SL): Implement a configurable stop loss for each trade. - Take Profit (TP): Implement a configurable take profit to secure gains. - Trade Management: Ensure the EA manages open trades by monitoring SL and TP levels. - Risk Management: Allow user input for lot sizes and risk parameters. # Output Format Provide the full Expert Advisor code in MQL4 or MQL5, with comments within the code for clarity.
24/7 Expert Advisor
Create an Expert Advisor (EA) for automated trading that operates continuously 24/7 without interruption. The EA should: - Monitor the market and execute trades at any time of day or night. - Include risk management features such as stop loss, take profit, and position sizing. - Implement a clear trading strategy or allow parameter customization. - Handle errors and ensure robust operation without manual intervention. # Output Format Provide the complete source code of the EA in the syntax of the chosen trading platform language (MQL4 or MQL5).
2D Platformer Development
Create a complete 2D platformer game. Game Design Components: - Game Mechanics: Detail player control, platform movement, jump physics, collision detection, and enemy AI. - Visual Design: Specify art styles for characters, environments, and animations. - Levels: Design levels that progress in difficulty with objectives, rewards, and obstacles. - Audio Elements: Suggest sound effects and background music. # Output Format - Provide a step-by-step guide focusing on code snippets, pseudocode, and file organization. - Include commentary within code to explain logic and choices.
16 Youcine Code
Create a program in the 16 Youcine programming language that accomplishes a specific task or solves a particular problem. Ensure the code is clear, properly commented, and follows best practices for readability and efficiency. # Steps 1. Understand the requirements or problem that the code needs to solve. 2. Outline the algorithm or logic needed for the solution. 3. Write the 16 Youcine code implementing the solution. 4. Include comments explaining key parts of the code. 5. Test the code with sample inputs to verify correctness. # Output Format Provide the complete 16 Youcine code snippet, including any necessary comments.
3D Animated Portfolio Development
You are a developer creating a 3D animated portfolio website. Your primary task is to implement a visually engaging background animation featuring a fish swimming smoothly to enhance the site's aesthetics. Additionally, the project section should be designed entirely in 3D, with interactive 3D divisions representing each project. Focus on: - Creating a realistic and smoothly animated 3D fish swimming in the background. - Implementing the project section so that each project is displayed within a dedicated 3D division. - Ensuring the 3D elements integrate seamlessly with the website's layout and maintain performance. # Output Format Provide detailed implementation guidance including technology choices, sample code snippets for 3D animation and project sections, and best practices for integrating 3D elements into a portfolio website.
2D Platformer Game
Create a simple 2D platformer game where the player character can jump on platforms. The game should include: - A player avatar that can move left, right, and jump. - Multiple platforms positioned at different heights and locations. - Gravity that causes the player to fall when not standing on a platform. - Collision detection so the player can land and stand on platforms. - Continuous gameplay where the player can jump from one platform to another. # Output Format Provide the full source code of the game in a popular programming language suitable for simple 2D games (such as Python using Pygame). The code should be runnable and include clear comments.
24/7 MetaTrader 5 EA
Create a fully functional Expert Advisor (EA) for the MetaTrader 5 platform using MQL5 that operates continuously 24/7 without interruption. Requirements: - Monitor the market and execute trades at any time. - Implement a trading strategy based on moving averages and RSI on the 5-minute (M5) timeframe with customizable parameters. - Integrate robust risk management: configurable stop loss, take profit, and dynamic position sizing based on risk percentage. - Handle runtime errors gracefully with recovery mechanisms. - Provide comprehensive in-code comments. # Output Format Provide the complete, well-structured, and fully commented MQL5 source code ready for compilation and deployment on MetaTrader 5.