[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 400
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
Why are you teaching incorrect programming?
How do you know that this indicator's window descriptor == 1 ?
It's not my job to teach and tutor, but it's another thing to suggest it.
"Can you please tell me how to draw a vertical bar (histogram) from 0 to 4 (for example) in a sub-window (graphical object)?
And the subwindow number (but not the window descriptor, don't get confused) is sought from the name of the indicator, which is not there.
If you make a function call - can a hole be created in the history? Or, will all the missing bars that have not been present in the terminal up to this point in time be loaded sequentially?
You'd better solve this problem yourself. You can use the search line. For example, the search string "hole in the quotes history"
It is best to sort out the problem yourself. Use a search engine. For example, search string "hole in quotes history".
There is nothing to understand, it is written in documentation, but it is not mentioned, whether it is one requested value that will be updated or all missing bars at request time - will be updated too. So I am asking those who know about it, or is it a secret information?
Группа функций, предназначенных для доступа к ценовым данным любого доступного символа/периода. Если запрашивается информация с другого графика (название инструмента и/или значение таймфрейма отличаются от текущих), то возможна ситуация, что в клиентском терминале не открыт соответствующий график и необходимые данные должны быть запрошены у сервера. В этом случае в переменную last_error будет помещена ошибка ERR_HISTORY_WILL_UPDATED (4066 - запрошенные исторические данные в состоянии обновления) и необходимо через некоторое время повторить попытку запроса
We're out of buffers ))
Good afternoon! Thank you for your reply!
If I understand you correctly? ....
1. 1 is the subwindow number?
2.We will draw a stick with the properties of a trendline, for which 2 coordinates are given and xz is the price coordinate in the second pair.
3. Next, I am a bit confused.
OBJPROP_RAY - Gets/sets the ray property flag for objects like OBJ_TREND and the like, and 0 is why?
Why are you teaching incorrect programming?
How do you know that the window descriptor of this indicator == 1 ?
Good afternoon! Thank you for your reply, Artyom!
the descriptor is ?????? I haven't come across this concept or, more likely, just don't remember it.
What is there to understand, but it is not specified in the documentation that it is written about it, whether one requested value will be updated or all missed bars at the time of request will also be updated. That's why I ask those who have worked on this, or is it a secret information?
Write the code, and then we'll see if it's worth it... It is desirable to simplify it first...
I need to understand how flags work, their return value, override, etc.
Good afternoon! Thank you for your reply!
If I understand you correctly? ....
1. 1 is the subwindow number?
2.We will draw a stick with the properties of a trendline, for which 2 coordinates are given and xz is the price coordinate in the second pair.
3. Next, I am a bit confused.
OBJPROP_RAY - Gets/sets the ray property flag for objects like OBJ_TREND and the like, and 0 is why?
1 Yes, it is defined as
2 No, xz is the coordinate of the end of the stick (in this case 4 -4)(the vertical line has no start and no end).
3 Let's set trendline to show not as a ray but as a segment (in line properties, 0-deselect it, 1-check the "Ray" box)
R.S. You need to redraw 0 bar, therefore remove only 0
Good afternoon! Thank you for your reply, Artyom!
descriptor is ?????? I haven't come across this concept or, more likely, just haven't remembered it.