[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 847

 
serjik77:

Excuse me, but if I may, one more question?

I'm beginning to understand something, but not everything.

The first function tells the program the number of open orders?

And please advise how to make only two pending orders,

independently of triggered.


No, the function gives the number of orders of the type requested. For example, if we need to know the number of OP_BUYSTOP pending orders, we write it that way.

int aaa= ChPos(OP_BUYSTOP) ; The second question is not very clear, therefore we don't want to answer on the possible wrong interpretation.

 

In addition to closed orders, the account history shows

What does it mean?

 
Abzasc:

In addition to closed orders, the account history shows

What does it mean?

Honestly, I don't know and can only guess: https://www.mql5.com/ru/forum/114040
 
Abzasc:

In addition to closed orders, the account history shows

What does it mean?


Isn't it an interest on spare cash?
 
artmedia70:
Honestly, I don't know and can only assume: https://www.mql5.com/ru/forum/114040

Thanks for the thought-provoking information
 
artmedia70:
Honestly, I don't know and can only guess: https://www.mql5.com/ru/forum/114040
Interesting topic, thank you. But I don't think so. 7% is neither here nor there.
abolk:

Isn't that an interest on free funds?

That's what it looks like, didn't think so. The account was started in August, on the 9th, it seems to add up. Thanks, I'll check it in October. If I don't leak it :)


I do not want to contact the docs, they will tell me that I was wrong, but at least the swaps are covered :)

 
Can you please tell me how can I run a robot in the strategy tester on a symbol that cannot be traded, although the quotes on it are available? I get some kind of error and MT is closing. When I do a trade robot with a symbol that I can trade, for example, GBPUSD, everything is normal and I don't get any error.
 
Hello forum users.

I am still just learning ... so for experienced programmers the question may seem silly ...))

I am writing myself an indicator, I need about 2000 bars from the history, such a loop:

for (int i=1; i<1900; i++)

it goes through 1000 bars only.

I try to set the Bars variable, but it says, that its value is equal to 1000, despite the fact, that I have drawn the chart and historical data till 2000.

Why is this happening, what is wrong????

Please advise!!!!
 
Levchik:

Hello forum members.


A word of advice, please!!!!

Why clone questions (both here and in a special thread) - you can still shout in columns
 
Levchik:

Trying to output the Bars variable, it writes that its value is 1000, although the graph and historical data have been pulled up to 2000.

Why is this happening, what's wrong????

Please advise!!!!
See terminal settings: Service-Settings-Charts-Max Bars in history.