is there a way to automatically close all trades when a cumulative open profit/loss threshold gets breached?
Yes, it is possible.
![Trading applications for MetaTrader 5 to order Trading applications for MetaTrader 5 to order](https://c.mql5.com/36/37/trading-applications-for-metatrader__3.png)
Trading applications for MetaTrader 5 to order
- www.mql5.com
1. The idea of the trading system is as follows : Market entries are performed when a candle closes within a certain distance of the SMA. The aim is to capture small bounces off of the SMA with the TP. 2. Trading signals; Please find attached print screen Buy signal: 1) bar opens at least ( variable ) pips above SMA 2) Bar closes within...
there are plenty free scripts here
https://www.mql5.com/en/search#!keyword=close%20all
good luck
Thanks, i've made an order
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Ok so I'm completely new to the MT world, and know absolutely nothing about coding. I've always just been a chart it out on tradingview kinda guy. But I have this different technique for Taking profit/loss I really want to try, and it would require some automation to do it. My question is, if I have, say, 9 trades open, and I have a take profit value in mind that i want to reach, say $1500. Is there a way, if my portfolio of open trades reaches $1500 combined, across all my open trades, to have that event automatically trigger liquidation of all my open trades? Basically, instead of having a target in mind for each individual trade, I want to try setting a general profit target/loss limit, that once its reached, i quit while i'm ahead/cut my losses, so to speak. If such a thing isn't already out there, i'd be willing to pay for someone to develop it for me (seems like it should be fairly simple, compared to some of the stuff i see described, but as i said before, i'm completely out of my depth here). Thanks in advance!
-Erik