[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 1002

 
Vinin:

I thought it was gonna fly by.
Victor! No way! :)) How can it be?
- is that vodka?

- Oh, really? I can't afford to pour vodka on a lady, can I? It's pure alcohol!

:)))))))))))))))))

 

Hello, can you please help to mirror the iVAR indicator in the same window.

What should be inserted there?

This is a mirror image formula: ibuffer[j] = 1+(Sx*Sy-(n+1)*Sxy)/(Sx*Sx-(n+1)*Sxx);

But we need something else. Indicator attached.

Files:
ivar.mq4  4 kb
 
irob:

Hello, please help to mirror the iVAR indicator in the same window.

What should be inserted there?

This is a mirror image formula: ibuffer[j] = 1+(Sx*Sy-(n+1)*Sxy)/(Sx*Sx-(n+1)*Sxx);

But we need something else. Indicator attached.

will that work?
Files:
003.mq4  4 kb
 
Techno:
would that work?


Now everything is in the same window, but they are too far apart so that they become almost straight.

This needs to be seen. Attached are screenshots.

iVAR together.gif - as you have done.

iVAR both.gif - as it should be, only these are in different windows. I.e. they should converge and diverge in one window.

If it is not difficult, maybe you can try to do it. The indicator is good, very much needed.

 
irob:



If it's not too much trouble, maybe you could try to make one. The indicator is good, very much needed.

They are distant because they are mirrored! And in the same window, which means scale problems, either change your first line calculation algorithms, or shift the reflection upwards, but in that case it will only be mirrored in appearance, not in value. Here with the shift
Files:
003_1.mq4  4 kb
 
Techno:
They're distant because they're mirrored! And in the same window, which means scale problems, either change your first line calculation algorithms, or shift the reflection up, but in that case it will only be mirrored in visibility, not in value. Here with the shift


That's much better, thank you very much.

So what you've redone is mirrored in appearance but not in meaning, am I right?

 
irob:


So what you've redone is mirrored in appearance but not in meaning, am I reading it right?

yes
 

Good morning ! Could you please tell me what's wrong ?

When calling this function

РасчётТЛвверх(ТЛвверх,a,O1C[A]);                                                      
TP[A]=ТЛвверх;

it gives an error "'O1C' - incompatible types".

Here is the function itself

 void РасчётТЛвверх(double& ТЛвверх, int a, double O1C[A])
        {
          double МА23 = iMA(NULL,0,23,0,MODE_EMA,PRICE_CLOSE,a),
                 
                 MМА23[23];
                 
                 MМА23[0]=МА23-417*Point;
                 MМА23[1]=МА23-261*Point;
                 MМА23[2]=МА23-163*Point;
                 MМА23[3]=МА23-102*Point;
                 MМА23[4]=МА23-64*Point;
                 MМА23[5]=МА23-40*Point;
                 MМА23[6]=МА23-25*Point;
                 MМА23[7]=МА23-16*Point;
                 MМА23[8]=МА23-10*Point;
                 MМА23[9]=МА23-7*Point;
                 MМА23[10]=МА23-4*Point;
                 MМА23[11]=МА23;
                 MМА23[12]=МА23+4*Point;
                 MМА23[13]=МА23+7*Point;
                 MМА23[14]=МА23+10*Point;
                 MМА23[15]=МА23+16*Point;
                 MМА23[16]=МА23+25*Point;
                 MМА23[17]=МА23+40*Point;
                 MМА23[18]=МА23+64*Point;
                 MМА23[19]=МА23+102*Point;
                 MМА23[20]=МА23+163*Point;
                 MМА23[21]=МА23+261*Point;
                 MМА23[22]=МА23+417*Point;
  
          for(int i=0;i<=22;i++)
            {
              if(NormalizeDouble(O1C[A]+4*Point,Digits)<=NormalizeDouble(MМА23[i],Digits))
                {
                  ТЛвверх=MМА23[i];
                  
                 Alert("ТЛвверх в функции =  ",ТЛвверх,", i = ",i);
                 
                  break;
                      
                }
            }
        }
//--------------------------------------------------------------------

In the global variables TLvup is set. Can't find what's wrong ?

 
Can anyone tell me what the code of the object |, vertical stick .... I can't find it :o(
 
NEKSUS_:
Can anyone tell me what the code of the object |, vertical stick.... I can't find it :o(
124 It's right here https://docs.mql4.com/ru/constants/wingdings