[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 582
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
is it possible to pass a negative profit parameter into it to control loss rather than profit?
Только вот вопрос:
а в неё можно передавать отрицательный параметр профита, чтобы контролировать не прибыль, а убыток?
в нее ничего нельзя передавать, она не имеет входящих. Если у ордера будет не профит, а убыток, она просто вернет отрицательное значение. (число убытка)
Or will it return exactly the amount of the loss, no matter what
Она вернёт -1 ?
Или она вернёт именно размер убытка, не важно в чём...
размер убытка в валюте депозита.
Good luck!
Мне необходимо при работе внутри канала, если открыта позиция и цена вышла за пределы канала вверх, либо вниз, при достижении определённого кол-ва пунктов убытка этой открытой позиции, тупо её перевернуть: была Sell, стала Buy и наоборот...
И вот ещё, напоследок и вдогонку:
У Игоря Кима есть библиотека функций b-Lots.mqh. Она используется в некоторых кодах, приведённых здесь на данном ресурсе. Мне всё время казалось, что я имею все библиотеки Игоря, ан-нет... именно её у меня наблюдается полнейшее отсутствие. И самое ужасное, что не могу её нигде найти. Даже поиск мне не помог и его личный сайт...
Если кто в курсе где это чудо неуловимости всё-таки уловить, буду весьма признателен... :)
I made this from Kim's functions... Checking for loss of the last Buy position and its reversal...
Как вы ищете, ума не приложу...
I kneel...
I've never been able to find anything quickly with a search...
It's like a spell for me.
From the realm of mysticism...
I respect people dedicated to the mysteries of this priesthood...
Thank you very much. Three days... Oh, man...