Техническое задание
I would like a MQL5 class / robot that takes care of the entry logic for ICT OTE Model. This logic will be used in existing EA. I need annotations as well as values returns that I can use. It should have selectable inputs for the MSS and BoS lines like:
sinput color BuyColor = clrDodgerBlue; //Buy Color
sinput color SellColor = clrCrimson; //Sell Color
Should have selectable Fib Levels. 50% and 62%
Should be able to hard select to enter on: Order Block, FVG, Fib Level, or Closest to FIb Level.
Should be able to go long or short, depending on the logic.
Risk Management, Order Size, Stop Loss Distance, Take Profit Distance are not required. Logic provided by existing code.
This code should provide access to the price levels and move through the mechanical logic. It should annotate the MSS, FVG and OBs as well as the selected fib level and price.
Concepts:
OTE: The OTE pattern is based on the idea that after a significant price move (an impulse leg), the market often retraces to a certain level before continuing in the original direction. This retracement typically occurs between the 62% and 79% Fibonacci levels of the impulse leg.
Market Structure Shift (MSS) / Break Of Structure (BoS): Identified by short-term highs or lows being taken out. (I have the MQL5 code that provides the logic that draws this on a chart already which can be used)
FVG: A three candle stick pattern which has a gap for the second candles body between the 1st candles high and the 3rd candles low (long), opposite for a short. The high and low of the 1st and third candle should not overlap.
Order Block: A bullish order block is identified as the lowest candle or price bar with a down close that has the most range between the open and close. Imagine a downtrend where the price hits a significant low and then a large down candle forms. If the price later trades above the high of this down candle, it validates the bullish order block. When the price returns to this level, it often finds support and moves higher again. A bearish example would be the opposite.
All of the above concepts should be annotated on the chart.
1. Key Level is Taken Out (EA Logic for this already Exists). This could be for a long or a short, in this case we will use a long example where price has dropped and taken out a key discount level, which then triggers our OTE entry class.The below logic needs to be programmed
2. Price retraces and break an old high to confirm the move. (MSS or BoS)
3. Price will form a new high, form this high to the previous low we take a fib and get the 50% or 62% level (Can be chosen)
4. We identify the OB and FVG that are below the level selected in 3.
5. We choose the closest level below the price level given by what is selected in point 3. For this example we are long so we would choose the high of the order block or the FVG H.
The entry will either be, the price selected by the fib in point 3, the high of the order block or the high of the FVG.
I would like to use this entry class in existing EAs.
Please let me know how long it would take and ignore the budget I have provided. Please advise how much you will charge to complete.