[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 62
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
guys ... I searched the net... and couldn't find it ...
I need an idea how to make mql4 give me the price of a particular bar for a particular currency ... while on a different currency pair ...
help ... thanks in advance ...
There is a code:
Here PERIOD, as I understand it, will be searched starting from 1, but the upper limit is not specified. So, how can I specify that, for example, it will only search up to 20?double iClose( string symbol, int timeframe, int shift)
How to make it so that instead of "int timeframe" ... is the current period ...
How do you make the "int timeframe" ... is the current period ...
double iClose( string symbol, int timeframe, int shift)
How to make it so that instead of ""int timeframe" ... is the current period ...
Read to the end of the links you've been given (I repeat):
https://docs.mql4.com/ru/series/iopen
How about more complicated?
....
You already figured it out yourself)) The operators nested in the while loop end in parentheses, i.e. only the print operator works in the loop
Try it this way:
Hello!
Could you tell me how to convert int to string?
The main thing from string to int can be done, but they forgot to think of a way back.
Hello!
Could you tell me how to convert int to string?
The main thing from string to int can be done, but they forgot to think of a way back.
Good day!
"... but they forgot to make it back."
Of course, everything is always the WORLD'S FIRST fault - the PLANNERS!
Who did they make this for?
You've already figured it out yourself)) You have operators nested in the while loop ending with a parenthesis, i.e. only the print operator works in the loop
Try it this way:
a>0 will not work, because the a<0 condition inside the operator will NOT be fulfilled. And when"a" becomes below zero, the loop will be terminated at all and the action I need in the operator will not be executed...