[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 501

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
In my answer look carefully at the code - it's listed there just after the end of Criterion {... return (0)}... in the external variables block:
and how to use it to obtain indicator values:
Pips should be tested at the weekend when the spread in the terminal does not change.
Hello. Can you please tell me how to limit the number of open positions at a price? We need only one position to be opened at a given price, irrespective of the total number of open orders.
We should go through the list of orders. If there is already an order open at this price, we should disable opening a new position. If the number of orders is higher or equal to the allowed number, we should disable opening of a new position.
We go through the list of orders. If there is already an order open at this price, we prohibit opening a new position. Or if there are more or equal orders, we will prohibit opening a new position.
How to open the list? What functions should we learn?
The weekend is so spread today that no pisuk will give you the results you want
Look up "Any spread, even negative".
How do I call up the list? What functions should I learn?
OrdersTotal
OrderSelect
OrderOpenPrice
OrdersTotal
OrderSelect
OrderOpenPrice
Thank you. I assumed as much.
Look for the topic "Any spread, even negative".
Unfortunately I couldn't find such a topic, but I saw that you've already sent me the second one there )
Please send me the link.
Thank you !
search for "Any spread, even negative"