MisterH
MisterH
MisterH
Left feedback to developer for job Show repainting of 1 buffer of a custom indicator on past bars and on a live chart (mql4)
MisterH
Added topic Zigzag NRP on oscillator: counter since last "zig" error (not repainting)
Hi guys. This is a question for people familiar with the Zig-Zag indicator . It's pretty old, but has its use. Multiple changes were made to the standard indicator, turning it into a custom indicator (hereby attached called
MisterH
Added topic Array out of range
There is some explanation on this error  here and here . But still I can not figure it out.. So please check out this code on an indicator called RMO, "Rahul Mohindar Oscillator". Coded not by me, but a great coder on another forum.. But after
MisterH
Added topic Dynamic Range Bars
Hi, I did a bit of research this weekend on variations on constant range bars. Google it if you don't know what it is. There's a nice script from MQLservice to do this. It's a commercial script so I can't post it but there's a number of variations
MisterH
Added topic Inflection color
If you want to change the color of the buffer, not based on turning points like usual (when the slope changes from negative to positive the color changes from red to green & vice versa), but on inflection points: when the first derivative changes
MisterH
Added topic Fitting a parabola
If you want to fit a parabola (y=ax^2+bx+c) to e.g. the last 3 values of a buffer, you need to solve a system of 3 linear equations. In software like Matlab or R that is really easy to do, but how would you do it in mql4? I guess there is no function
MisterH
Added topic Weights of an EMA
So in mql4 you can use the function iMA or iMAOnArray if you want to create an exponential (MODE_EMA) or other type of moving average. Now an EMA is usually created by iteration :                    
MisterH
Added topic indicator that looks at its own turning points to decide its length?
 Hi, say you want to change the window length of your indicator to the number of bars since its last turning point, you would do that like this:      for ( int i= 0 ; i<limit; i++)    {    
MisterH
Added topic Angle in degrees
How do you measure the angle in degrees from the last bar's close to the close n bars ago? And no, the angle does not change if you zoom out, because zooming out does not mean changing the length of a unit, it only changes the perspective, it's like
MisterH
Added topic Horizontal vs. vertical distance
Hi, If you push F8 and go to the Common tab, you can check the box to Scale fix One to One. This means that your chart will no longer automatically scale to the best fit of your monitor, but simply show the movement in an objective way. Now, if you
MisterH
Left feedback to developer for job For forexmts