Moving Average by Horizontal Line (Hline)

 
Hello,
I am looking for a Horizontal line which do not display by the normal curved line, but instead, I only need it to show horizontal line level.

Is someone already have it or, can lead me to do it myself ?
Thanks.
 
Email Temporaire :
Hello,
I am looking for a Horizontal line which do not display by the normal curved line, but instead, I only need it to show horizontal line level.

Is someone already have it or, can lead me to do it myself ?
Thanks.

Can you draw your thought into a picture? Now it is completely unclear what it is about.

 

Exactly.

Moving averages are, by definition, curves because they are moving. Your post makes no sense.

 

Hi,
here is what I mean. (see picture)
only the last/current data by horizontal line.


Thank you very much for your help.

Files:
Capture.PNG  21 kb
 
Email Temporaire :

Hi,
here is what I mean. (see picture)
only the last/current data by horizontal line .


Thank you very much for your help.

Look: the indicator can display two horizontal lines at once (for two timeframes) - MA Horizontal Line Two TimeFrames

MA Horizontal Line Two TimeFrames


 
Vladimir Karputov:

Look: the indicator can display two horizontal lines at once (for two timeframes) - MA Horizontal Line Two TimeFrames


It seems that it's exactly what i am looking for.
It's in mql5, my project is in mql4. I will convert it, and post it for thoose who want to have it for mt4.
I just need more time than others because i am not yet very skilled in code.

Thank you very much.
regards. 
 
Email Temporaire:
It seems that it's exactly what i am looking for.
It's in mql5, my project is in mql4. I will convert it, and post it for thoose who want to have it for mt4.
I just need more time than others because i am not yet very skilled in code.

Thank you very much.
regards. 

I failed to convert the indicator (mql5 to mql4).
Too heavy for my actual knowledge. So I give up your great example

It seems that I can start with this example :

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

Thank you for your help and the inspiration you gave me.

Regards.

Displaying value of moving average on chart window
Displaying value of moving average on chart window
  • 2012.05.31
  • www.mql5.com
Hi I would like to modify the "Moving Averages.mq4" code given in the indicators folder...