Question withdrawn. I apologise for littering the forum without reading the previous questions. It's been asked 500 times already. The answer is clear. And thank you tara for the answer.
- Place (for example - PLOT_ARROW) taking price values from a two-dimensional array.tmparray[][],
- Place (PLOT_ARROW) quantity>1 on one candle,
i.e. I can place one cross per candle (usingtmparray[]), i need more>1
//--- indicator buffers mappingSetIndexBuffer(0,tmparray);
//--- setting a code from the Wingdings charset as the property of PLOT_ARROWPlotIndexSetInteger(0,PLOT_ARROW,159);
ArrayResize(tmparray, CountMA+1);
//SetIndexBuffer(1,scBuf);
I didn't give an answer to your question at all. Not even an answer, but an observation. To give you advice you need to understand what you want to get. And I don't.
If it's an indicator, then two-dimensional arrays don't apply there. If it's a simple custom array, it cannot be used as an indicator buffer. In order to get 2 indicator values on one candlestick, you should have 2 buffers, each of them should have a value that differs from each other. Otherwise, one will be hidden under the second one.
- To mark with crosses, seals formed from the joined SMAs.
The result is that the crosses are scattered disordered and there is nothing.
Question:
It turns out that the error that causes the crosses to be placed in a way that does not correspond with the position of the SMA aggregate, is in the formation of the SMA array || ...?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello, Task: Through an indicator.
- Place (for example - PLOT_ARROW) taking price values from a two-dimensional array.tmparray[][],
- Place (PLOT_ARROW) quantity>1 on one candle,
i.e. I can place one cross per candle (usingtmparray[]), i need more>1
Hello, Task: Through an indicator.
- Place (for example - PLOT_ARROW) taking price values from a two-dimensional array.tmparray[][],
- Place (PLOT_ARROW) quantity>1 on one candle,
i.e. I can place one cross per candle (usingtmparray[]), i need more>1
Hello, Task: Through an indicator.
- Place (for example - PLOT_ARROW) taking price values from a two-dimensional array.tmparray[][],
- Place (PLOT_ARROW) quantity>1 on one candle,
i.e. I can place one cross per candle (usingtmparray[]), i need more>1
If eight crosses on each bar is enough, then no problem, otherwise go to MQL5.
And mql4 doesn't limit the number of buffers now either.
Yes and mql4 does not limit the number of buffers now.
Please tell me how to implement it!?
I didn't give an answer to your question at all. Not even an answer, but an observation. To give you advice you need to understand what you want to get. And I don't.
If it's an indicator, then two-dimensional arrays don't apply there. If it's a simple custom array, it cannot be used as an indicator buffer. In order to get 2 indicator values on one candlestick, you should have 2 buffers, each of them should have a value that differs from each other. Otherwise, one will be hidden under the second one.
I apologise in advance to the admins for trolling, a similar question is in a separate thread https://www.mql5.com/ru/forum/154928,!))
Objective:
- Create an array of 2,000 moving average values.
- To mark with crosses, seals formed from the joined SMAs.
The result is that the crosses are scattered disordered and there is nothing.
Question:
It turns out that the error that causes the crosses to be placed in a way that does not correspond with the position of the SMA aggregate, is in the formation of the SMA array || ...?