SteveHopwood » Sun Nov 25, 2018 11:44 pm wrote:V 2f is in post 1, with an idea I had yesterday. From the updated user guide's, "Trade exit strategies" section:
- Margin level closure: this is for the basketeers and gridateers – I probably just invented two new words. Each new trade reduces our margin level percentage. The logical outcome of this is a margin call if the positions continue to move against us. “Shirt protection” is designed to keep us from ultimate disaster and I have described it later in this pdf. Margin level closure is intended to close every trade on the platform at a preset small profit once our margin level reaches an uncomfortable level. Bear in mind that this feature is indiscriminate and will close all trades regardless of their origin.
- UseMarginLevelClosure: turns this feature on/off.
- CloseBelowMarginLevel: the level you select as the time to bail on all your trades. Most brokers have a margin call at 100% to 125%. The default of 300% represents the level at which I would be decidedly twitchy – I do not like mine to drop below 1,000%.
- AcceptableProfitCash: the cash profit to lock in when closing /deleting all trades. A zero value turns this off, so enter 0.01 as the nearest equivalent to zero. A negative figure represents an acceptable loss.
- AcceptableProfitPips: the pips profit to lock in when closing /deleting all trades. A zero value turns this off, so enter 1 as the nearest equivalent to zero. A negative figure represents an acceptable loss.
No idea whether this will prove helpful or not. We shall see.

Steve, TDesk Trading Partner EA v2f experiencing zero divide error, Could not launch it but it can compiled. See error log:
Compiling 'TDesk Trading Partner EA'
0 18:43:58.687 TDesk Trading Partner EA XAUUSD,H1: uninit reason 2
0 18:43:58.692 Expert TDesk Trading Partner EA XAUUSD,H1: removed
0 18:43:58.729 Expert TDesk Trading Partner EA XAUUSD,H1: loaded successfully
0 18:43:58.869 TDesk Trading Partner EA XAUUSD,H1: SecureSetTimer, attempt=1, error=0
1 18:43:58.869 TDesk Trading Partner EA XAUUSD,H1: zero divide in 'TDesk Trading Partner EA.mq4' (2567,50)
3 18:43:58.870 TDesk Trading Partner EA XAUUSD,H1: not initialized
0 18:43:58.870 TDesk Trading Partner EA XAUUSD,H1: uninit reason 8
0 18:43:58.875 Expert TDesk Trading Partner EA XAUUSD,H1: removed
Whether anybody experiencing this error or not!
taipan..