Errors, bugs, questions - page 3124

 

Is this a mistake or is it meant to be?

double arr[3] = {1.0, 2.0, 3.0};

//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
{

   StringFormat("%*.f", 3, arr);

}
'arr' - invalid array access 
 
Finance: A non-financial issue

Open,Started: 2021.09.02 10:45,#3182963

Hello! Activated the ticket as the "New Application" button is not working.

Reason for the request: The description of the last 4 languages, Korean, Italian, French, Turkish is not saved in the signals.

 
Artyom Trishkin #:

DRAW_FILLING has two buffers for drawing

Correct. That's why this code has 4 buffers and 2 builds.

 
Alexey Viktorov #:

Right. That's why there are 4 buffers and 2 constructions in this code.

All buffers to be drawn must go in order:

0, 1, 2, 3

and after them, the calculation buffers:

4, 5.

The #property should be set to 1 and 2 for the two buffers to be drawn.

Buffers must not be mixed up.

 
Alexey Viktorov #:

Right. That's why there are 4 buffers and 2 constructions in this code.

#property indicator_color2  0,clrMagenta
Probably a crutch, but it works.
 
Artyom Trishkin #:

All buffers to be drawn must go in order:

0, 1, 2, 3

and after them the calculation buffers:

4, 5.

The #property must be set to 1 and 2 for the two buffers to be drawn.

Buffers must not be mixed up.

They became calculable after two days of torture. And it doesn't affect the construction in any way. After all, the top bars work without any problems...
 
x572intraday #:
Probably a crutch, but it works.

Probably not a crutch, but so far I have no explanation for what's going on. Thanks...

Probably depends on which buffer is higher in the build. Just change the + to -

         dnWidth[j] = low[arrMin]-_Point*10;

and it'll work too. But I needed to direct the thickness inside the bar.

 
Alexey Viktorov #:

Probably not a crutch, but so far I have no explanation for what's going on. Thanks...

Probably depends on which buffer is higher in the build. Just change the + to -

and it'll work too. But I needed to direct the thickness inside the bar.

As I understood the buffers are read from top to bottom and the first one can be drawn, and the first calculated one kills this possibility.That's why the bar always says to use the pattern. The sequence is correct there.
 
Alexey Viktorov #:

Probably not a crutch, but so far I have no explanation for what's going on. Thanks...

Probably depends on which buffer is higher in the build. Just change the + to -

and it'll work too. But I had to direct the thickness inside the bar.

God, these buffer indicators are so uncomfortable. It is horrible.
Everything is much easier with canvas drawing, less code, clearer, more universal and complete freedom of action.

 
Valeriy Yastremskiy #:
As I understand the buffers are read from top to bottom and the first one can be drawn, and the first calculated one kills this possibility. The order is correct there.

What the drummer says doesn't interest me in any way. Not much use...

Reason: