However, I needed to modify a bit the code in order to display the profits with their entire amount ( 2 numbers after comma).
The developper decided to not show the numbers after comma so I changed it. My expert trades only small sizes lot.
It works well for all the trades in the opening position list but it does not make correctly the addition at the top the list.
I don't understand why because the formula works perfectly for the lot sizes ( 2 numbers after comma are correctly added in the formula) but
not for the profits...
Any one has an idea why please ?
I put a screen-shot to understand clearly the matter and the code that I have modify.
Мой советник открывает очень много разнонаправленных ордеров и поэтому получается ситуация , когда ордера на продажу тупо не вмещается в окне графика . Это очень неудобно. Я пробовал убрать из кода отображения открытых сделок, но после моих ковыряний индикатор просто не отображается в окне ( слаб я пока вэтих делах =) )... Можно ли добавить изменяемый параметр для настройки количества отображаемых сделок, либо сделать так чтобы сделки вообще не отображались? За ранее спасибо!
Для авторизации и пользования сайтом MQL5.com необходимо разрешить использование файлов Сookie.
Пожалуйста, включите в вашем браузере данную настройку, иначе вы не сможете авторизоваться.
Вы вошли в аккаунт. Двухфакторная аутентификация отключена. Настройте её заново и отсканируйте новый QR-код или продолжите с отключённой двухфакторной аутентификацией.
Very useful indicator. Thanks a lot.
However, I needed to modify a bit the code in order to display the profits with their entire amount ( 2 numbers after comma).
The developper decided to not show the numbers after comma so I changed it. My expert trades only small sizes lot.
It works well for all the trades in the opening position list but it does not make correctly the addition at the top the list.
I don't understand why because the formula works perfectly for the lot sizes ( 2 numbers after comma are correctly added in the formula) but not for the profits...
Any one has an idea why please ?
I put a screen-shot to understand clearly the matter and the code that I have modify.
Hi Alexander,
Can you code Magic number option. Thank you.
Cheers.