Lavoro terminato
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specifiche
Hi!
I would like an EA based on Order Blocks. EA should detect break of structure (BO) and find and draw the order block previous to that BO. Expert should have different entry options and risk management.
Entries for buy (exact oposite for sell):
Option1: Entry when price pulls back after BO and hits the upper band off the last order block.
Option2: Entry when price pulls back after BO and hits the middle off the last order block.
Option3: Open 2 positions, one at the upper band off OB and another one in the middle band of OB.
Time filter: Open positions only between specific hours.
Filter Options for entries:
Filter1: Entry the second time that that price hits the Order Block: True or False
Filter2: Entry when upper band of order block is lower than at least X% off the retreacement of last impulse: True or False
Option: X% of the retreacement when filter2 is set to true (ej: 50%, 68.2% )
Filter3: Avoid entries when order block range is bigger than X pips:
Option: X pips when FIlter3 is set to true.
Filter4: Allow multiple positions or only one: (0 for only one or n of max positions)
Risk Management:
Stop Loss: X pips above/below the upper or bottom band of order block.
Take profit:
Option1: x times the risk
Option2: last high/low
Breakeven: Move stop loss to BE when profit is 1x risk: True or False
CloseHalf: Close half of the position when profit 1x risk: True or False
CloseOB: Close all the positions when price hits another upper/lower order block.
Order size: Fixed Lot or risk % of account balance.
The EA should be able to work on forex, indexes, stocks, metals and crypto.
I want a clean and clear code in order to modify it by myself if necessary. The code can not be created with code wizards.
Negotiable price.
Thank you.