Maximum overkill Close-All script

0
(0)
The aim of this script is to attenuate danger in all conditions, particularly when the shit hits the fan. This script offers the perfect and the quickest potential danger mitigation out there through MT4 by using some distinctive logic not present in another close-all scripts.

Operation Abstract:

  1. Internet positions are calculated per image (sum of all open trades).
  2. Symbols are prioritized to handle net-positions from bigger (extra danger) to smaller.
  3. Hedge orders are despatched within the order of precedence to shut all publicity directly whatever the variety of trades.
  4. As soon as all open-expo is hedged this system prioritizes pending orders
  5. Pending orders are deleted so as of highest danger of being executed
  6. Remaining hedged positions (closed by hedge) are then reconciled on the dealer server and there aren't any prices/unfold/commissions charged on the hedge (it's actually handled like a closed place)

Be aware: This solely works on non-FIFO hedging brokers. I've additionally included a unique script that closes orders on FIFO brokers (slowww in comparison with hedging brokers).
You might also just like the Hedge Commerce Panel

Connected File
File Type: mq4 CloseZilla 1.20.mq4   42 KB | 30 downloads
Connected Information
File Type: mq4 FIFO_CloseAll_Options.mq4   3 KB | 116 downloads
File Type: mq4 HedgeAccountCloseAll.mq4   7 KB | 132 downloads

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.