Download MetaTrader 5

Murrey Math Line - Line Drawing Problem

To add comments, please log in or register

Hello fellow traders,

I want to modify an existing Murrey Math Line indicator ( on how it drawth the lines.

Right now it draws the Line as a Horizontal line on the charts but I want to change it so the line will be only displayed from the current candle (start) to two candles into the future (end). 

See image:

I tried to do it myself and change the code myself but I can not make it as wanted.

I need help to change this. Could anybody show me how to do this?

kind regards,


Murrey Math Lines (Support and Resistance)
Murrey Math Lines (Support and Resistance)
  • votes: 10
  • 2008.11.20
  • FXIA
MM Lines are drawn where support and resistance is.
salexes: I tried to do it myself and change the code myself but I can not make it as wanted.
Help you with what? You haven't stated a problem. You have only four choices:
We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using SRC) and the nature of your problem. No free help
urgent help.
Keith Watford
Keith Watford  


please do not post multiple times. Post once in a relevant thread or open a topic with a relevant title. Does your enquiry have anything to do with Murray Math? Not really, it is how to modify a horizontal line.

You probably don't realise how selfish you are being by posting multiple times.

Have you any idea how frustrating it is when someone uses their free time to answer a query and then opens another thread and finds a duplicate query that has already been answered? That means that the time spent on answering was completely wasted! Time that could have been used to help somebody else.

You will need to draw a trendline instead of a horizontal line.

Use Time[0] for the first time co-ordinate and Time[0] + n * PeriodSeconds() for the 2nd

Note that you may need to check and modify at a new bar in case of missing bars 

Your duplicated posts have been deleted.

To add comments, please log in or register