Can we have non-drawn buffers which are not shown in the color tab, but their value is shown in the data window?
- Hosein Rahnama: I am wondering if it is possible to have non-drawn buffers which are not shown in the color tab, but their value is shown in the data window.
Not possible. Buffers are always in the color tab. You can show them on the chart or not. You can show them in the Data Window or not.
-
SetIndexBuffer(0, upFractalArrow, INDICATOR_CALCULATIONS); SetIndexBuffer(2, upFractalValue, INDICATOR_DATA);
Not valid MQL4 code.
William Roeder:
-
Not possible. Buffers are always in the color tab. You can show them on the chart or not. You can show them in the Data Window or not.
- Not valid MQL4 code.
Thanks for your answer William. In the sample code, the two buffers upFractalValue and downFractalValue are neither in the color tab nor in the data window, so why do you say that buffers are always in the color tab? Is it possible to create a custom property window that enables such a possibility for us?
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
I am wondering if it is possible to have non-drawn buffers which are not shown in the color tab, but their value is shown in the data window. Below is a detailed description of the problem.
I have an indicator which has four buffers. Two of them are drawn on the chart, showing some arrows. Indeed, the value of these buffers are the position of the arrows. The other two buffers are the indicator data corresponding to the candles that the arrows are pointing at. I want the arrow buffers to be shown in the color tab but not in the data window. On the other hand, I want the data buffers to be shown in the data window but not in the color tab of indicator properties. The below code is a minimal working example, but it didn't provide the desired result. Here, the data buffers are not shown in the data window. If I add buffers 3 and 4 to the preprocessor part of the code, then they are shown in the data window, but they are also shown in the color tab which is irrelevant in this case.
I would be happy to hear any improving suggestion.