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
All options are listed except closing. That's why I ask.
you have already been told.
"Closing a position" is just the result of a trade request, whose rules are the same.
I.e. take the "open" request and change the order type.
Fill the unnecessary mandatory fields with zeros.
Yedelkin:
sergeev:Для каждого вида торгового запроса предусмотрены обязательные поля. Они должны быть заполнены. "Открытие позиции" или "Закрытие позиции" - это всего лишь результат выполнения конкретного торгового запроса, правила заполнения которого - одни и те же. Т.е. берите свой работающий вариант запроса "на открытие" и меняйте тип ордера. Ненужные обязательные поля заполняйте нулями.
you have already been answered!
Thank you!
I have one more question: the request below is sent and a position is opened, but stop and profit is not set. I have already twisted them in different ways, but nothing helped. What is the problem, what am I doing wrong?
how do I add up the last 3 ZigZag values?
This way for some reason it hangs or something else happensRemember that trade requests "to open a position" have several options to fill? Some of these options involve sl/tp, others do not. In other words, what trading mode does your broker have?
Remember that trade requests "to open a position" have several options to fill? Some of these options involve sl/tp, others do not. In other words, what is your broker's trading mode?
Alpari broker. In the manual mode only a new order is placed in the exchange execution. There is no other option to enter from the market. I understand that this is an Exchange Execution request. Thank you, I have sorted it out. Can you tell me why the compiler processes the following code:
if(CopyBuffer(ema,0,0,3,emaVal)<0) return; // copy the new values of the indicator buffers into arrays
и
IndicatorRelease(ema);
A "possible loss of data due to type conversion" warning appears. I can't figure out what's wrong here, I can't fix it since yesterday evening.
if(CopyBuffer(ema,0,0,3,emaVal)<0) return; // copy new indicator buffer values into arrays
и
IndicatorRelease(ema);
A "possible loss of data due to type conversion" warning appears. I can't figure out what's wrong here, I haven't managed to fix it since yesterday evening.
What type of variable is ema?
Got it. See what type of variable should be used to store indicator handles, and match it.
how do you add up the last 3 ZigZag values?
This way for some reason it hangs or something else happensI'll give you my suggestion: