Questions from Beginners MQL5 MT5 MetaTrader 5 - page 469

 
Victor Nikolaev:
The indicator does not put anything in the buffer on new bars. You need to update the chart for it to render correctly. I asked you to check what i equals. But it will be possible to do it tomorrow.
i starts at 994.
2015.11.01 21:26:32.044 2015.10.01 00:01  modify_Fractal EURUSD,H1: i from UP:  975  Current:  1.08769
2015.11.01 21:26:32.044 2015.10.01 00:01  modify_Fractal EURUSD,H1: i from LOW:  979  Current:  1.08477
2015.11.01 21:26:32.044 2015.10.01 00:01  modify_Fractal EURUSD,H1: i from UP:  994  Current:  1.09873
2015.11.01 21:26:32.044 2015.10.01 00:01  modify_Fractal EURUSD,H1: 1001
2015.11.01 21:26:32.038 2015.10.01 00:00  MoneyRobotics_Proboi! test started
   if(nCountedBars<=8) i=Bars-nCountedBars-4;
   if(nCountedBars>8)
     {
      nCountedBars--;
      i=Bars-nCountedBars-4;
     }
I think it gets it from the number of bars loaded.
 
Maxim Dobrovolskii:
i starts with 994
gets it from the number of bars loaded. i understand my indicator only twitches once.
Watch it tomorrow. When the ticks come. Although I can already tell that the next ones will be negative and the loop will not be executed anymore
 
Victor Nikolaev:
Watch it tomorrow. When the ticks come. Although I can already tell that the next ones will be negative and the loop will not be executed anymore.
I took the code from here: https://www.mql5.com/ru/code/viewcode/7982/57246/Fractals.mq4 it's Bill Williams' fractals. It works correctly on history, so I'll look into this tomorrow. Thank you all.
 

MT4.Could you please tell me where to find the"Inherit Scale" property of a custom indicator?
There is no "Scale" tab in the indicator tabs...
If there is no such property, what to do in such a situation

https://www.mql5.com/ru/forum/1111/page1442#comment_2012053

 
Is the MQL4 forum dead already?
 
Mike:
Is the MQL4 forum dead already?
They are.
 
Mike:

MT4.Could you please tell me where to find the"Inherit Scale" property of a custom indicator?
There is no "Scale" tab in the indicator tabs...
If there is no such property, what to do in such a situation

https://www.mql5.com/ru/forum/1111/page1442#comment_2012053

Frankly speaking, I do not understand the point of your question. Are you trying to combine different charts of different indicators? Why do you say that the lines are displayed differently? Have you tried to resize the indicator window with your mouse and see evenmore changes and differences of two different indicator windows?

And yes, there is no such feature in MT4

 
Alexey Viktorov:
Killing.
Turned into a big handbook. All questions are on this one.
 
Artyom Trishkin:

Honestly, I don't understand the point of the question. Are you trying to combine different charts of different indicators? Why do you say that lines are displayed differently? Have you tried to resize the indicator window with your mouse and see evenmore changes and differences between two different indicator windows?

And yes, there is no such feature in MT4

I made a 3MA(4,9,14) indicator and decided to compare it to a window with three indicators - MA(4), MA(9) and MA(14). My hair stood on end. :)
 
Mike:
I made a 3MA(4,9,14) indicator and decided to check it with a window where there are three indicators - MA(4), MA(9) and MA(14). My hair stood up on end. :)

Why is your hair frizzy? Maybe it's the wrong shampoo? ;)

What's wrong, anyway? Three buffers, each responsible for a different MA calculation period.

What's wrong there?

Reason: