Fixed bug auto close partial 3
+ Added Auto Close Partial 3, this feature makes it possible to partially close lots that are experiencing a loss.
Note : There are changes to the setfile, please download the new setfile on the blog and reload all the setfile
1. Delete Grid Mode Hedging Pro 5-9
2. Delete entry method : Start With Wave Z, Start With Reversal Z, Start With MA Cross
3. Added entry method : Trend Specialist
4. Added input parameter: Open Next Grid on Trend Direction, the next position is opened only when there is a signal.
5. Added input parameter : Use Stoploss & Takeprofit (in pips)
You can download the latest setfile at the very bottom of the blog: https://www.mql5.com/en/blogs/post/744338
+ Update code for 3 digits broker for Gold
+ Update code for show timer
Update code for Lock by Drawdown/money/pips
Update code for news filter
+ Added input font size, now the user can specify the size of the font used.
+ Added input news update period in seconds, now the user can specify the update news period, in seconds.
+ Delete Board Panel
Fix bug for news filter.
+ Added news filter, economic news calendar using the built in news calendar of MT5 terminal.
+ Added board panels
+ Added code to minimize requotes when open and close positions.
Update code for lock by drawdown/money/pips
+ Delete input select lock method and lot lock method
+ Delete xpart input
Fix bug for lock by drawdown/money/pips
+ Delete Lock Zero
+ Added lock feature:
1. Lock Type: Lock Minus, Lock Profit, and Lock All. Details are in the blog post.
2. Lot Lock : No Split Lot, Split Lot Lock into minimum lot broker, Slit Lot lock into xpart. Details are in the blog post.
Fix bug for additional information
1. Update code for Close Partial Buy/Sell.
Before: EA will only close partial first position loss
After : EA can close partial 1st and 2nd position loss if conditions allow
2. Added input: Open Next Grid only on a new bar
Please download the latest setfile on the blog post https://www.mql5.com/en/blogs/post/744338
Fix Bug for Lock By Loss in pips
+ Added MaxTrade Buy: Maximum allowed long positions
+ Added MaxTrade Sell: Maximun allowed sell position
+ Added Lock By Drawdown: The bot will lock the position when the Drawdown is reached.
+ Added Lock By Loss in Money: The bot will lock the position when the loss in money is reached.
+ Added Lock by Loss in pips; The bot will lock the position when the loss in pips is reached.
Lock will be distributed evenly by opening positions opposite the number of open positions that experienced a drawdown/loss in mone/loss in pips.
Example: 5 open positions buy a total of 5 lots, then the bot will open 5 open sell positions with a total of 5 lots in the initial stage.
Next stage the bot will continue to open hedge positions while doing partial closes.
The hedging position will only be opened once, if it has been partially closed, the bot will not reopen the position.
Please download the latest setfile on the blog for an example of using lock by loss in money
Update code for dashboard monitor margin
+ Added a dashboard to monitor the margin required to open the next position and the total available lots.
It is hoped that this information will make it easier for users to monitor the health of their accounts and be able to make the right decisions with accurate data.
Fix bug, drawdown not showing on monitor panel
Update cutloss by drawdown
+ Previously the drawdown calculation will calculate the drawdown of all open charts.
+ Latest update, drawdown is only calculated on the relevant chart.
+ Update code for pending orders, now the bot will open stop and limit pending orders if there are only buy or sell positions after the "Number of trade to start Pending Order" is reached.
Number of trade to start Pending Order = 5,
Buy position : 5
Sell position : 0
Then the bot will place a pending sellstop and sell limit.
Update code for trailing in percentages
+ Update code for open & close positions using prices in seconds: 0.20,40, and 59 deviations 3 seconds
+ update code for close partial in percentages
Added feature to synchronize orders when the server is disconnected
+ Update code for Grid Mode Hedging Pro 9
+ Delete Lock By Drawdown
+ Added server connection speed monitor to prevent using bad vps
Update code for Grid Mode : Hedging Pro 1
fix issue on checking free margin for locking lots
+ update code to comply with the latest compiler metaquotes
+ added entry mode: MA Cross
Update code for grid mode hedging pro 7&8
update code in determining the maximum lot lock
Added code limiting maximum lots per trade for lot locks.
added daily target feature, if the daily profit target is reached, the expert will be removed from the chart automatically.
Added Lock By Drawdown
There are 3 lock methods that can be used:
+ Lock Profit, ea will hedge the positions based on the number of profitable lots
+ Lock Minus, ea will hedge the position based on the number of losing lots
+ Lock All, a combination of lock Profit+Lock Minus
+ Added Hedging feature
I have analyzed the weakness of the Euro Hedge, if the price moves with high volatility, the bot will have problems running out of free margin to continuously take new positions.
And this usually happens in the UK and US sessions and every Friday at the close of the market.
Here is the update for Euro Hedge to address the issue:
1. add a trading day restriction, it only applies to the opening of a new cycle
2. add manage new cycle, so you can choose at certain hours not to open new cycle positions and only manage open positions.
+ Update close partial by percentage by adding option 1 & 2
+ Added close Partial 3: only Close partial last position profit
pdate code for spread monitoring
Update code for Grid Mode : Hedging Pro 1
Update code for virtual grid
Update code for recovery mode : 2,3,6
Update code for brokers that use 3 digits on Gold/XAUUSD
+ Continue New Cycle: If False, then the Expert Will Only Manage The Remaining Open Positions and Will Not Open New Positions When All Positions Have Been Closed.
Usefulness: If you want to change the strategy or do not want to trade the Pair.
+ Delete lock profit
Update code for Recovery Mode : Hedging Pro 3
Update code for auto close partial by percentage
Update code for Hedging Pro 4 & 7
Added lock profit
+ Update code for Hedging Pro 7
+ Added Hedging Pro 8 & 9
Update code for :
+ Close partial buy & sell
+ Close partial all