Yalnızca ürünü satın alan veya kiralayan kullanıcılar yorum yazabilir
12
Konstantin Kulikov  

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.

zTerminator  
Hello, If "By_Magic" where to introduce the magic number? and if "By_Symbol" where to introduce the symbol?
Konstantin Kulikov  
zTerminator #:
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.

  • "Select_trades" - if "All", then consider all positions on the account simultaneously; if "by_Symbol", then consider positions for different symbols separately; if "by_Magic", then consider positions with different magic numbers separately; if "by_Magic_and_Symbol", then consider positions for different symbols and with different magic numbers separately (this is the same as using the "Close_trades_by_profit_percentage" parameter in my Expert Advisor).
Maik Kemper  
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€ ?
Konstantin Kulikov  
Maik Kemper #:
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.

Konstantin Kulikov  

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.

mambobambo  
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?
Konstantin Kulikov  
mambobambo #:
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)


Carlosdel123  

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, 

brzdz  
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 ?
Konstantin Kulikov  
brzdz #:
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.

brzdz  
Konstantin Kulikov #:

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 ??

Konstantin Kulikov  
brzdz #:

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.

Konstantin Kulikov  
mambobambo #:
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.

Igor Sharankov  
Константин, приветствую! Вопрос такой: возможно ли задать 2 символа в режиме "Select_trades"by_Symbol" или эксперт будет отрабатывать лишь символ того окна, на котором установлен? С уважением, Игорь.
Igor Sharankov  
Игорь Шаранков #:
Константин, приветствую! Вопрос такой: можно ли задать 2 символа в режиме " Select_trades " " by_Symbol " или советник будет отрабатывать только символ того окна, на котором он установлен? С уважением, Игорь.

Прочитав предыдущие каменты, понял, что в режиме  " by_Symbol " эксперт будет отрабатывать заданный профит или убыток по каждому из символов независимо и независимо от символа окна, на котором установлен. Я прав?

Konstantin Kulikov  
Igor Sharankov #:

Прочитав предыдущие каменты, понял, что в режиме  " by_Symbol " эксперт будет отрабатывать заданный профит или убыток по каждому из символов независимо и независимо от символа окна, на котором установлен. Я прав?

Да, верно.

В описании так же указана эта информация.

  • "Select_trades" - если "All", то рассматривать все позиции на счёте одновременно; если "by_Symbol", то рассматривать позиции по разным символам отдельно; если "by_Magic", то рассматривать позиции с разными магическими числами отдельно; если "by_Magic_and_Symbol", то рассматривать позиции по разным символам и с разными магическими числами отдельно (это аналогично, как если бы использовать параметр "Close_trades_by_profit_percentage" в каждом эксперте). И ещё одна модель учёта позиций "Select_trades = one_given_magic_and_chart_symbol". При выборе этой модели будут учитываться ТОЛЬКО позиции с магическим номером из параметра "One_given_magic_number" для символа чарта, к которому прикреплена утилита.
Igor Sharankov  
Konstantin Kulikov #:

Да, верно.

В описании так же указана эта информация.

  • "Select_trades" - если "All", то рассматривать все позиции на счёте одновременно; если "by_Symbol", то рассматривать позиции по разным символам отдельно; если "by_Magic", то рассматривать позиции с разными магическими числами отдельно; если "by_Magic_and_Symbol", то рассматривать позиции по разным символам и с разными магическими числами отдельно (это аналогично, как если бы использовать параметр "Close_trades_by_profit_percentage" в каждом эксперте). И ещё одна модель учёта позиций "Select_trades = one_given_magic_and_chart_symbol". При выборе этой модели будут учитываться ТОЛЬКО позиции с магическим номером из параметра "One_given_magic_number" для символа чарта, к которому прикреплена утилита.

Спасибо за развёрнутый ответ! Мой вопрос изначально был связан с возможностью закрытия арбитражной пары при сохранении торговли по другим стратегиям и символам, отличным от арбитражной пары.

Yalnızca ürünü satın alan veya kiralayan kullanıcılar yorum yazabilir
12