Inner circle trader complete strategy EA

MQL5 Experts Forex C++

Specification

Develop an MQL5 Expert Advisor (EA) that implements a robust Inner Circle Trader (ICT) strategy. The EA should be capable of identifying market structure shifts, order blocks, fair value gaps (FVGs), and executing trades based on these concepts. Additionally, it should include multi-timeframe analysis, advanced risk management, time-based filters, and real-time performance monitoring.

### 1. Market Structure and Trend Analysis
   - **Objective**: Determine the current market trend and identify shifts in market structure that signal potential reversals.
   - **Logic**:
     - Identify swing highs and swing lows on the chart. A swing high is a peak with lower highs on both sides, and a swing low is a trough with higher lows on both sides.
     - A **bullish market structure shift** occurs when the price breaks above the previous swing high after forming a higher low.
     - A **bearish market structure shift** occurs when the price breaks below the previous swing low after forming a lower high.
     - Store the most recent valid swing highs and swing lows to determine market direction.
     - **Multi-Timeframe Analysis**: Analyze market structure on multiple timeframes (e.g., H4, H1, M15). Align lower timeframe signals with higher timeframe trends to improve trade accuracy. For example, only take a bullish entry on the M15 chart if the H1 and H4 charts are also bullish.

### 2. Order Block Identification
   - **Objective**: Identify and mark bullish and bearish order blocks, where institutional orders are likely placed.
   - **Logic**:
     - **Bullish Order Block**: The last bearish candle before a significant upward move that breaks market structure (price closes above the previous swing high).
     - **Bearish Order Block**: The last bullish candle before a significant downward move that breaks market structure (price closes below the previous swing low).
     - Order blocks should be marked as zones between the open and close of the identified candle.
     - Track order blocks across multiple timeframes (e.g., H4, H1, M15), prioritizing the most recent and relevant ones.
     - Integrate **Advanced Entry Techniques** like Optimal Trade Entry (OTE): Calculate and mark the 61.8% to 79% Fibonacci retracement levels within an order block for refined entry points.

### 3. Fair Value Gap (FVG) Detection
   - **Objective**: Identify and mark Fair Value Gaps (imbalances) on the chart, which price often retraces to fill.
   - **Logic**:
     - An FVG is created when there is a large price movement that leaves a gap between two candles, creating an inefficiency.
     - Specifically, a gap exists when the low of the current candle is above the high of the previous two candles (bullish FVG) or the high of the current candle is below the low of the previous two candles (bearish FVG).
     - Mark FVGs on the chart as potential retracement levels for price to revisit.
     - The EA should monitor when price enters an FVG zone and look for confluence with other factors like order blocks and market structure shifts.

### 4. Kill Zone Time Filters
   - **Objective**: Limit trading to high-probability time periods known as "Kill Zones" when institutional traders are most active.
   - **Logic**:
     - Implement three primary Kill Zones:
       1. **London Open Kill Zone**: 7:00 AM - 10:00 AM London time.
       2. **New York Open Kill Zone**: 7:00 AM - 10:00 AM New York time.
       3. **New York Close Kill Zone**: 1:00 PM - 4:00 PM New York time.
     - The EA should only execute trades during these Kill Zones, configurable via input parameters.
     - Include an option to adjust Kill Zone times for different assets or trading sessions.
     - **Non-Kill Zone Trade Management**: Define how the EA should manage trades outside Kill Zones. Options may include closing positions, tightening stop-losses, or holding positions until the next Kill Zone.

### 5. Trade Execution Rules
   - **Buy Entry**:
     - **Market Structure**: A bullish market structure shift is identified (price breaks a previous swing high).
     - **Order Block**: Price retraces into a bullish order block that aligns with the structure shift.
     - **FVG**: Price enters a bullish FVG near the order block for added confluence.
     - **Multi-Timeframe Confluence**: Ensure higher timeframes (user adjustable) also support a bullish bias.
     - **Time Filter**: The trade must occur within a Kill Zone.
     - Place the stop loss below the identified order block or swing low, with the take profit at the next significant structure level or a 2:1 risk-to-reward ratio.
     - Consider **Partial Take Profit** at predefined levels, such as 50% of the position closed at a 1:1 risk/reward ratio, with the remaining position running to the final take-profit target.

   - **Sell Entry**:
     - **Market Structure**: A bearish market structure shift is identified (price breaks a previous swing low).
     - **Order Block**: Price retraces into a bearish order block that aligns with the structure shift.
     - **FVG**: Price enters a bearish FVG near the order block for added confluence.
     - **Multi-Timeframe Confluence**: Ensure higher timeframes ( user adjustable) also support a bearish bias.
     - **Time Filter**: The trade must occur within a Kill Zone.
     - Place the stop loss above the identified order block or swing high, with the take profit at the next significant structure level or a 2:1 risk-to-reward ratio.
     - Consider **Partial Take Profit** at predefined levels, such as 50% of the position closed at a 1:1 risk/reward ratio, with the remaining position running to the final take-profit target.

### 6. Risk Management and Position Sizing
   - **Objective**: Implement advanced risk management to protect capital and optimize returns.
   - **Logic**:
     - Allow the user to set a fixed percentage of account equity to risk per trade ( user adjustable%).
     - Calculate position size based on the stop loss distance and the specified risk percentage.
     - Include an option for a trailing stop that follows market structure or a fixed pip distance.
     - Implement **Break-Even Management**: Move the stop loss to break-even after the trade has reached a predefined profit level (user adjustable risk/reward ratio).
     - **News Filter**: Incorporate a news filter to avoid opening new trades or close existing ones during significant economic events. This can be linked to an external economic calendar or input manually by the user.

### 7. Real-Time Performance Monitoring
   - **Objective**: Provide live feedback and performance tracking.
   - **Logic**:
     - Include a real-time performance dashboard on the chart, showing key metrics such as win rate, profit factor, drawdown, trade frequency, and average risk/reward ratio.
     - Allow users to adjust settings based on performance feedback directly from the chart interface.
     - Include visual feedback on the chart for active order blocks, FVGs, Kill Zones, entry/exit points, and trade outcomes.

### 8. Handling Different Market Conditions
   - **Objective**: Adapt the strategy to different market conditions (trending vs. ranging markets).
   - **Logic**:
     - Implement a module that detects market conditions using indicators such as the Average True Range (ATR) for volatility or moving averages for trend direction.
     - Adjust strategy parameters based on detected conditions. For instance, avoid trading during low-volatility periods or in a sideways market.
     - **Risk Events and Sentiment**: Optionally include analysis of broader market sentiment (e.g., COT data) or specific risk events to adjust trading behavior.

### 9. Error Handling and Debugging
   - **Objective**: Ensure the EA handles unexpected situations gracefully and provides clear feedback.
   - **Logic**:
     - Implement error-handling routines to log any errors or unexpected behavior.
     - Set up notifications for errors, such as spread spikes, data issues, or disconnections.
     - Provide clear alerts and guidance for troubleshooting directly within the EA.

### 10. Backtesting and Optimization
   - **Objective**: Ensure the EA is robust and performs well across different market conditions.
   - **Logic**:
     - The EA should be fully backtestable in the MT5 Strategy Tester, with clear visual markings of order blocks, FVGs, Kill Zones, and trade entries/exits.
     - Include input parameters for optimizing key settings such as Kill Zone times, risk percentage, stop loss distance, and trailing stop criteria.
     - Provide detailed backtest reports, including profit/loss, win rate, drawdown, risk/reward metrics, and analysis by market condition.

### 11. Alerts and Notifications
   - **Objective**: Provide timely alerts for potential trade setups and execution.
   - **Logic**:
     - Trigger alerts when price enters an identified order block or FVG during a Kill Zone, signaling a potential trade setup.
     - Include options for pop-up alerts, push notifications to mobile devices, and email alerts.
     - Provide a visual display on the chart showing active order blocks, FVGs, Kill Zones, and entry points.

The final EA should be designed for flexibility, precision, and adaptability, allowing traders to apply ICT principles across various market conditions and instruments. The code should be well-documented with comments explaining each part of the logic to facilitate future updates and modifications.
Similar orders
Here are the paragraphs for the robot's settings to trade on various instruments: *US30 (Dow Jones)* - Symbol: US30 - Timeframe: H1 (1-hour chart) - Lot size: 0.1 - Take profit: 200 points - Stop loss: 150 points *Gold (XAUUSD)* - Symbol: XAUUSD - Timeframe: H4 (4-hour chart) - Lot size: 0.1 - Take profit: 1000 points - Stop loss: 800 points *Nas 100 (US Tech 100)* - Symbol: NQ100 - Timeframe: H1 (1-hour chart) - Lot
Hft live account 30 - 200 USD
i need a high frequency trading (hft) expert advisor, that can be used to trade on demo and live accounts icmarket and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send, to foster a faster transaction. like the ones that pass prop firm and demo but adjustment where it work on live with low latency
Lihle's trades 30+ USD
``` //+------------------------------------------------------------------+ //| Hello World Expert Advisor | //| | //| This is a basic EA that buys and sells based on a simple | //| moving average crossover strategy. | //+------------------------------------------------------------------+ #property version "0.01" #property strict input int FastMA
Indicator in use: Bollinger Bands Mechanism (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the lowest point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal; or if on Futures if the increment is .25 or .10 then this is used) 2. Enter sell ONLY on the next candle if price breaks
CPI ROBOKING 30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due
I'm looking for a quote from a developer who can compile this source code as DLL file so that it works on Forex Tester 5 They are all open source trading view indicators. Forextester 5 have advised that custom indicators in C++ or Delphi programme language are compatible with them
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions

Project information

Budget
30 - 150 USD
Deadline
to 30 day(s)

Customer

Placed orders1
Arbitrage count0