[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 389
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
Good afternoon. Why is there a MODE_MARGINREQUIRED parameter among MarketInfo's request identifiers to determine the amount of free funds needed to open 1 lot for buying, but there is no parameter for determining the amount of free funds needed to open 1 lot for selling? And how to determine how much free funds are needed to open 1 lot to sell in one or another brokerage company?
P.S. In order not to clutter up the forum, thank you in advance for the answer.
Good afternoon. Why is there a MODE_MARGINREQUIRED parameter among MarketInfo's request identifiers to determine the amount of free funds needed to open 1 lot for buying, but there is no parameter for determining the amount of free funds needed to open 1 lot for selling? And how to determine how much free funds are needed to open 1 lot to sell in one or another brokerage company?
P.S. In order not to clutter up the forum, thank you in advance for the answer.
Can you tell me if it's possible to put EAs into folders instead of storing them all in one folder...\experts?
And that they also work from these folders.
I have 20 versions of one EA and 20 of another, and it's impossible to cope with a full set of files.
Good afternoon.
The search didn't help.
Maybe someone has seen a similar script.
The point: the script specifies: symbol, buy/sell, volume
there should be 5-7 such fields.
for simultaneous opening on several symbols, the volume of which is not equal to 0.
thank you.
Sincerely.
I have a problem and I have no idea how it can be solved, I will try to explain.
So, in the code I posted, there are 2 functions
In void PrepareTicketsToClose(int signal, bool Revers, int & ticketsClose[][2], double & lots[],double arrayTickets[][9]) we have to put a condition that will decide if we should leave or close the order...
I tried to put conditions but nothing works....
Can someone look and show if there is an error in these functions or i messed up....
Good afternoon.
The search didn't help.
Maybe someone has seen a similar script.
The point: the script specifies: symbol, buy/sell, volume
there should be 5-7 such fields.
for simultaneous opening on several symbols, the volume of which is not equal to 0.
thank you.
Sincerely.
That's a hell of a wording. What the questioner is asking...
Good afternoon. I have a question for you.... Entry by stochastic (5,14,3) exit also by stochastic but with another period (5,3,3). I dont understand how i can use stochastic for the exit, but not the return signal.
I have a problem and I have no idea how it can be solved, I will try to explain.
In the code, that I have laid out, there are 2 functions
In void PrepareTicketsToClose(int signal, bool Revers, int & ticketsClose[][2], double & lots[],double arrayTickets[][9]) we have to put a condition that will decide if we should leave or close the order...
I tried to put conditions but nothing works....
May someone look and show if there is mistake in these functions or i screwed up....
Maybe it will be helpful. I did not look at your code.
Kim's functions.
Good afternoon. I have a question for you.... I'm entering by stochastic (5,14,3) and exiting by stochastic only with another period (5,3,3). I dont understand how i can use stochastic for the exit, but not the return signal?
Imho, I would not create an array of tickets to close, but in the market order enumeration loop check each order by feeding its ticket to the closing function input with a check of possible conditions.
Can bid be 0 at any point?