Close by percentage MT5
30 USD
Demo indirildi:
6
Yayınlandı:
8 Ağustos 2022
Mevcut sürüm:
1.8
Uygun bir robot bulamadınız mı?
Freelance üzerinden kendi
robotunuzu sipariş edin
Freelance'e git
Freelance üzerinden kendi
robotunuzu sipariş edin
Bir alım-satım robotu veya gösterge nasıl satın alınır?
Uzman Danışmanınızı
sanal sunucuda çalıştırın
sanal sunucuda çalıştırın
Satın almadan önce göstergeyi/alım-satım robotunu test edin
Mağazada kazanç sağlamak ister misiniz?
Satış için bir ürün nasıl sunulur?
Alım-satım fırsatlarını kaçırıyorsunuz:
- Ücretsiz alım-satım uygulamaları
- İşlem kopyalama için 8.000'den fazla sinyal
- Finansal piyasaları keşfetmek için ekonomik haberler
Kayıt
Giriş yap
Gizlilik ve Veri Koruma Politikasını ve MQL5.com Kullanım Şartlarını kabul edersiniz
Hesabınız yoksa, lütfen kaydolun

Analyzing my grid accounts with medium risk (initial lot 0.01 for every $300 of balance - https://www.mql5.com/en/signals/1295791) and conservative risk (initial lot 0.01 for every $450 of balance - https://www.mql5.com/en/signals/748852), you can see that a drawdown of more than 30% happens about once every two years.
Thus, insurance in the form of forced closing of all positions at a 30% drawdown looks reasonable and pays off within 2-3 months.
On more aggressive accounts (for example, the initial lot is 0.01 for every $150 of balance - https://www.mql5.com/en/signals/920482), I see the use of closing at drawdowns as ineffective, since large drawdowns can be frequent. From such accounts, you need to periodically withdraw profits (every few months) to accounts with medium and low risk.
Hello, If "By_Magic" where to introduce the magic number? and if "By_Symbol" where to introduce the symbol?
Hi,
There is no magic number parameter in this utility.
looks really interesting.
Can i use it for a Prop Challenge to close if i reached the profit target.
Lets say Close trades by Profit Money set to 1.000 and
select trades "all" = then alls trades will be closed wenn i reach 1.000 in open orders ?
when another EA opens new positions will your EA close them again or only when there are 1.000 again.
Same for Loss.
Balance 10.000€
maximum loss 500€
all trades will close when equity is 9.500€ ?
Hi Konstantin,
looks really interesting.
Can i use it for a Prop Challenge to close if i reached the profit target.
Lets say Close trades by Profit Money set to 1.000 and
select trades "all" = then alls trades will be closed wenn i reach 1.000 in open orders ?
when another EA opens new positions will your EA close them again or only when there are 1.000 again.
Same for Loss.
Balance 10.000€
maximum loss 500€
all trades will close when equity is 9.500€ ?
Hello!
" Lets say Close trades by Profit Money set to 1.000 and
select trades "all" = then alls trades will be closed wenn i reach 1.000 in open orders ? " - Yes.
" when another EA opens new positions will your EA close them again or only when there are 1.000 again. " - when there are 1.000 again (by equity).
"Same for Loss. Balance 10.000€ maximum loss 500€ all trades will close when equity is 9.500€ ?" - Yes.
Utility update
1) It became possible to delete pending orders when closing positions.
"Also_delete_pending_orders_at_profit" - delete pending orders when closing in profit.
"Also_delete_pending_orders_at_loss" - deleting pending orders when closing at a loss.
2) Another position accounting model "Select_trades = one_given_magic_and_chart_symbol" has appeared. When choosing this model, ONLY positions with a magic number from the "One_given_magic_number" parameter for the chart symbol to which the utility is attached will be taken into account.
Hello Konstantin, the CLOSE of your EA (either by Percentage or Money) are in respect to the Current dynamic Balance or to the Balance that was at the time of your Previous Close?
Hi, balance is used (not equity)
Hi Konstantin,
nice and simple product. Though as a suggestion it would be very helpful to include a field to close partly (%) the positions by a number.
Can you do that? Would be great.
Thanks,
My EA trades opens 4 major pairs both buy & sell at different entry points with fixed sl/tp
Scenario 1: my balance is 100 , i have set close by percentage of profit to 20% close by loss % is zero , 4 to 5 trades opened and my equity now is 120. so all trades will close now balance becoming 120 ?
Scenario 2: balance is 100. Suppose 4 to 5 trades opened, in which 2 trade hit stop loss now balance is 90.Now ur EA will calculate 20 profit % for old balance 100 or this 90 ?
What will happen when i deposit inbetween or withdraw inbetween like when investors do in PAMM account ?
Hi This is my doubt
My EA trades opens 4 major pairs both buy & sell at different entry points with fixed sl/tp
Scenario 1: my balance is 100 , i have set close by percentage of profit to 20% close by loss % is zero , 4 to 5 trades opened and my equity now is 120. so all trades will close now balance becoming 120 ?
Scenario 2: balance is 100. Suppose 4 to 5 trades opened, in which 2 trade hit stop loss now balance is 90.Now ur EA will calculate 20 profit % for old balance 100 or this 90 ?
What will happen when i deposit inbetween or withdraw inbetween like when investors do in PAMM account ?
Hello,
1) Yes. However, consider the "Select_trades" parameter.
2) 90. Since the utility analyzes the current equity and the current balance. That is, there will be a calculation based on the new balance, regardless of whether it is deposit /withdraw or TP/SL.
Hello,
1) Yes. However, consider the "Select_trades" parameter.
2) 90. Since the utility analyzes the current equity and the current balance. That is, there will be a calculation based on the new balance, regardless of whether it is deposit /withdraw or TP/SL.
1) select trades parameter should be set to all right ?
So i guess if i set close trades by profit money only then balance will be discarded for calculation only floating profit is calculated right ? which will be easier to set for PAMM accounts since there will be frequent deposits and withdrawals ?? Also it is irrespective of few trades hitting SL/TP ? Just manually calculate ur desired % of profit u need from balance and set it correct ??
1) select trades parameter should be set to all right ?
So i guess if i set close trades by profit money only then balance will be discarded for calculation only floating profit is calculated right ? which will be easier to set for PAMM accounts since there will be frequent deposits and withdrawals ?? Also it is irrespective of few trades hitting SL/TP ? Just manually calculate ur desired % of profit u need from balance and set it correct ??
Yes, you probably need to select "All" to take into account all positions at the same time.
Yes, floating profit or floating loss from the balance.
Hello Konstantin, the CLOSE of your EA (either by Percentage or Money) are in respect to the Current dynamic Balance or to the Balance that was at the time of your Previous Close?
Hi, I probably gave the wrong answer.
the utility analyzes the current equity and the current balance. See the example in comment #12.
Константин, приветствую! Вопрос такой: можно ли задать 2 символа в режиме " Select_trades " " by_Symbol " или советник будет отрабатывать только символ того окна, на котором он установлен? С уважением, Игорь.
Прочитав предыдущие каменты, понял, что в режиме " by_Symbol " эксперт будет отрабатывать заданный профит или убыток по каждому из символов независимо и независимо от символа окна, на котором установлен. Я прав?
Прочитав предыдущие каменты, понял, что в режиме " by_Symbol " эксперт будет отрабатывать заданный профит или убыток по каждому из символов независимо и независимо от символа окна, на котором установлен. Я прав?
Да, верно.
В описании так же указана эта информация.
Да, верно.
В описании так же указана эта информация.
Спасибо за развёрнутый ответ! Мой вопрос изначально был связан с возможностью закрытия арбитражной пары при сохранении торговли по другим стратегиям и символам, отличным от арбитражной пары.