Elite indicators :) - page 202

Mladen Rakic
151719
Mladen Rakic  

yuhu

Here it is

regards

Mladen

yuhu:
Hello Mladen.

Could you do a histogram version of this too, please?

I tried adding SetIndexStyle(0,DRAW_HISTOGRAM)

but it doesnt work right.

Thank you in advance
yuhu
89
yuhu  

Thank you very much

yuhu
89
yuhu  
mladen:
Been reading some stuff on Big Mike's Ninja trader forum and found this idea : making a zero lag from a Hull moving average (original idea came from spikoloco as far as I know). It tends to overshoot a bit but I thought it is worth having it
A pleasant weekend to all

regards

Mladen

Hello Mladen,

I wanted this zero lag HMA to be histogram, and added the SetIndexStyle(1,DRAW_HISTOGRAM);

it seems to work fine on the surface.

Can you confirm if this method is acceptable, and working properly (no repaint, etc)?

Thank you!

Mladen Rakic
151719
Mladen Rakic  

yuhu,

It is not enough and if you use it directly on a non-repainting code it is going to repaint if you draw it as histogram. I know that it sound funny, but drawing non repainting lines is a whole different story from drawing a histogram (line needs 2 known points to be defined and histogram needs only one known value - the extra point that is needed to draw lines is going to cause repainting in histogram version)

Here is a histogram version. The line version actually needed to be simplified to become a histogram version (there is no interpolation in histogram version either - no need to interpolate anything since the values can only be none or 1) so the overall code is much simpler than the code needed to draw non repainting multi color line indicator
regards

Mladen

yuhu:
Hello Mladen,

I wanted this zero lag HMA to be histogram, and added the SetIndexStyle(1,DRAW_HISTOGRAM);

it seems to work fine on the surface.

Can you confirm if this method is acceptable, and working properly (no repaint, etc)?

Thank you!
casaliss
109
casaliss  

Hi mladen

Hi mladen

Please

add zero line cross

and

arrows on current chart.

Thanks

Manu
81
Manu  

Shi chanel

mladen,

Shi Channel lags when I put it on a H4 graph. Is it possible to make it less lag ?

For example as to include it to an EA so that when uptrend or downtrend holds still trade in the same way??

sorry for my bad english...

thanks

Files:
yuhu
89
yuhu  

Thank you Mladen!

Have a nice evening.

Fudomyo
89
Fudomyo  

Fibonacci Zone Pivots

hi mladen,

Is making this indicator MTF difficult to do?

thanks,

Fudo

https://www.mql5.com/en/forum/general

Mladen Rakic
151719
Mladen Rakic  

Tradefx1

You could use the BarsForFract parameter but then you have to know exactly what numbers is the indicator using internally. Instead made a small modification. Added the SpeedModifier parameter. If you set it to less than 1, it will be "faster" if you set it to greater than 1 it will be "slower", with 1 it is the same as before (here is an example : green is the default, blue is with speed 0.5 and read is with speed 2)

PS: made some other little changes in order to make it possible to place multiple indicators with different 'speeds" on the same chart

regards

Mladen

Tradefx1:
mladen,

Shi Channel lags when I put it on a H4 graph. Is it possible to make it less lag ?

For example as to include it to an EA so that when uptrend or downtrend holds still trade in the same way??

sorry for my bad english...

thanks
Manu
81
Manu  

Shi_channel

That's just perfect !

Many thanks

Files: